From a445a40bead694798cbe604a25e85bdb16e0b488 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Sat, 5 Feb 2022 02:58:16 -0800 Subject: [PATCH] fix: Maintainer's comaintainer annotation display Signed-off-by: Kevin Morris --- templates/partials/packages/details.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/partials/packages/details.html b/templates/partials/packages/details.html index 1c4d01d6..b5193314 100644 --- a/templates/partials/packages/details.html +++ b/templates/partials/packages/details.html @@ -112,8 +112,9 @@ {{ pkgbase.Maintainer.Username }} + {% set len = comaintainers | length %} {% if comaintainers %} - ({% for co in comaintainers %}{{ co.User }}{% endfor %}) + ({% for co in comaintainers %}{{ co.User }}{% if loop.index < len %}, {% endif %}{% endfor %}) {% endif %} {% else %} {{ pkgbase.Maintainer.Username | default("None" | tr) }}