diff options
author | Matthieu Aubry <matt@piwik.org> | 2015-09-15 03:15:13 +0300 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2015-09-15 03:15:13 +0300 |
commit | ee4ec4d5d168986a8093b988517247c28ba74c0a (patch) | |
tree | 3adc873219b80762745deb75a2268d7c8cae8a85 /plugins/MobileMessaging | |
parent | 4aefc9135fb20839ab47eb15f92ec4ee874321d1 (diff) | |
parent | b5600905d710ccb77192dd1b855aa2a44fde9ba4 (diff) |
Merge pull request #8788 from piwik/nice_titles_in_admin_screens
Set HTML <title> values in all user menu and admin menu pages
Diffstat (limited to 'plugins/MobileMessaging')
-rw-r--r-- | plugins/MobileMessaging/templates/index.twig | 4 | ||||
-rw-r--r-- | plugins/MobileMessaging/templates/userSettings.twig | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/plugins/MobileMessaging/templates/index.twig b/plugins/MobileMessaging/templates/index.twig index b0b74c7f35..5a405a462e 100644 --- a/plugins/MobileMessaging/templates/index.twig +++ b/plugins/MobileMessaging/templates/index.twig @@ -2,10 +2,12 @@ {% import '@MobileMessaging/macros.twig' as macro %} +{% set title %}{{ 'MobileMessaging_SettingsMenu'|translate }}{% endset %} + {% block content %} {% if isSuperUser %} - <h2>{{ 'General_Settings'|translate }}</h2> + <h2>{{ title }}</h2> <div class="form-group"> <label>{{ 'MobileMessaging_Settings_LetUsersManageAPICredential'|translate }}</label> diff --git a/plugins/MobileMessaging/templates/userSettings.twig b/plugins/MobileMessaging/templates/userSettings.twig index e552551b3a..c4a4417a77 100644 --- a/plugins/MobileMessaging/templates/userSettings.twig +++ b/plugins/MobileMessaging/templates/userSettings.twig @@ -1,5 +1,7 @@ {% extends 'user.twig' %} +{% set title %}{{ 'MobileMessaging_Settings_SMSProvider'|translate }}{% endset %} + {% block content %} {% import 'ajaxMacros.twig' as ajax %} @@ -11,8 +13,7 @@ {% import '@MobileMessaging/macros.twig' as macro %} {% if accountManagedByCurrentUser and delegatedManagement %} - <h2 piwik-enriched-headline - >{{ 'MobileMessaging_Settings_SMSProvider'|translate }}</h2> + <h2 piwik-enriched-headline>{{ title }}</h2> {{ macro.manageSmsApi(credentialSupplied, creditLeft, smsProviders, provider) }} {% endif %} |