fix(templates): Maintainer field does not require auth

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-20 09:14:30 -08:00
parent fee7e41ae4
commit 2c4f4155d6
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -108,7 +108,7 @@
<tr> <tr>
<th>{{ "Maintainer" | tr }}:</th> <th>{{ "Maintainer" | tr }}:</th>
<td> <td>
{% if request.user.is_authenticated() and pkgbase.Maintainer %} {% if pkgbase.Maintainer %}
<a href="/account/{{ pkgbase.Maintainer.Username }}"> <a href="/account/{{ pkgbase.Maintainer.Username }}">
{{ pkgbase.Maintainer.Username }} {{ pkgbase.Maintainer.Username }}
</a> </a>