From 59f32b31d9237b903b6efca97c0b3ad5cf98569f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Fri, 27 Aug 2021 12:06:41 -0500 Subject: [frontend]: improve current version --- youtube/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@

This site is Free/Libre Software

{% if current_commit and current_version %} -

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

+

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

{% else %}

Current version: {{ current_version }}

{% endif %} -- cgit v1.2.3