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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-05-29 18:12:09 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-06-02 12:20:55 +0300
commit2fee3f7e9006c19d5f54213e94513a9e88804563 (patch)
tree5d82f8be273dc94287047baf8ba97ed6f017c646 /plugins/PrivacyManager/templates
parent276def1c45b6e2d53f6854bf48cfeac1bc8b3552 (diff)
#7960 Applied the new form design to the "do not track" form
Diffstat (limited to 'plugins/PrivacyManager/templates')
-rw-r--r--plugins/PrivacyManager/templates/privacySettings.twig58
1 files changed, 30 insertions, 28 deletions
diff --git a/plugins/PrivacyManager/templates/privacySettings.twig b/plugins/PrivacyManager/templates/privacySettings.twig
index 6ac1eeb8bc..e8482a5832 100644
--- a/plugins/PrivacyManager/templates/privacySettings.twig
+++ b/plugins/PrivacyManager/templates/privacySettings.twig
@@ -281,34 +281,36 @@
{% endif %}
<h2 id="DNT">{{ 'PrivacyManager_DoNotTrack_SupportDNTPreference'|translate }}</h2>
- <table class="adminTable" style='width:800px;'>
- <tr>
- <td width="650">
- <p>
- {% if dntSupport %}
- {% set action='deactivateDoNotTrack' %}
- {% set nonce=deactivateNonce %}
- <strong>{{ 'PrivacyManager_DoNotTrack_Enabled'|translate }}</strong>
- <br/>
- {{ 'PrivacyManager_DoNotTrack_EnabledMoreInfo'|translate }}
- {% else %}
- {% set action='activateDoNotTrack' %}
- {% set nonce=activateNonce %}
- {{ 'PrivacyManager_DoNotTrack_Disabled'|translate }} {{ 'PrivacyManager_DoNotTrack_DisabledMoreInfo'|translate }}
- {% endif %}
- </p>
- <span style="margin-left:20px;">
- <a href='{{ {'module':'PrivacyManager','nonce':nonce,'action':action} | urlRewriteWithParameters }}#DNT'>&rsaquo;
- {% if dntSupport %}{{ 'PrivacyManager_DoNotTrack_Disable'|translate }} {{ 'General_NotRecommended'|translate }}
- {% else %}{{ 'PrivacyManager_DoNotTrack_Enable'|translate }} {{ 'General_Recommended'|translate }}{% endif %}
- <br/>
- </a></span>
- </td>
- <td width="200">
- {{ piwik.inlineHelp('PrivacyManager_DoNotTrack_Description'|translate) }}
- </td>
- </tr>
- </table>
+ <p>
+ {% if dntSupport %}
+ {% set action='deactivateDoNotTrack' %}
+ {% set nonce=deactivateNonce %}
+ <strong>{{ 'PrivacyManager_DoNotTrack_Enabled'|translate }}</strong>
+ <br/>
+ {{ 'PrivacyManager_DoNotTrack_EnabledMoreInfo'|translate }}
+ {% else %}
+ {% set action='activateDoNotTrack' %}
+ {% set nonce=activateNonce %}
+ {{ 'PrivacyManager_DoNotTrack_Disabled'|translate }} {{ 'PrivacyManager_DoNotTrack_DisabledMoreInfo'|translate }}
+ {% endif %}
+ </p>
+ <div class="form-group">
+ <div class="form-help">
+ {{ 'PrivacyManager_DoNotTrack_Description'|translate }}
+ </div>
+ <a class="btn" href='{{ {'module':'PrivacyManager','nonce':nonce,'action':action} | urlRewriteWithParameters }}#DNT'>
+ {% if dntSupport %}
+ {{ 'PrivacyManager_DoNotTrack_Disable'|translate }}
+ {% else %}
+ {{ 'PrivacyManager_DoNotTrack_Enable'|translate }}
+ {% endif %}
+ </a>
+ {% if dntSupport %}
+ {{ 'General_NotRecommended'|translate }}
+ {% else %}
+ {{ 'General_Recommended'|translate }}
+ {% endif %}
+ </div>
{% endif %}
<h2 id="optOutAnchor">{{ 'CoreAdminHome_OptOutForYourVisitors'|translate }}</h2>