diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-01-09 11:20:59 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-01-09 11:20:59 +0400 |
commit | 34c3be0c4faf673bfa2ace98d24636ed7e9523a6 (patch) | |
tree | 90592fad927baaf8402081212750a554d97cce4e /plugins/CorePluginsAdmin/templates/macros.twig | |
parent | 906f7cc5836205b6cbf10aa63e64baacf2231cff (diff) |
When plugin admin is disabled, also disable theme admin
Diffstat (limited to 'plugins/CorePluginsAdmin/templates/macros.twig')
-rw-r--r-- | plugins/CorePluginsAdmin/templates/macros.twig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CorePluginsAdmin/templates/macros.twig b/plugins/CorePluginsAdmin/templates/macros.twig index 71f10d4609..3a8c105498 100644 --- a/plugins/CorePluginsAdmin/templates/macros.twig +++ b/plugins/CorePluginsAdmin/templates/macros.twig @@ -124,7 +124,7 @@ <th>{% if isTheme %}{{ 'CorePluginsAdmin_Theme'|translate }}{% else %}{{ 'General_Plugin'|translate }}{% endif %}</th> <th>{{ 'General_Description'|translate }}</th> <th class="status">{{ 'CorePluginsAdmin_Status'|translate }}</th> - {% if (displayAdminLinks or isTheme) %} + {% if (displayAdminLinks) %} <th class="action-links">{{ 'General_Action'|translate }}</th> {% endif %} </tr> @@ -188,7 +188,7 @@ {%- endif %} </td> - {% if displayAdminLinks or isTheme %} + {% if displayAdminLinks %} <td class="togl action-links" {% if isZeitgeist %}style="border-left-width:0px;"{% endif %}> {% if not isZeitgeist -%} |