{% requireAdmin %} {% extends "_layouts/cp" %} {% set title = "Plugins"|t('app') %} {% do view.registerAssetBundle("craft\\web\\assets\\plugins\\PluginsAsset") %} {% set crumbs = [ { label: "Settings"|t('app'), url: url('settings') } ] %} {% set info = craft.app.plugins.getAllPluginInfo() %} {% block content %} {% if info|length %}
{{ "Plugin"|t('app') }} | {{ "Settings"|t('app') }} | {{ "Developer"|t('app') }} | {{ "Documentation"|t('app') }} | {{ "Status"|t('app') }} | {% for handle, config in info %} |
---|---|---|---|---|---|
{{ svg(craft.app.plugins.getPluginIconSvg(handle)) }}
{{ config.name }}
{{ config.version }}
{% if config.description %}
{{ config.description }}
{% endif %}
|
{% if config.hasCpSettings %} {{ "Settings"|t('app') }} {% else %} — {% endif %} | {{ config.developer }} | {% if config.documentationUrl %} {{ "Documentation"|t('app') }} {% else %} — {% endif %} | {% if config.isEnabled %} {{ "Enabled"|t('app') }} {% elseif config.isInstalled %} {{ "Disabled"|t('app') }} {% else %} {{ "Not installed"|t('app') }} {% endif %} |
{{ "There are no available plugins."|t('app') }} {% endif %} {% endblock %}