summaryrefslogtreecommitdiffstats
path: root/templates/public/download.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/public/download.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/public/download.html')
-rw-r--r--templates/public/download.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/public/download.html b/templates/public/download.html
index 944fe96d..15c31a90 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -2,6 +2,7 @@
{% load cache %}
{% load static %}
{% load flags %}
+{% load pgp %}
{% block title %}Arch Linux - Downloads{% endblock %}
@@ -98,6 +99,7 @@
<ul>
<li><a href="https://www.archlinux.org/{{ release.iso_url }}.sig"
title="PGP signature">PGP signature</a></li>
+ {% if release.pgp_key %}<li><strong>PGP fingerprint:</strong> {% pgp_key_link release.pgp_key %}</li>{% 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 %}
</ul>