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:
authorStefan Giehl <stefan@matomo.org>2019-04-12 00:03:03 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-04-12 00:03:03 +0300
commit49766472e7d3c658ceae76d8f0f58f7403a2f0f7 (patch)
treeea184e8c4598b2faa1afb8809b7a076f12396e69 /plugins/MobileMessaging
parent5ed09086f99b6656cc3227ded3c146b05046577e (diff)
Avoid browser tooltips for piwik fields (#13931)
by using data-title attribute instead of title
Diffstat (limited to 'plugins/MobileMessaging')
-rw-r--r--plugins/MobileMessaging/templates/credentials.twig2
-rw-r--r--plugins/MobileMessaging/templates/index.twig8
-rw-r--r--plugins/MobileMessaging/templates/macros.twig4
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/MobileMessaging/templates/credentials.twig b/plugins/MobileMessaging/templates/credentials.twig
index bb089e46ca..f03a91c5b5 100644
--- a/plugins/MobileMessaging/templates/credentials.twig
+++ b/plugins/MobileMessaging/templates/credentials.twig
@@ -1,7 +1,7 @@
{% for field in credentialfields %}
<div piwik-field uicontrol="{{ field.type }}" name="{{ field.name }}"
ng-model="credentials.{{ field.name }}"
- title="{{ field.title|translate|e('html_attr') }}"
+ data-title="{{ field.title|translate|e('html_attr') }}"
value="">
</div>
{% endfor %} \ No newline at end of file
diff --git a/plugins/MobileMessaging/templates/index.twig b/plugins/MobileMessaging/templates/index.twig
index 0eadeee0a2..35025235a4 100644
--- a/plugins/MobileMessaging/templates/index.twig
+++ b/plugins/MobileMessaging/templates/index.twig
@@ -13,7 +13,7 @@
options="{{ delegateManagementOptions|json_encode }}"
full-width="true"
ng-model="delegateManagement.enabled"
- title="{{ 'MobileMessaging_Settings_LetUsersManageAPICredential'|translate|e('html_attr') }}"
+ data-title="{{ 'MobileMessaging_Settings_LetUsersManageAPICredential'|translate|e('html_attr') }}"
value="{% if delegatedManagement %}1{% else %}0{% endif %}">
</div>
<div piwik-save-button onconfirm="delegateManagement.save()" saving="delegateManagement.isLoading"></div>
@@ -60,7 +60,7 @@
value="{{ defaultCallingCode }}"
ng-model="managePhoneNumber.countryCallingCode"
full-width="true"
- title="{{ 'MobileMessaging_Settings_SelectCountry'|translate|e('html_attr') }}"
+ data-title="{{ 'MobileMessaging_Settings_SelectCountry'|translate|e('html_attr') }}"
options='{{ countries|json_encode }}'>
</div>
</div>
@@ -78,7 +78,7 @@
full-width="true"
ng-model="managePhoneNumber.countryCallingCode"
maxlength="4"
- title="{{ 'MobileMessaging_Settings_CountryCode'|translate }}">
+ data-title="{{ 'MobileMessaging_Settings_CountryCode'|translate }}">
</div>
</div>
<div class="phoneNumber left">
@@ -87,7 +87,7 @@
ng-change="managePhoneNumber.validateNewPhoneNumberFormat()"
full-width="true"
maxlength="80"
- title="{{ 'MobileMessaging_Settings_PhoneNumber'|translate }}">
+ data-title="{{ 'MobileMessaging_Settings_PhoneNumber'|translate }}">
</div>
</div>
<div class="addNumber left valign-wrapper">
diff --git a/plugins/MobileMessaging/templates/macros.twig b/plugins/MobileMessaging/templates/macros.twig
index 6bb5a49d5e..4d40ba46b7 100644
--- a/plugins/MobileMessaging/templates/macros.twig
+++ b/plugins/MobileMessaging/templates/macros.twig
@@ -26,7 +26,7 @@
options="{{ smsProviderOptions|json_encode }}"
ng-model="manageProvider.smsProvider"
ng-change="manageProvider.isUpdateAccountPossible()"
- title="{{ 'MobileMessaging_Settings_SMSProvider'|translate|e('html_attr') }}"
+ data-title="{{ 'MobileMessaging_Settings_SMSProvider'|translate|e('html_attr') }}"
value="{{ provider }}">
</div>
@@ -75,7 +75,7 @@
{% if withIntroduction %}
introduction="{{ 'ScheduledReports_SendReportTo'|translate|e('html_attr') }}"
{% endif %}
- title="{{ 'MobileMessaging_PhoneNumbers'|translate|e('html_attr') }}"
+ data-title="{{ 'MobileMessaging_PhoneNumbers'|translate|e('html_attr') }}"
{% if phoneNumbers|length == 0 %}disabled="true"{% endif %}
options="{{ phoneNumbers|json_encode }}"
inline-help="#mobilePhoneNumbersHelp"