forked from gc-da11yn/gc-da11yn.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request gc-da11yn#632 from shawnthompson/list-pages
List changed pages to review
- Loading branch information
Showing
4 changed files
with
163 additions
and
3 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
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,22 @@ | ||
--- | ||
title: Pages to review | ||
toggle: pages-a-reviser | ||
description: On this page, you’ll find a list of pages that have been modified and require review. These changes reflect the differences between the current branch and the main branch. | ||
--- | ||
|
||
{%- if collections.changedPages.length > 0 -%} | ||
<p>These are changed pages that need to be reviewed:</p> | ||
<ul> | ||
{% for page in collections.changedPages %} | ||
{% if page.locale != locale %} | ||
<li><a href="{{ page.url }}" lang="{{ page.locale }}">{{ page.title }}</a></li> | ||
{% else %} | ||
<li><a href="{{ page.url }}">{{ page.title }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{%- else -%} | ||
<p>There are no pages that have changes.</p> | ||
{%- endif -%} | ||
|
||
<p>If you see links to pages you haven't changed, it may be because there were changes on the <code>upstream / main</code> branch. To update your current branch to the latest, use <a href="https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase"><code>git rebase</code></a>.</p> |
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,23 @@ | ||
--- | ||
title: Pages à réviser | ||
toggle: pages-to-review | ||
description: Sur cette page, vous trouverez une liste des pages qui ont été modifiées et qui nécessitent une révision. Ces modifications reflètent les différences entre la branche actuelle et la branche principale. | ||
--- | ||
|
||
{%- if collections.changedPages.length > 0 -%} | ||
<p>Il s'agit de pages modifiées qui doivent être révisées :</p> | ||
<ul> | ||
{% for page in collections.changedPages %} | ||
{% if page.locale != locale %} | ||
<li><a href="{{ page.url }}" lang="{{ page.locale }}">{{ page.title }}</a></li> | ||
{% else %} | ||
<li><a href="{{ page.url }}">{{ page.title }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
|
||
</ul> | ||
{%- else -%} | ||
<p>Aucune page n'a été modifiée.</p> | ||
{%- endif -%} | ||
|
||
<p>Si vous voyez des liens vers des pages que vous n'avez pas modifiées, c'est peut-être parce qu'il y a eu des changements sur la branche <code>upstream / main</code>. Pour mettre à jour votre branche actuelle avec les dernières modifications, utilisez <a href="https://www.atlassian.com/fr/git/tutorials/rewriting-history/git-rebase"><code>git rebase</code></a>.</p> |