summaryrefslogtreecommitdiffstats
path: root/templates/releng/release_detail.html
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@archlinux.org>2020-05-23 01:23:55 +0200
committerJelle van der Waa <jelle@archlinux.org>2020-05-31 21:14:53 +0200
commit5da8fa6ce1ae04302fca2efb3aa99c8e18f291fa (patch)
tree0e94ebd294effc4c23a47ca8cdac8826688c6622 /templates/releng/release_detail.html
parent1c831f6b5afc6b29d869a4889519f368fc802a17 (diff)
downloadarchweb-5da8fa6ce1ae04302fca2efb3aa99c8e18f291fa.tar.gz
archweb-5da8fa6ce1ae04302fca2efb3aa99c8e18f291fa.zip
Add PGP key to the Release model
Add a pgp_key field to the Release model so we can display the PGP fingerprint of the used PGP key on the download page. Closes: #282
Diffstat (limited to 'templates/releng/release_detail.html')
-rw-r--r--templates/releng/release_detail.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/releng/release_detail.html b/templates/releng/release_detail.html
index 11155c0c..2f81f416 100644
--- a/templates/releng/release_detail.html
+++ b/templates/releng/release_detail.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load static %}
+{% load pgp %}
{% block title %}Arch Linux - Release: {{ release.version }}{% endblock %}
@@ -21,6 +22,7 @@
{% endif %}
{% if release.md5_sum %}<li><strong>MD5:</strong> {{ release.md5_sum }}</li>{% endif %}
{% if release.sha1_sum %}<li><strong>SHA1:</strong> {{ release.sha1_sum }}</li>{% endif %}
+ {% if release.pgp_key %}<li><strong>PGP fingerprint:</strong> {% pgp_key_link release.pgp_key %}</li>{% endif %}
</ul>
{% if release.info %}