Merge branch 'pu_package_keywords_fix' into pu

This commit is contained in:
Kevin Morris 2021-10-15 20:08:31 -07:00
commit 50634d30b3
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -33,10 +33,9 @@
</td>
</tr>
{% endif %}
{% if pkgbase.keywords.scalar() %}
<tr>
<th>{{ "Keywords" | tr }}:</th>
{% if is_maintainer %}
{% if request.user.has_credential("CRED_PKGBASE_SET_KEYWORDS", approved=[pkgbase.Maintainer]) %}
<td>
<form method="update"
action="/pkgbase/{{ pkgbase.Name }}/keywords/"
@ -62,7 +61,6 @@
</td>
{% endif %}
</tr>
{% endif %}
{% if licenses and licenses.scalar() and show_package_details %}
<tr>
<th>{{ "Licenses" | tr }}:</th>