From: Michael Tremer Date: Mon, 8 May 2023 14:28:18 +0000 (+0000) Subject: packages: Refactor element that shows packages in distributions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3add41fc0dda0c3613d0c8abe06ce6935a22417c;p=pbs.git packages: Refactor element that shows packages in distributions Signed-off-by: Michael Tremer --- diff --git a/src/templates/packages/name.html b/src/templates/packages/name.html index 825d2d8b..3c1c221d 100644 --- a/src/templates/packages/name.html +++ b/src/templates/packages/name.html @@ -20,27 +20,28 @@
{% for distro in backend.distros %} -
-

{{ distro }}

+
+
+ {{ distro }} +
{% for repo in distro.repositories %} {% set builds = repo.get_builds_by_name(package.name) %} {% if builds %} -
{{ repo }}
+
+
{{ repo }}
+
- + {{ build }} + + {% end %} {% end %} {% end %}