Skip to content

Commit

Permalink
Authentification - Community disclaimer for the active session example
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisp committed Jun 14, 2023
1 parent b416b0a commit e926369
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 3 deletions.
2 changes: 2 additions & 0 deletions _data/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ page_group:
impl-ref: Implementation reference
spec: Specification
test: Tests pages
community: Community contribution
fr:
examples: Exemples
docs: Documentations
related: Documents relié
test: Pages d'essaie
impl-ref: Référence d'implémentation
spec: Spécification
community: Contibution communautaire

# Status de component
component_status:
Expand Down
4 changes: 3 additions & 1 deletion _data/sites.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@
"title": "Page de contenu - Modèle de session ouverte",
"language": "fr",
"path": "signedon-fr.html"
},
}
],
"community": [
{
"title": "Active user session",
"language": "en",
Expand Down
13 changes: 13 additions & 0 deletions _includes/alert-community-stable.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{%- if page.language == "fr" -%}
<div class="alert alert-info">
<p>Veuillez noter que la présente page web représente une contribution communautaire et qu'elle <strong>ne bénéficie pas</strong> de la validation ni de l'approbation formelle du bureau de la transformation numérique comparivement à une conception officielle. Il est à souligner que cette contribution ne va pas à l'encontre d'une version officielle publiée au moment de l'ajout. Il est possible que si une conception officielle équivalente est élaborée et soit formellement publiée que la conception démontré dans cette page en diffère en partie ou en totalité.</p>

<p>Cette conception est <strong>stable</strong> et par conséquent elle bénificie des mêmes avantages que toutes autres fonctioanlité et conceptions stable tel que définie par <a href="https://wet-boew.github.io/wet-boew-documentation/decision/14.html" hreflang="en">l'ébauche de l'API publique de version de GCWeb</a>.</p>
</div>
{%- elsif page.language == "en" -%}
<div class="alert alert-info">
<p>Please note that the current web page represents a community contribution and <strong>does not have</strong> formal validation or approval from the Digital Transformation Office compared to an official design. It should be noted that this contribution does not contradict any officially published version at the time of its addition. It is possible that when an equivalent official design is developed and get formally published, it may differ partially or entirely from the design shown on this page.</p>

<p>This <strong>stable</strong> design do share the same benefits as any other stable functionality and designs as defined by the <a href="https://wet-boew.github.io/wet-boew-documentation/decision/14.html">GCWeb public versioning API draft</a>.</p>
</div>
{%- endif -%}
2 changes: 2 additions & 0 deletions sites/authentication/activeusersession-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
---
<div class="wb-prettify all-pre hide"></div>

{% include alert-community-stable.html %}

<h2>Expected output code</h2>
<pre>&lt;div class="col-xs-5 col-xs-offset-7 col-md-offset-0 col-md-4"&gt;
&lt;section id="wb-so"&gt;
Expand Down
3 changes: 2 additions & 1 deletion sites/authentication/activeusersession-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
---
<div class="wb-prettify all-pre hide"></div>

{% include alert-community-stable.html %}

<h2>Code source attendu</h2>
<pre>&lt;div class="col-xs-5 col-xs-offset-7 col-md-offset-0 col-md-4"&gt;
&lt;section id="wb-so"&gt;
Expand All @@ -24,7 +26,6 @@ <h2>Code source attendu</h2>
&lt;/section&gt;
&lt;/div&gt;</code></pre>


<p><em>(Nom d'utlisateur)</em> est remplacé par le nom d'utilisateur de la personne connecté.</p>

<h2>Exemple de l'initialisation pour GCWeb Jekyll</h2>
Expand Down
4 changes: 3 additions & 1 deletion sites/authentication/index.json-ld
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@
"title": "Page de contenu - Modèle de session ouverte",
"language": "fr",
"path": "signedon-fr.html"
},
}
],
"community": [
{
"title": "Active user session",
"language": "en",
Expand Down

0 comments on commit e926369

Please sign in to comment.