mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [ui] Do not show relNotes link if not on a tag
This commit is contained in:
parent
9cfd230661
commit
deb89db818
2 changed files with 8 additions and 0 deletions
|
@ -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'%}
|
||||
|
|
|
@ -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'%}
|
||||
|
|
Loading…
Reference in a new issue