{% extends 'administration/base.html.twig' %} {% block title %}{{ 'admin.plugins'|trans }}{% endblock %} {% block body %} {% set canPluginsView = has_permission('ALLOW_PLUGINS_VIEW', app.user) %} {% set canPluginsInstall = has_permission('ALLOW_PLUGINS_INSTALL', app.user) %} {% set canPluginsEdit = has_permission('ALLOW_PLUGINS_EDIT', app.user) %} {% set canPluginsDelete = has_permission('ALLOW_PLUGINS_DELETE', app.user) %}
{{ 'admin.manage_plugins_description'|trans }}
| {{ 'admin.plugins'|trans }} | {{ 'admin.version'|trans }} | {{ 'admin.author'|trans }} | {{ 'admin.status'|trans }} | {{ 'admin.actions'|trans }} | |
|---|---|---|---|---|---|
| {% if status.icon %} {% else %} {% endif %} |
{{ status.label|trans }}
{{ status.description|trans }}
|
{{ status.version|trans }} | {{ status.author|trans }} | {{ status.installed ? 'admin.installed'|trans : 'admin.not_installed'|trans }} {{ status.active ? 'admin.active'|trans : 'admin.inactive'|trans }} |
{% if canPluginsView %}
{{ 'admin.details'|trans }}
{% endif %}
{% if canPluginsEdit and status.configuration and status.installed %}
{{ 'admin.configure'|trans }}
{% endif %}
{% if status.index_url %}
{{ 'admin.open'|trans }}
{% endif %}
{% if canPluginsInstall and not status.installed %}
{% else %}
{% if canPluginsEdit and not status.active %}
{% elseif canPluginsEdit and status.active %}
{% endif %}
{% if canPluginsDelete %}
{% endif %}
{% endif %}
|
|
{{ 'admin.no_plugins_found'|trans }}
|
|||||