mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57: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>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>AIL Version</td>
|
<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>
|
<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>
|
||||||
<tr
|
<tr
|
||||||
{%if git_metadata['current_branch'] != 'master'%}
|
{%if git_metadata['current_branch'] != 'master'%}
|
||||||
|
|
|
@ -43,7 +43,11 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>AIL Version</td>
|
<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>
|
<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>
|
||||||
<tr
|
<tr
|
||||||
{%if git_metadata['current_branch'] != 'master'%}
|
{%if git_metadata['current_branch'] != 'master'%}
|
||||||
|
|
Loading…
Reference in a new issue