[frontend]: improve current version
This commit is contained in:
parent
e76257f8b7
commit
59f32b31d9
@ -152,7 +152,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<p>This site is Free/Libre Software</p>
|
<p>This site is Free/Libre Software</p>
|
||||||
{% if current_commit and current_version %}
|
{% if current_commit and current_version %}
|
||||||
<p>Current version: {{ current_version }}-{{ current_commit }} @ {{ current_branch }}</p>
|
<p>Current version: {{ current_version }}{% if current_version != current_version %}-{{ current_commit }}{% endif %} @ {{ current_branch }}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Current version: {{ current_version }}</p>
|
<p>Current version: {{ current_version }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user