Skip to content

Commit

Permalink
Fix GitHub issue create link
Browse files Browse the repository at this point in the history
  • Loading branch information
remibetin committed May 7, 2024
1 parent b521afb commit d778752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/t-status.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
{%- when "none" -%}
<p>{% include_cached icon.html name="ex-circle" %} No translation</p>
{%- capture github-file-path -%}{% include_cached github-file-path.html p=original %}{%- endcapture -%}
<p><a class="button button-secondary" href="https://github.com/remibetin/wai-translations/issues/new?template=new-translation.yml&title=[{{ tlangname }}]+{{original.title | url_encode}}&url={{original.permalink | absolute_url | url_encode }}&github-link={{ github-file-path }}"><span>Volunteer to translate this page</span></a></p>
<p><a class="button button-secondary" href="https://github.com/w3c/wai-translations/issues/new?template=new-translation.yml&title=[{{ tlangname }}]+{{original.title | url_encode}}&url={{original.permalink | absolute_url | url_encode }}&github-link={{ github-file-path }}"><span>Volunteer to translate this page</span></a></p>
{%- when "outdated" -%}
<p>{% include_cached icon.html name="warning" %} Translation needs update<p>
<p><mark><a href="{{ translation.permalink | relative_url }}" lang="{{ tlang }}"> {{ translation.title }}</a></mark></p>
{%- capture github-file-path -%}{% include_cached github-file-path.html p=translation %}{%- endcapture -%}
<p><a class="button button-secondary" href="https://github.com/remibetin/wai-translations/issues/new?template=update-translation.yml&title=[{{ tlangname }}]+{{original.title | url_encode}}&url={{translation.permalink | absolute_url | url_encode }}&github-link={{ github-file-path }}"><span>Volunteer to update the translation</span></a></p>
<p><a class="button button-secondary" href="https://github.com/w3c/wai-translations/issues/new?template=update-translation.yml&title=[{{ tlangname }}]+{{original.title | url_encode}}&url={{translation.permalink | absolute_url | url_encode }}&github-link={{ github-file-path }}"><span>Volunteer to update the translation</span></a></p>
{%- when "uptodate" -%}
<p>{% include_cached icon.html name="check-circle" %} Up-to-date</p>
<p><a href="{{ translation.permalink | relative_url }}" lang="{{ tlang }}"> {{ translation.title }}</a></p>
Expand Down

0 comments on commit d778752

Please sign in to comment.