diff options
Diffstat (limited to 'youtube/templates')
-rw-r--r-- | youtube/templates/base.html | 4 |
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 %} |