Skip to content

Commit

Permalink
Fixing broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmad-shahid committed Jan 31, 2025
1 parent 046d47b commit 5062f13
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
5 changes: 4 additions & 1 deletion TestLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ const exceptionCDTSSyntaxLinks = ["https://www.canada.ca/etc/designs/canada/cdts
"https://www.canada.ca/fr/services/entreprises/subventions.html", //TODO: Temporary skipping this link until it is fixed on Canada.ca. To be removed in the future.
"https://www.canada.ca/fr/services/entreprises/societes-de-regime-federal.html", //TODO: Temporary skipping this link until it is fixed on Canada.ca. To be removed in the future.
"https://www.canada.ca/fr/services/entreprises/faillites.html", //TODO: Temporary skipping this link until it is fixed on Canada.ca. To be removed in the future.
"https://can01.safelinks.protection.outlook.com",]; //skipping this commented out link in certain external files
"https://can01.safelinks.protection.outlook.com", //skipping this commented out link in certain external files
"https://www.canada.ca/en/treasury-board-secretariat/site/proudly-serving.html", //skipping this link because it is a broken link that has been commented out in certain external files
"https://www.canada.ca/fr/secretariat-conseil-tresor/site/fiers-servir.html", //skipping this link because it is a broken link that has been commented out in certain external files
"https://search.ebscohost.com/Community.aspx?custid=hrdcl&groupid=main&authtype=ip&stsug=AjwyRg8WGx2ikCXPV6Uh4HojncCJOM3yTVAkK3eRm1RwUeAuKTJTPbh5Cl2RkHWq9g8UngcFMhh7LHWtDSKd96bFaVC7zNaLJYEXZsn7p2j_hNicPchsw5P_zHIOaOsXGe09-QlKEilFmaIVTMntJLeElb29Iz-7H4ZhTpffA0c&IsAdminMobile=N&encid=22D731263C5635273736354632453C27373379C373C372C373C378C371C376C33013"]; //skipping this link because it returns a 400

const exceptionCDTSHTTPLinks = ["http://www.gcpedia.gc.ca/",
"http://gcdirectory-gcannuaire.gc.ca/",
Expand Down
2 changes: 1 addition & 1 deletion src/gcintranet/appFooter.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<li><a href="<^- msg('https://esdc.prv/en/news/index.shtml') ^>"><^- msg('News') ^></a></li>
<li><a href="<^- msg('https://esdc.prv/en/feedback/index.shtml') ^>"><^- msg('Contact and Feedback') ^></a></li>
<li><a href="<^- msg('https://esdc.prv/en/stay_connected/index.shtml') ^>"><^- msg('Stay Connected') ^></a></li>
<li><a href="<^- msg('https://esdc.prv/en/terms_conditions.shtml') ^>"><^- msg('Terms and Conditions') ^></a></li>
<li><a href="<^- msg('https://esdc.prv/en/terms-conditions.shtml') ^>"><^- msg('Terms and Conditions') ^></a></li>
</ul>
</section>
<%_ } else if (pr.subTheme == 'eccc') { -%>
Expand Down
4 changes: 2 additions & 2 deletions src/gcintranet/wet-messages.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"source": "Stay Connected",
"target": null
},
"3c1e068e37dca7903dd9ccc7bc3200de50c8192e": {
"source": "https://esdc.prv/en/terms_conditions.shtml",
"6601bba88650831f843e02740d7c6960ff0945ea": {
"source": "https://esdc.prv/en/terms-conditions.shtml",
"target": null
},
"894031ed8d341b5ecab5e23002585055f0b7ee4d": {
Expand Down
8 changes: 4 additions & 4 deletions src/gcintranet/wet-messages.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -441,12 +441,12 @@
"source": "Intranet Banner",
"target": "Bannière intranet"
},
"3c1e068e37dca7903dd9ccc7bc3200de50c8192e": {
"source": "https://esdc.prv/en/terms_conditions.shtml",
"target": "https://esdc.prv/fr/avis.shtml"
},
"894031ed8d341b5ecab5e23002585055f0b7ee4d": {
"source": "Terms and Conditions",
"target": "Avis"
},
"6601bba88650831f843e02740d7c6960ff0945ea": {
"source": "https://esdc.prv/en/terms-conditions.shtml",
"target": "https://edsc.prv/fr/conditions-utilisation.shtml"
}
}

0 comments on commit 5062f13

Please sign in to comment.