Commit bd12d146 authored by Dan McGee's avatar Dan McGee
Browse files

Differentiate between Unsigned and unknown signer



This can happen when we add a new developer but the key isn't in the
system yet.

Signed-off-by: default avatarDan McGee <dan@archlinux.org>
parent 89bc612b
......@@ -148,12 +148,15 @@ <h4>Versions Elsewhere</h4>
</tr><tr>
<th>Build Date:</th>
<td>{{ pkg.build_date|date:"DATETIME_FORMAT" }} UTC</td>
</tr><tr>
<th>Signed By:</th>
<td>{% with pkg.signer as signer %}{% if signer %}{% pgp_key_link pkg.signature.key_id signer.get_full_name %}{% else %}Unsigned{% endif %}{% endwith %}</td>
</tr>{% if pkg.signature %}<tr>
<th>Signed By:</th>
<td>{% with pkg.signer as signer %}{% if signer %}{% pgp_key_link pkg.signature.key_id signer.get_full_name %}{% else %}Unknown{% endif %}{% endwith %}</td>
</tr><tr>
<th>Signature Date:</th>
<td>{{ pkg.signature.datetime|date:"DATETIME_FORMAT" }} UTC</td>
</tr>{% else %}<tr>
<th>Signed By:</th>
<td>Unsigned</td>
</tr>{% endif %}<tr>
<th>Last Updated:</th>
<td>{{ pkg.last_update|date }}</td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment