-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There's no need for it. The col-md-9 class it was paired with already fulfills the same purpose (has the same grid width and scales up to larger views). WIP, todos: * Finish updating JSON-LD files * Sort out version 3.1 identifiers in file names... * Superseded iteration is currently denoted as v4/v4.0 in file names/references and content * Some files/vars use v# and/or v#.#... unsure how to reconcile them since there's no precedence for v#.# iterations * Add migration tips into JSON-LD file (similar to implement_pd_3to4 in https://wet-boew.github.io/GCWeb/sites/page-details/page-details-docs-en.html)
- Loading branch information
1 parent
6e4a488
commit 993123d
Showing
11 changed files
with
207 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Default Page details --> | ||
<div id="default"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Page details</h2> | ||
[Date modified component] | ||
</section> | ||
</div> | ||
|
||
<!-- Page details with Page feedback tool --> | ||
<div id="pft"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Page details</h2> | ||
<div class="row"> | ||
<div class="col-sm-8 col-md-9"> | ||
[Page feedback tool component version 2.0 or newer] | ||
</div> | ||
</div> | ||
[Date modified component] | ||
</section> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Default Détails de la page --> | ||
<div id="default"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Détails de la page</h2> | ||
[Composant Date de modification] | ||
</section> | ||
</div> | ||
|
||
<!-- Détails de la page with Page feedback tool --> | ||
<div id="pft"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Détails de la page</h2> | ||
<div class="row"> | ||
<div class="col-sm-8 col-md-9"> | ||
[Composant Outil de rétroaction sur la page version 2.0 ou plus récente] | ||
</div> | ||
</div> | ||
[Composant Date de modification] | ||
</section> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
{ | ||
"layout": null, | ||
"title": "Content page including complete page details version 4.0 (demoted)", | ||
"language": "en", | ||
"altLangPage": "page-details-v4-fr.html", | ||
"secondlevel": false, | ||
"dateModified": "2024-07-12", | ||
"share": "true", | ||
"feedback": "true" | ||
} | ||
--- | ||
{%- include variable-core.liquid -%} | ||
{%- capture page-title -%} | ||
{%- if page.title -%} | ||
{{ page.title }} | ||
{%- else -%} | ||
Page untitled | ||
{%- endif -%} | ||
{%- endcapture -%} | ||
<!DOCTYPE html> | ||
<html class="no-js" lang="{{ i18nText-lang | default: 'en' }}" dir="{{ i18nText-langDir | default: 'ltr' }}"> | ||
<head> | ||
<meta charset="utf-8"> | ||
{% include license.html %} | ||
<title>{{ page-title }} - {{ i18nText-siteTitle }}</title> | ||
<meta content="width=device-width, initial-scale=1" name="viewport"> | ||
{% include metadata.html %} | ||
{% include resources-inc/head.html %} | ||
</head> | ||
<body {% if page.pageclass %}class="{{ page.pageclass }}" {% endif %}vocab="http://schema.org/" typeof="WebPage"> | ||
{% include skiplinks/skiplinks.html %} | ||
{% include header/header.html %} | ||
<main class="container" property="mainContentOfPage" resource="#wb-main" typeof="WebPageElement"> | ||
<div class="wb-prettify all-pre hidden"></div> | ||
<h1 id="wb-cont" property="name">{{ page-title }}</h1> | ||
<p>This is version 4.0 (demoted) of the page details.</p> | ||
<pre><code><section class="pagedetails"> | ||
<h2 class="wb-inv">Page details</h2> | ||
<div class="row"> | ||
<div class="col-sm-8 col-md-9 col-lg-9"> | ||
<div data-ajax-replace="https://www.canada.ca/etc/designs/canada/wet-boew/assets/feedback/page-feedback-en.html" class="wb-disable-allow"><!-- Will always be replaced by data-ajax --></div> | ||
</div> | ||
<dl id="wb-dtmd"> | ||
<dt>Date modified:</dt> | ||
<dd><time property="dateModified">2024-07-12</time></dd> | ||
</dl> | ||
</div> | ||
</section></code></pre> | ||
{% include page-details/footer-4.0.html %} | ||
</main> | ||
{% include footers/footer.html %} | ||
{% include resources-inc/footer.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
{ | ||
"layout": null, | ||
"title": "Page de contenu comprenant les détails de la page version 4.0 (rétrogradé)", | ||
"language": "fr", | ||
"altLangPage": "page-details-v4-en.html", | ||
"secondlevel": false, | ||
"dateModified": "2024-07-12", | ||
"share": "true", | ||
"feedback": "true" | ||
} | ||
--- | ||
{%- include variable-core.liquid -%} | ||
{%- capture page-title -%} | ||
{%- if page.title -%} | ||
{{ page.title }} | ||
{%- else -%} | ||
Page untitled | ||
{%- endif -%} | ||
{%- endcapture -%} | ||
<!DOCTYPE html> | ||
<html class="no-js" lang="{{ i18nText-lang | default: 'en' }}" dir="{{ i18nText-langDir | default: 'ltr' }}"> | ||
<head> | ||
<meta charset="utf-8"> | ||
{% include license.html %} | ||
<title>{{ page-title }} - {{ i18nText-siteTitle }}</title> | ||
<meta content="width=device-width, initial-scale=1" name="viewport"> | ||
{% include metadata.html %} | ||
{% include resources-inc/head.html %} | ||
</head> | ||
<body {% if page.pageclass %}class="{{ page.pageclass }}" {% endif %}vocab="http://schema.org/" typeof="WebPage"> | ||
{% include skiplinks/skiplinks.html %} | ||
{% include header/header.html %} | ||
<main class="container" property="mainContentOfPage" resource="#wb-main" typeof="WebPageElement"> | ||
<div class="wb-prettify all-pre hidden"></div> | ||
<h1 id="wb-cont" property="name">{{ page-title }}</h1> | ||
<p>Il s'agit de la version 4.0 (rétrogradée) des détails de la page.</p> | ||
<pre><code><section class="pagedetails"> | ||
<h2 class="wb-inv">Détails de la page</h2> | ||
<div class="row"> | ||
<div class="col-sm-8 col-md-9 col-lg-9"> | ||
<div data-ajax-replace="https://www.canada.ca/etc/designs/canada/wet-boew/assets/feedback/page-feedback-fr.html" class="wb-disable-allow"><!-- Sera toujours remplacé par data-ajax --></div> | ||
</div> | ||
<dl id="wb-dtmd"> | ||
<dt>Date de modification :</dt> | ||
<dd><time property="dateModified">2024-07-12</time></dd> | ||
</dl> | ||
</div> | ||
</section></code></pre> | ||
{% include page-details/footer-4.0.html %} | ||
</main> | ||
{% include footers/footer.html %} | ||
{% include resources-inc/footer.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<section class="pagedetails{% if include.addContainer %} container{% endif %}"> | ||
<h2 class="wb-inv">{{ i18nText-pageDetails }}</h2> | ||
|
||
{%- if page.feedback and page.feedback != "" -%} | ||
<div class="row"> | ||
<div class="col-sm-8 col-md-9 col-lg-9"> | ||
{% include feedback/feedback.html %} | ||
</div> | ||
</div> | ||
{%- endif -%} | ||
{%- include date-modified/date-modified.html -%} | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Default Page details --> | ||
<div id="default"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Page details</h2> | ||
[Date modified component] | ||
</section> | ||
</div> | ||
|
||
<!-- Page details with Page feedback tool --> | ||
<div id="pft"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Page details</h2> | ||
<div class="row"> | ||
<div class="col-sm-8 col-md-9"> | ||
[Page feedback tool component version 2.0 or newer] | ||
</div> | ||
</div> | ||
[Date modified component] | ||
</section> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- Default Détails de la page --> | ||
<div id="default"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Détails de la page</h2> | ||
[Composant Date de modification] | ||
</section> | ||
</div> | ||
|
||
<!-- Détails de la page with Page feedback tool --> | ||
<div id="pft"> | ||
<section class="pagedetails"> | ||
<h2 class="wb-inv">Détails de la page</h2> | ||
<div class="row"> | ||
<div class="col-sm-8 col-md-9"> | ||
[Composant Outil de rétroaction sur la page version 2.0 ou plus récente] | ||
</div> | ||
</div> | ||
[Composant Date de modification] | ||
</section> | ||
</div> |