diff options
Diffstat (limited to 'plugins/CorePluginsAdmin/templates/themes.twig')
-rw-r--r-- | plugins/CorePluginsAdmin/templates/themes.twig | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/plugins/CorePluginsAdmin/templates/themes.twig b/plugins/CorePluginsAdmin/templates/themes.twig index 4f226956b7..d898c3c799 100644 --- a/plugins/CorePluginsAdmin/templates/themes.twig +++ b/plugins/CorePluginsAdmin/templates/themes.twig @@ -5,23 +5,37 @@ {% set title %}{{ 'CorePluginsAdmin_ThemesManagement'|translate }}{% endset %} {% block content %} -<div style="max-width:980px;"> - <h2 piwik-enriched-headline>{{ title }}</h2> +<div piwik-content-intro> + <h2 piwik-enriched-headline> + {{ title|e('html_attr') }} + </h2> - <p>{{ 'CorePluginsAdmin_ThemesDescription'|translate }} - {% if otherUsersCount > 0 %} - <br/> {{ 'CorePluginsAdmin_InfoThemeIsUsedByOtherUsersAsWell'|translate(otherUsersCount, themeEnabled) }} - {% endif %} - {% if not isPluginsAdminEnabled %} - <br/>{{ 'CorePluginsAdmin_DoMoreContactPiwikAdmins'|translate }} - {% endif %} + <p> + {{ 'CorePluginsAdmin_ThemesDescription'|translate }} + + {% if isMarketplaceEnabled %} + {{ 'CorePluginsAdmin_TeaserExtendPiwikByTheme'|translate('<a href="' ~ linkTo({'action':'browseThemes', 'sort': ''}) ~ '">', '</a>')|raw }} + {% endif %} + + {% if otherUsersCount > 0 %} + <br/> {{ 'CorePluginsAdmin_InfoThemeIsUsedByOtherUsersAsWell'|translate(otherUsersCount, themeEnabled) }} + {% endif %} + {% if not isPluginsAdminEnabled %} + <br/>{{ 'CorePluginsAdmin_DoMoreContactPiwikAdmins'|translate }} + {% endif %} </p> +</div> - {{ plugins.pluginsFilter(true, isMarketplaceEnabled) }} +<div piwik-content-block content-title="{{ 'CorePluginsAdmin_InstalledThemes'|translate|e('html_attr') }}" + piwik-plugin-management> - {{ plugins.tablePlugins(pluginsInfo, pluginNamesHavingSettings, activateNonce, deactivateNonce, uninstallNonce, true, marketplacePluginNames, isPluginsAdminEnabled ) }} + <p> + </p> + + {{ plugins.pluginsFilter() }} + {{ plugins.tablePlugins(pluginsInfo, pluginNamesHavingSettings, activateNonce, deactivateNonce, uninstallNonce, true, marketplacePluginNames, isPluginsAdminEnabled ) }} </div> {% endblock %} |