summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-15 10:54:14 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-15 10:54:14 -0500
commit3d122f711a481e2357d53ffee9e091a4581b8df6 (patch)
tree3d9ea3ccbeb5be44ab48d06413d8b56ac84eb465 /templates
parentbd86ba0d5f5b07ba114134b3c12f8f4843e52ec4 (diff)
parent7edc58c89c78d2e7c4f646e4b8562bc52ad7218d (diff)
Merge commit '7edc58c' (requires new parabolaweb-update)
Show signature data on package details page Conflicts: requirements.txt requirements_prod.txt
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 2fc5465e..ba731a7e 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load package_extras %}
+{% load pgp %}
{% block title %}Parabola - {{ pkg.pkgname }} {{ pkg.full_version }} - Package Details{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
@@ -140,12 +141,15 @@
<th>Last Packager:</th>
<td>{% with pkg.packager as pkgr %}{% if pkgr %}{% packager_link pkgr %}{% else %}{{ pkg.packager_str }}{% endif %}{% endwith %}</td>
</tr><tr>
- <th>Signed:</th>
- <td>{{ pkg.is_signed|yesno|capfirst }}</td>
- </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>Signature Date:</th>
+ <td>{{ pkg.signature.datetime|date:"DATETIME_FORMAT" }} UTC</td>
+ </tr>{% endif %}<tr>
<th>Last Updated:</th>
<td>{{ pkg.last_update|date }}</td>
</tr>