From 1bdf629d76f501bebc8373b6219c1665305398dc Mon Sep 17 00:00:00 2001 From: kolekrstev <65304466+kolekrstev@users.noreply.github.com> Date: Tue, 13 Feb 2024 08:01:10 +0000 Subject: [PATCH] PAT updates - part 4 --- assets/js/i18n/en.json | 2 ++ assets/js/i18n/fr.json | 4 +++- assets/style.css | 10 ++++++++++ index.html | 4 ++++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/assets/js/i18n/en.json b/assets/js/i18n/en.json index a0c163b3..4d03047e 100755 --- a/assets/js/i18n/en.json +++ b/assets/js/i18n/en.json @@ -188,6 +188,8 @@ "Visitoractivity": "Visitor activity", "moreDetailedAnalysis" : "If you would like a more detailed analysis for this web page, reach out to your institutional representatives for analytics (accessible only on the Government of Canada network).", "Close": "Close", + "alert-am-removed-title": "\"What visitors clicked on\" data temporarily removed", + "alert-am-removed-text": "We have temporarily removed this data as it is not always an accurate depiction of clicks. We are working on an alternative solution and will update the Page Analytics Tool as soon as a solution is found.", "quote0": "What did the janitor say when he jumped out of the closet? Supplies!", "quote1": "Why did Hans Solo not enjoy his steak dinner? It was Chewie!", diff --git a/assets/js/i18n/fr.json b/assets/js/i18n/fr.json index 12f54b28..52bdca8a 100755 --- a/assets/js/i18n/fr.json +++ b/assets/js/i18n/fr.json @@ -188,5 +188,7 @@ "Visitoractivity": "Activité des visiteurs", "Didyouknow": "Le savais-tu?", "moreDetailedAnalysis": "Si vous désirez une analyse plus détaillée de cette page Web, veuillez contacter vos représentants institutionnels en analytique Web (accessible uniquement sur le réseau du gouvernement du Canada).", - "Close": "Fermer" + "Close": "Fermer", + "alert-am-removed-title": "Retrait temporaire des données « Clics des visiteurs »", + "alert-am-removed-text": "Nous avons temporairement retiré ces données, car elles ne fournissent pas toujours une représentation exacte des clics. Nous travaillons sur une solution alternative et nous mettrons à jour l'outil d'analyse de page dès qu'une solution sera trouvée." } diff --git a/assets/style.css b/assets/style.css index 4c316fc6..f28da2d4 100644 --- a/assets/style.css +++ b/assets/style.css @@ -152,3 +152,13 @@ button.black:hover { #moreDetailedAnalysis { padding-top: 30px; } + +/* Hide 'What visitor clicked on' table */ + +/* a[href^="#visitor-activity"] + ul, +a[href^="#activité-de-visiteur"] + ul, */ +#np +{ + display:none; +} + diff --git a/index.html b/index.html index 888c9eca..9ce94453 100755 --- a/index.html +++ b/index.html @@ -592,6 +592,10 @@