mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: Maintainer's comaintainer annotation display
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
c1420b52fb
commit
a445a40bea
1 changed files with 2 additions and 1 deletions
|
@ -112,8 +112,9 @@
|
||||||
<a href="/account/{{ pkgbase.Maintainer.Username }}">
|
<a href="/account/{{ pkgbase.Maintainer.Username }}">
|
||||||
{{ pkgbase.Maintainer.Username }}
|
{{ pkgbase.Maintainer.Username }}
|
||||||
</a>
|
</a>
|
||||||
|
{% set len = comaintainers | length %}
|
||||||
{% if comaintainers %}
|
{% if comaintainers %}
|
||||||
({% for co in comaintainers %}<a href="{{ co.User | account_url }}">{{ co.User }}</a>{% endfor %})
|
({% for co in comaintainers %}<a href="{{ co.User | account_url }}">{{ co.User }}</a>{% if loop.index < len %}, {% endif %}{% endfor %})
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ pkgbase.Maintainer.Username | default("None" | tr) }}
|
{{ pkgbase.Maintainer.Username | default("None" | tr) }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue