summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-12-12 18:58:10 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-12-12 18:58:10 -0500
commit785ca5da915b5edc3123dcdeb4994fdfca7e416d (patch)
treeb3ae546310d8bfa1ee8164b64838d909d572a20c /templates
parent764182c0ca66b538cef994409f04f876681598cd (diff)
parent3451b4f8354e3478a604bb3e4805ac9e5982fecd (diff)
Merge commit '3451b4f'
Conflicts: settings.py
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index ba731a7e..b1d9be6c 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -143,12 +143,15 @@
</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>