diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index a61dc42aa1..c337f428c5 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -183,8 +183,12 @@ {% block tabs_panel %}
{% include 'prod/tab_headers.html.twig' %} -
- {% set workzone_plugins = app['plugin.workzone'] %} + {% set workzone_plugins = app['plugin.workzone'] %} + {% set workzone_plugins_class = 'single-plugin' %} + {% if workzone_plugins.keys()|length > 1 %} + {% set workzone_plugins_class = 'multiple-plugin' %} + {% endif %} +
{% for plugin in workzone_plugins.keys() %} {% include workzone_plugins[plugin].getWorkzoneTemplate() with {'app': app, 'plugin_id': plugin} only %} {% endfor %}