Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2015-09-15 01:40:15 +0300
committermattab <matthieu.aubry@gmail.com>2015-09-15 01:40:15 +0300
commit56839f05410c38777380d4e42b4046a55cf2b098 (patch)
tree137656158c610846b389e294894e186d3cb3b426 /plugins/PrivacyManager/templates
parentc4ea1d8565383156baec7bc4575f022afbbc9d55 (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/PrivacyManager/templates')
-rw-r--r--plugins/PrivacyManager/templates/privacySettings.twig4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/PrivacyManager/templates/privacySettings.twig b/plugins/PrivacyManager/templates/privacySettings.twig
index 332b772b83..98f6f58efb 100644
--- a/plugins/PrivacyManager/templates/privacySettings.twig
+++ b/plugins/PrivacyManager/templates/privacySettings.twig
@@ -1,10 +1,12 @@
{% extends 'admin.twig' %}
+{% set title %}{{ 'PrivacyManager_TeaserHeadline'|translate }}{% endset %}
+
{% block content %}
{% import 'macros.twig' as piwik %}
{% if isSuperUser %}
<h2 piwik-enriched-headline
- help-url="http://piwik.org/docs/privacy/">{{ 'PrivacyManager_TeaserHeadline'|translate }}</h2>
+ help-url="http://piwik.org/docs/privacy/">{{ title }}</h2>
<p>{{ 'PrivacyManager_Teaser'|translate('<a href="#anonymizeIPAnchor">',"</a>",'<a href="#deleteLogsAnchor">',"</a>",'<a href="#optOutAnchor">',"</a>")|raw }}
{{'PrivacyManager_SeeAlsoOurOfficialGuidePrivacy'|translate('<a href="http://piwik.org/privacy/" rel="noreferrer" target="_blank">','</a>')|raw }}</p>