1{% extends 'admin.twig' %}
2
3{% import '@CorePluginsAdmin/macros.twig' as plugins %}
4
5{% set title %}{{ 'CorePluginsAdmin_ThemesManagement'|translate }}{% endset %}
6
7{% block content %}
8
9<div piwik-content-intro>
10    <h2 piwik-enriched-headline>
11        {{ title|e('html_attr') }}
12    </h2>
13
14    <p>
15        {{ 'CorePluginsAdmin_ThemesDescription'|translate }}
16
17        {% if isMarketplaceEnabled %}
18            {{ 'CorePluginsAdmin_TeaserExtendPiwikByTheme'|translate('<a href="' ~ linkTo({'module': 'Marketplace','action':'overview', 'sort': '', 'show': 'themes'}) ~ '">', '</a>')|raw }}
19        {% endif %}
20
21        {% if otherUsersCount > 0 %}
22            <br/> {{ 'CorePluginsAdmin_InfoThemeIsUsedByOtherUsersAsWell'|translate(otherUsersCount, themeEnabled) }}
23        {% endif %}
24        {% if not isPluginsAdminEnabled %}
25            <br/>{{ 'CorePluginsAdmin_DoMoreContactPiwikAdmins'|translate }}
26        {% endif %}
27
28    </p>
29</div>
30
31<div piwik-content-block content-title="{{ 'CorePluginsAdmin_InstalledThemes'|translate|e('html_attr') }}"
32     piwik-plugin-management>
33
34    <p>
35    </p>
36
37    {{ plugins.pluginsFilter() }}
38
39    {{ plugins.tablePlugins(pluginsInfo, pluginNamesHavingSettings, activateNonce, deactivateNonce, uninstallNonce, true, marketplacePluginNames, isPluginsAdminEnabled ) }}
40</div>
41{% endblock %}
42