From 0c106bb1110f8c1f75b77bdd65a5ecdff4135680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 27 Aug 2021 12:54:31 -0500 Subject: [frontend]: fix current version --- youtube/templates/base.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube/templates') 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 @@

This site is Free/Libre Software

- {% if current_commit and current_version %} -

Current version: {{ current_version }}{% if current_version != current_version %}-{{ current_commit }}{% endif %} @ {{ current_branch }}

+ {% if current_commit != None %} +

Current version: {{ current_commit }} @ {{ current_branch }}

{% else %}

Current version: {{ current_version }}

{% endif %} -- cgit v1.2.3