From deb89db8188960ee871ed0fff9c67344ecdb2f58 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Thu, 1 Feb 2024 09:58:21 +0100 Subject: [PATCH] fix: [ui] Do not show relNotes link if not on a tag --- var/www/modules/settings/templates/settings_index.html | 4 ++++ var/www/templates/settings/settings_index.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/var/www/modules/settings/templates/settings_index.html b/var/www/modules/settings/templates/settings_index.html index b6a3fdf7..4dbdce42 100644 --- a/var/www/modules/settings/templates/settings_index.html +++ b/var/www/modules/settings/templates/settings_index.html @@ -43,7 +43,11 @@ AIL Version + {%if ail_version is not none %} {{current_version}} (release note) + {%else%} + {{git_metadata['current_branch']}} + {%endif%} AIL Version + {%if ail_version is not none %} {{ail_version}} (release note) + {%else%} + {{git_metadata['current_branch']}} + {%endif%}