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/UserCountry | |
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/UserCountry')
-rwxr-xr-x | plugins/UserCountry/templates/adminIndex.twig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/UserCountry/templates/adminIndex.twig b/plugins/UserCountry/templates/adminIndex.twig index fed5874b53..c9b41dca97 100755 --- a/plugins/UserCountry/templates/adminIndex.twig +++ b/plugins/UserCountry/templates/adminIndex.twig @@ -1,11 +1,13 @@ {% extends 'admin.twig' %} +{% set title %}{{ 'UserCountry_Geolocation'|translate }}{% endset %} + {% block content %} {% import 'macros.twig' as piwik %} <h2 piwik-enriched-headline help-url="http://piwik.org/docs/geo-locate/" - id="location-providers">{{ 'UserCountry_Geolocation'|translate }}</h2> + id="location-providers">{{ title }}</h2> <div style="width:900px;"> |