From b0f8e9aa5324d7f6e2c92d8097de2b897b0acfe3 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Wed, 8 Jul 2020 06:50:32 +1200 Subject: Link to tracking consent guide to not have duplicate content (#16188) * Link to tracking consent guide to not have duplicate content * fix test --- .../PrivacyManager/templates/askingForConsent.twig | 84 +--------------------- 1 file changed, 1 insertion(+), 83 deletions(-) (limited to 'plugins/PrivacyManager/templates') diff --git a/plugins/PrivacyManager/templates/askingForConsent.twig b/plugins/PrivacyManager/templates/askingForConsent.twig index ae446c621d..064f863db7 100644 --- a/plugins/PrivacyManager/templates/askingForConsent.twig +++ b/plugins/PrivacyManager/templates/askingForConsent.twig @@ -20,89 +20,7 @@
-

- {{ 'PrivacyManager_AskForConsentFollowSteps'|translate }} -

- -

{{ 'PrivacyManager_AskForConsentStep1'|translate }}

-

- {{ 'PrivacyManager_AskForConsentStep1Desc1'|translate }} -

-
// require user consent before processing data
-_paq.push(['requireConsent']);
-_paq.push(['trackPageview']);
-[...]
-

- {{ 'PrivacyManager_AskForConsentStep1Desc2'|translate('', '')|raw }} -

-

{{ 'PrivacyManager_AskForConsentStep2'|translate }}

-

- {{ 'PrivacyManager_AskForConsentStep2Desc'|translate('', '')|raw }} -

-

{{ 'PrivacyManager_AskForConsentStep3'|translate }}

-

- {{ 'PrivacyManager_AskForConsentStep3Desc'|translate }} -

- {{ 'PrivacyManager_AskForConsentStep3DescA'|translate }} -
- {{ 'PrivacyManager_AskForConsentStep3DescADesc1'|translate }} -

-
_paq.push(['rememberConsentGiven'])
-

- {{ 'PrivacyManager_AskForConsentStep3DescADesc2'|translate("_paq.push(['rememberConsentGiven'])", "_paq.push(['setConsentGiven'])")|raw }} -

- {{ 'PrivacyManager_AskForConsentStepNotes'|translate }} -

-
    -
  1. {{ 'PrivacyManager_AskForConsentStep3DescANote1'|translate }} -
    _paq.push(['rememberConsentGiven', optionallyExpireConsentInHours]).
  2. -
  3. {{ 'PrivacyManager_AskForConsentStep3DescANote2'|translate }}
  4. -
  5. {{ 'PrivacyManager_AskForConsentStep3DescANote3'|translate }}
  6. -
-

-
-
- {{ 'PrivacyManager_AskForConsentStep3DescB'|translate }} -
- {{ 'PrivacyManager_AskForConsentStep3DescBDesc1'|translate }} +

{{ 'PrivacyManager_HowDoIAskForConsentIntroduction'|translate('', '')|raw }}

-
// require user consent before processing data
-_paq.push(['requireConsent']);
-_paq.push([‘trackPageview']);
-[...]
-
-// user has given consent to process their data
-_paq.push(['setConsentGiven']);
-

- {{ 'PrivacyManager_AskForConsentStep3DescBDesc2'|translate("_paq.push(['requireConsent'])")|raw }} -
-
- {{ 'PrivacyManager_AskForConsentStepNotes'|translate }} -

-
    -
  1. {{ 'PrivacyManager_AskForConsentStep3DescBNote1'|translate("_paq.push(['setConsentGiven'])")|raw }}
  2. -
  3. {{ 'PrivacyManager_AskForConsentStep3DescBNote2'|translate("_paq.push(['requireConsent'])")|raw }}
  4. -
- -

{{ 'PrivacyManager_AskForConsentStep4'|translate }}

-

- {{ 'PrivacyManager_AskForConsentStep4Desc'|translate }} -

- {{ 'PrivacyManager_AskForConsentStep4DescA'|translate }} -
- {{ 'PrivacyManager_AskForConsentStep4DescADesc'|translate }} -

-
 _paq.push(['forgetConsentGiven']);
-

- {{ 'PrivacyManager_AskForConsentStep4DescADesc2'|translate }} -
-
- {{ 'PrivacyManager_AskForConsentStep4DescB'|translate }}
- {{ 'PrivacyManager_AskForConsentStep4DescBDesc'|translate }} -
-

-
// do not call this once user has removed their consent
-_paq.push(['setConsentGiven']);
-
{% endblock %} -- cgit v1.2.3