"
},
{
"@type": "source-code",
"collapsed": true,
- "description": "Contenu ajouté via Ajax :",
+ "description": "Contenu ajouté via Ajax",
"code": {
"@type": [ "@id", "rdf:HTML" ],
"@value": "ajax/report-problem-fr.html"
@@ -613,14 +612,14 @@
{
"@type": "source-code",
"description": "Code sample:",
- "code": "<div class=\"checkbox\">\n\t<label for=\"problem2\">\n\t\t<input name=\"problem2\" id=\"problem2\" type=\"checkbox\" value=\"Yes\" data-gc-analytics-rap=\"It has a spelling mistake-Il y a une erreur d'orthographe ou de grammaire\">It has a spelling mistake\n\t</label>\n\t<input name=\"problem2\" type=\"hidden\" value=\"\">\n</div>"
+ "code": "
\n\t
"
}
],
"fr": [
{
"@type": "source-code",
"description": "Exemple de code :",
- "code": "<div class=\"checkbox\">\n\t<label for=\"problem2\">\n\t\t<input name=\"problem2\" id=\"problem2\" type=\"checkbox\" value=\"Yes\" data-gc-analytics-rap=\"Il y a une erreur d'orthographe ou de grammaire-It has a spelling mistake\">Il y a une erreur d'orthographe ou de grammaire\n\t</label>\n\t<input name=\"problem2\" type=\"hidden\" value=\"\">\n</div>"
+ "code": "
\n\t\n\t\n
"
}
]
}
@@ -649,14 +648,14 @@
{
"@type": "source-code",
"description": "Code sample:",
- "code": "\"feedback\": true, \n\"feedbackFallback\": true, \n\"feedbackPath\": \"ajax-report-problem-en.html\""
+ "code": "---\n{\n\t...\n\t\"feedback\": true, \n\t\"feedbackFallback\": true, \n\t\"feedbackPath\": \"ajax-report-problem-en.html\"\n\t...\n}\n---"
}
],
"fr": [
{
"@type": "source-code",
"description": "Exemple de code :",
- "code": "\"feedback\": true, \n\"feedbackFallback\": true, \n\"feedbackPath\": \"ajax-report-problem-fr.html\""
+ "code": "---\n{\n\t...\n\t\"feedback\": true, \n\t\"feedbackFallback\": true, \n\t\"feedbackPath\": \"ajax-report-problem-fr.html\"\n\t...\n}\n---"
}
]
}
@@ -701,7 +700,7 @@
{
"@type": "source-code",
"description": "Code sample:",
- "code": "<div class=\"wb-disable-allow\" \ndata-ajax-replace=\"https://www.canada.ca/etc/designs/canada/wet-boew/assets/feedback/page-feedback-en.html\" \ndata-feedback-section=\"[Text defining the section where your page resides]\" \ndata-feedback-theme=\"[Text defining the theme of your page]\"></div>"
+ "code": ""
},
{
"@type": "source-code",
@@ -717,12 +716,12 @@
{
"@type": "source-code",
"description": "Exemple de code :",
- "code": "<div class=\"wb-disable-allow\" \ndata-ajax-replace=\"https://www.canada.ca/etc/designs/canada/wet-boew/assets/feedback/page-feedback-fr.html\" \ndata-feedback-section=\"[Texte définissant la section où réside votre page]\" \ndata-feedback-theme=\"[Texte définissant le thème de votre page]\"></div>"
+ "code": ""
},
{
"@type": "source-code",
"collapsed": true,
- "description": "Contenu ajouté via Ajax :",
+ "description": "Contenu ajouté via Ajax",
"code": {
"@type": [ "@id", "rdf:HTML" ],
"@value": "assets/page-feedback-fr.html"
@@ -757,14 +756,14 @@
{
"@type": "source-code",
"description": "Code sample:",
- "code": "\"feedback\": true,\n\"feedbackData\": {\n\t\"theme\": \"Theme\",\n\t\"section\": \"Section\"\n}"
+ "code": "---\n{\n\t...\n\t\"feedback\": true,\n\t\"feedbackData\": {\n\t\t\"theme\": \"Theme\",\n\t\t\"section\": \"Section\"\n\t}\n\t...\n}\n---"
}
],
"fr": [
{
"@type": "source-code",
"description": "Exemple de code :",
- "code": "\"feedback\": true,\n\"feedbackData\": {\n\t\"theme\": \"Thème\",\n\t\"section\": \"Section\"\n}"
+ "code": "---\n{\n\t...\n\t\"feedback\": true,\n\t\"feedbackData\": {\n\t\t\"theme\": \"Thème\",\n\t\t\"section\": \"Section\"\n\t}\n\t...\n}\n---"
}
]
}
@@ -857,7 +856,7 @@
{
"@type": "source-code",
"description": "Code sample:",
- "code": "<div class=\"wb-disable-allow\" \ndata-ajax-replace=\"https://www.canada.ca/etc/designs/canada/wet-boew/assets/feedback/page-feedback-en.html\" \ndata-feedback-section=\"[Text defining the section where your page resides]\" \ndata-feedback-theme=\"[Text defining the theme of your page]\" \ndata-feedback-link=\"[Contact link text]\" \ndata-feedback-url=\"[Contact link URL]\"></div>"
+ "code": ""
},
{
"@type": "source-code",
@@ -873,12 +872,12 @@
{
"@type": "source-code",
"description": "Exemple de code :",
- "code": "<div class=\"wb-disable-allow\" \ndata-ajax-replace=\"https://www.canada.ca/etc/designs/canada/wet-boew/assets/feedback/page-feedback-fr.html\" \ndata-feedback-section=\"[Texte définissant la section où réside votre page]\" \ndata-feedback-theme=\"[Texte définissant le thème de votre page]\" \ndata-feedback-link=\"[Texte du lien de contact]\" \ndata-feedback-url=\"[URL du lien de contact]\"></div>"
+ "code": ""
},
{
"@type": "source-code",
"collapsed": true,
- "description": "Contenu ajouté via Ajax :",
+ "description": "Contenu ajouté via Ajax",
"code": {
"@type": [ "@id", "rdf:HTML" ],
"@value": "assets/page-feedback-fr.html"
@@ -915,14 +914,14 @@
{
"@type": "source-code",
"description": "Code sample:",
- "code": "\"feedback\": true, \n\"feedbackContact\": {\n\t\"link\": \"Contact link\",\n\t\"url\": \"https://canada.ca/en\"\n}, \n\"feedbackData\": {\n\t\"theme\": \"Theme\",\n\t\"section\": \"Section\"\n}"
+ "code": "---\n{\n\t...\n\t\"feedback\": true, \n\t\"feedbackContact\": {\n\t\t\"link\": \"Contact link\",\n\t\t\"url\": \"https://canada.ca/en\"\n\t}, \n\t\"feedbackData\": {\n\t\t\"theme\": \"Theme\",\n\t\t\"section\": \"Section\"\n\t}\n\t...\n}\n---"
}
],
"fr": [
{
"@type": "source-code",
"description": "Exemple de code :",
- "code": "\"feedback\": true, \n\"feedbackContact\": {\n\t\"link\": \"Lien de contact\",\n\t\"url\": \"https://canada.ca/fr\"\n}, \n\"feedbackData\": {\n\t\"theme\": \"Thème\",\n\t\"section\": \"Section\"\n}"
+ "code": "---\n{\n\t...\n\t\"feedback\": true, \n\t\"feedbackContact\": {\n\t\t\"link\": \"Lien de contact\",\n\t\t\"url\": \"https://canada.ca/fr\"\n\t}, \n\t\"feedbackData\": {\n\t\t\"theme\": \"Thème\",\n\t\t\"section\": \"Section\"\n\t}\n\t...\n}\n---"
}
]
}
@@ -932,7 +931,8 @@
{
"@id": "_:cs_rap_inline",
"name": "Report a problem inline",
- "status": "stable",
+ "status": "deprecated",
+ "schema:expires": "2024-12",
"baseOnIteration": "_:iteration_rap_1",
"detectableBy": "The RAP web form is hardcoded in each page and the form inputs are server-side personalized/configured.",
"layout": [
@@ -988,7 +988,8 @@
{
"@id": "_:cs_rap_container",
"name": "Report a problem with AJAX",
- "status": "stable",
+ "status": "deprecated",
+ "schema:expires": "2024-12",
"baseOnIteration": "_:iteration_rap_5",
"detectableBy": "The RAP web form is inserted via ajax",
"layout": [
@@ -1039,7 +1040,8 @@
{
"@id": "_:cs_rap_ajax",
"name": "Report a problem AJAX file",
- "status": "stable",
+ "status": "deprecated",
+ "schema:expires": "2024-12",
"baseOnIteration": "_:iteration_rap_2",
"dependOnChangeSet": "_:cs_rap_container",
"detectableBy": "HTML fragment that starts with a \"row row-no-gutters\", containing a form and a wrapper \"div.gc-rprt-prlm\"",
@@ -1103,7 +1105,8 @@
{
"@id": "_:cs_rap_ajax_2",
"name": "Report a problem AJAX file Data-JSON",
- "status": "stable",
+ "status": "deprecated",
+ "schema:expires": "2024-12",
"baseOnIteration": "_:iteration_rap_5",
"dependOnChangeSet": "_:cs_rap_container",
"detectableBy": "Hidden inputs genereted via Data-JSON and \"subject\" and \"externalReferer\" are static",
@@ -1826,7 +1829,7 @@
"en": "Documentation on how to use the page details section.",
"fr": "Documentation sur l'utilisation de la section des détails de la page."
},
- "version": "2.1",
+ "version": "3.0",
"modified": "2022-04-11",
"componentName": "page-details",
"componentType": "container",
@@ -1925,8 +1928,7 @@
],
"implementation": [
"_:implement_pd",
- "_:implement_pd_gcweb",
- "_:implement_pd_2"
+ "_:implement_pd_gcweb"
],
"history": [
{
@@ -2106,6 +2108,14 @@
"Bien que le composant Détails de la page ait été mis à jour vers la version 2.1, la version 2.0 est toujours prise en charge. Cependant, le contenu de la page et le <footer>. doivent être situés à l'intérieur d'une balise <article>."
]
},
+ "notes": {
+ "en": [
+ "This implementation of the Page details is deprecated as of 2023-11-08"
+ ],
+ "fr": [
+ "Cette implémentation des Détails de la page est obsolète depuis le 2023-11-08"
+ ]
+ },
"sample": {
"en": [
{
@@ -2282,7 +2292,7 @@
"changesets": [
{
"@id": "_:cs_pd_3",
- "name": "Page details - Compatible with PFT + Accessiblity fix",
+ "name": "Page details - Compatible with PFT + Accessiblity fix (version 3.0)",
"status": "stable",
"baseOnIteration": "_:iteration_pd_3",
"detectableBy": "section.pagedetails",
@@ -2295,7 +2305,50 @@
"semantic": {
"@type": "source-code",
"description": "Source code",
- "code": "\n\t
[i18nText-pageDetails]
\n\t\n\t\n\t\n"
+ "code": "\n\t
[i18nText-pageDetails]
\n\t\n\t\n\t\n"
+ },
+ "include": {
+ "@type": "source-code",
+ "collapsed": true,
+ "description": "Include with logic in Liquid.",
+ "code": {
+ "@type": [ "@id", "rdf:HTML" ],
+ "@value": "includes/footer.html"
+ }
+ },
+ "logic": "Not applicable",
+ "behaviour": [
+ "If the Share this page button is visible and the Page feedback tool is not, the Date modified will be moved to the left."
+ ],
+ "guidance": "Not applicable",
+ "context": "Not applicable",
+ "configuration": [
+ "Input the date when the page was last modified inside the