aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-27 12:06:41 -0500
committerJesús <heckyel@hyperbola.info>2021-08-27 12:06:41 -0500
commit59f32b31d9237b903b6efca97c0b3ad5cf98569f (patch)
treec19daddef0d21ca10be1a8bdb29d053f6364f18c
parente76257f8b7f897b8f15224c3d5a8120f058e0441 (diff)
downloadyt-local-59f32b31d9237b903b6efca97c0b3ad5cf98569f.tar.lz
yt-local-59f32b31d9237b903b6efca97c0b3ad5cf98569f.tar.xz
yt-local-59f32b31d9237b903b6efca97c0b3ad5cf98569f.zip
[frontend]: improve current version
-rw-r--r--youtube/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index 3a5d9d0..8de40a3 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -152,7 +152,7 @@
<div>
<p>This site is Free/Libre Software</p>
{% 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 %}
<p>Current version: {{ current_version }}</p>
{% endif %}