diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-09-15 01:40:15 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-09-15 01:40:15 +0300 |
commit | 56839f05410c38777380d4e42b4046a55cf2b098 (patch) | |
tree | 137656158c610846b389e294894e186d3cb3b426 /plugins/DBStats | |
parent | c4ea1d8565383156baec7bc4575f022afbbc9d55 (diff) |
Set HTML <title> values in all user menu and admin menu pages
Having proper HTML titles increase usability and is important
eg. one can more easily find the right tag in the list of browser tabs
Diffstat (limited to 'plugins/DBStats')
-rwxr-xr-x | plugins/DBStats/templates/index.twig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/DBStats/templates/index.twig b/plugins/DBStats/templates/index.twig index 89e4195188..a28a2a3944 100755 --- a/plugins/DBStats/templates/index.twig +++ b/plugins/DBStats/templates/index.twig @@ -1,8 +1,10 @@ {% extends 'admin.twig' %} +{% set title %}{{ 'DBStats_DatabaseUsage'|translate }}{% endset %} + {% block content %} -<h2 id="databaseUsageSummary">{{ 'DBStats_DatabaseUsage'|translate }}</h2> +<h2 id="databaseUsageSummary">{{ title }}</h2> <p> {{ 'DBStats_MainDescription'|translate(totalSpaceUsed) }}<br/> {{ 'DBStats_LearnMore'|translate("<a href='?module=Proxy&action=redirect&url=http://piwik.org/docs/setup-auto-archiving/' target='_blank'>Piwik Auto Archiving</a>")|raw }} |