chg: [UI] If version None do not show release note link

This commit is contained in:
Steve Clement 2024-01-18 11:19:40 +01:00
parent 8087e46da4
commit 0449cc8d25
2 changed files with 4 additions and 0 deletions

View file

@ -43,7 +43,9 @@
<tbody> <tbody>
<tr> <tr>
<td>AIL Version</td> <td>AIL Version</td>
{%if ail_version != '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> <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>
{%endif%}
</tr> </tr>
<tr <tr
{%if git_metadata['current_branch'] != 'master'%} {%if git_metadata['current_branch'] != 'master'%}

View file

@ -43,7 +43,9 @@
<tbody> <tbody>
<tr> <tr>
<td>AIL Version</td> <td>AIL Version</td>
{%if ail_version != '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> <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>
{%endif%}
</tr> </tr>
<tr <tr
{%if git_metadata['current_branch'] != 'master'%} {%if git_metadata['current_branch'] != 'master'%}