fix: [ui] Do not show relNotes link if not on a tag

This commit is contained in:
Steve Clement 2024-02-01 09:58:21 +01:00
parent 9cfd230661
commit deb89db818
2 changed files with 8 additions and 0 deletions

View file

@ -43,7 +43,11 @@
<tbody>
<tr>
<td>AIL Version</td>
{%if ail_version is not none %}
<td>{{current_version}}<a target="_blank" href="https://github.com/ail-project/ail-framework/releases/tag/{{current_version}}" class="text-info"><small> (release note)</small></a></td>
{%else%}
<td>{{git_metadata['current_branch']}}</td>
{%endif%}
</tr>
<tr
{%if git_metadata['current_branch'] != 'master'%}

View file

@ -43,7 +43,11 @@
<tbody>
<tr>
<td>AIL Version</td>
{%if ail_version is not none %}
<td>{{ail_version}}<a target="_blank" href="https://github.com/ail-project/ail-framework/releases/tag/{{ail_version}}" class="text-info"><small> (release note)</small></a></td>
{%else%}
<td>{{git_metadata['current_branch']}}</td>
{%endif%}
</tr>
<tr
{%if git_metadata['current_branch'] != 'master'%}