aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates/base.html
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-27 12:54:31 -0500
committerJesús <heckyel@hyperbola.info>2021-08-27 12:54:31 -0500
commit0c106bb1110f8c1f75b77bdd65a5ecdff4135680 (patch)
treef1f746c0087c9139d998e76084067744fd5ce3ca /youtube/templates/base.html
parent59f32b31d9237b903b6efca97c0b3ad5cf98569f (diff)
downloadyt-local-0c106bb1110f8c1f75b77bdd65a5ecdff4135680.tar.lz
yt-local-0c106bb1110f8c1f75b77bdd65a5ecdff4135680.tar.xz
yt-local-0c106bb1110f8c1f75b77bdd65a5ecdff4135680.zip
[frontend]: fix current version
Diffstat (limited to 'youtube/templates/base.html')
-rw-r--r--youtube/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/templates/base.html b/youtube/templates/base.html
index 8de40a3..89c53c0 100644
--- a/youtube/templates/base.html
+++ b/youtube/templates/base.html
@@ -151,8 +151,8 @@
</div>
<div>
<p>This site is Free/Libre Software</p>
- {% if current_commit and current_version %}
- <p>Current version: {{ current_version }}{% if current_version != current_version %}-{{ current_commit }}{% endif %} @ {{ current_branch }}</p>
+ {% if current_commit != None %}
+ <p>Current version: {{ current_commit }} @ {{ current_branch }}</p>
{% else %}
<p>Current version: {{ current_version }}</p>
{% endif %}