{% 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 docsUrl = 'http://craftcms.com/docs/plugins/introduction' %} {% set info = craft.app.plugins.getAllPluginInfo() %} {% block content %} {% if info|length %} {% for handle, config in info %} {% endfor %}
{{ "Plugin"|t('app') }} {{ "Developer"|t('app') }} {{ "Documentation"|t('app') }} {{ "Status"|t('app') }}
{{ craft.app.plugins.getPluginIconSvg(handle)|raw }}
{{ config.name }} {{ config.version }}
{% if config.description %}
{{ config.description }}
{% endif %}
{{ config.developer }} {% if config.documentationUrl %} {{ "View Documentation"|t('app') }} {% else %} {% endif %} {% if config.isInstalled %}
{{ csrfInput() }} {% if config.isEnabled %} {{ "Enabled"|t('app') }}  {% else %} {{ "Disabled"|t('app') }}  {% endif %}
{% else %} {{ "Not installed"|t('app') }} {% endif %}
{% if config.hasSettings %} {% endif %}
{{ csrfInput() }} {% if config.isInstalled %}
{{ 'Uninstall'|t('app') }}
{% else %}
{{ 'Install'|t('app') }}
{% endif %}
{% else %}

{{ "There are no available plugins."|t('app') }} {% endif %} {% endblock %}