Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAT updates - part 4 #9

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/js/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@
"Visitoractivity": "Visitor activity",
"moreDetailedAnalysis" : "If you would like a more detailed analysis for this web page, reach out to your <a target='_blank' href='https://www.gcpedia.gc.ca/wiki/Institutional_Representatives_for_Analytics'>institutional representatives for analytics</a> (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!",
Expand Down
4 changes: 3 additions & 1 deletion assets/js/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a target='_blank' href='https://www.gcpedia.gc.ca/wiki/Institutional_Representatives_for_Analytics?setlang=fr&uselang=fr'>représentants institutionnels en analytique Web</a> (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."
}
10 changes: 10 additions & 0 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,10 @@ <h3><span data-i18n="Whatusersclickedon"></span>&nbsp;
<span class="wb-inv" data-i18n="hlp-users-click-title"></span>
</sup>
</h3>
<section class="alert alert-info">
<h4 data-i18n="alert-am-removed-title"></h4>
<p data-i18n="alert-am-removed-text"></p>
</section>
<div id="np" class="table-responsive"></div>
</div>

Expand Down
Loading