{% extends 'base.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% import "plugin/actions.html.twig" as actions %} {% import "macros/datatables.html.twig" as tables %} {% block page_title %}{{ 'plugins.title'|trans({}, 'plugins') }}{% endblock %} {% block page_subtitle %}{{ 'plugins.subtitle'|trans({}, 'plugins') }}{% endblock %} {% block page_actions %}{{ actions.plugins('index') }}{% endblock %} {% block main %} {% if plugins|length == 0 %} {{ widgets.callout('warning', 'plugin.none_installed'|trans({}, 'plugins')) }} {% else %} {% set columns = { 'name': {'class': 'alwaysVisible'}, 'version': {'class': ' w-min'}, 'description': {'class': 'hidden-xs'}, 'required_version': {'class': 'hidden-xs hidden-sm w-min'}, 'actions': {'class': 'actions alwaysVisible'}, } %} {% set tableName = 'plugins' %} {{ tables.datatable_header(tableName, columns, null, {}) }} {% for plugin in plugins %}