Skip to content

Commit

Permalink
Add exceptions for release notes links
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalchevrel committed Apr 16, 2024
1 parent e4b3d93 commit 19525f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/templates/past_release.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@
<tr>
<th>Release notes</th>
<td>
<a href="https://www.mozilla.org/en-US/firefox/{{ release|number_format(1) }}/releasenotes/">Consumer notes</a> <span class="text-black-50">&#8280;</span>
{% set link_fix = '' %}
{% if release == 125 or release == 14 %}
{% set link_fix = '.1' %}
{% endif %}
<a href="https://www.mozilla.org/en-US/firefox/{{ release|number_format(1) }}{{ link_fix }}/releasenotes/">Consumer notes</a> <span class="text-black-50">&#8280;</span>
<a href="https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/{{ release }}">Developer notes</a>
</td>
</tr>
Expand Down

0 comments on commit 19525f8

Please sign in to comment.