From: Michael Tremer Date: Tue, 6 Jun 2023 15:55:59 +0000 (+0000) Subject: release monitoring: Show the follow strategy X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45c661342352ad7cd73ec7d675cad58ac235464f;p=pbs.git release monitoring: Show the follow strategy Signed-off-by: Michael Tremer --- diff --git a/src/templates/monitorings/show.html b/src/templates/monitorings/show.html index 100a1c80..eaeed8a4 100644 --- a/src/templates/monitorings/show.html +++ b/src/templates/monitorings/show.html @@ -27,6 +27,33 @@

{{ monitoring }}

+ {% if monitoring.follow %} +
+
+

{{ _("Following") }}

+

+ {% if monitoring.follow == "stable" %} + + {{ _("Stable Releases") }} + + {% elif monitoring.follow == "latest" %} + + {{ _("Latest Releases") }} + + {% elif monitoring.follow == "current-branch" %} + + {{ _("Current Branch") }} + + {% else %} + + {{ _("Unknown: %s") % monitoring.follow }} + + {% end %} +

+
+
+ {% end %} + {% if monitoring.latest_release %}