From: Michael Tremer Date: Fri, 12 May 2023 10:34:18 +0000 (+0000) Subject: builds: Link to build groups X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd2372aeae2a52b3f7a724083f3a5c3cde863f9;p=pbs.git builds: Link to build groups Signed-off-by: Michael Tremer --- diff --git a/src/templates/builds/groups/modules/list.html b/src/templates/builds/groups/modules/list.html index 9f14c7fb..9bc7229b 100644 --- a/src/templates/builds/groups/modules/list.html +++ b/src/templates/builds/groups/modules/list.html @@ -24,7 +24,12 @@

- {% for build in group %} + {% for i, build in enumerate(group) %} + {# Don't show more than limit builds #} + {% if limit and i >= limit %} + {% break %} + {% end %} + {% if build.has_failed() %} @@ -54,7 +59,7 @@ {# Show a button to see all builds in this group #} {% if limit and limit < len(group) %} {# XXX needs styling #} - + {{ _("Show all") }} {% end %}