mirror of https://github.com/CIRCL/AIL-framework
fix: [ui] Do not show relNotes link if not on a tag
parent
9cfd230661
commit
deb89db818
|
@ -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 New Issue