summaryrefslogtreecommitdiff
path: root/templates/releng/release_detail.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-28 23:56:30 -0600
committerDan McGee <dan@archlinux.org>2013-01-28 23:56:30 -0600
commit014b27b3920305455ac87f113ff95fad40991f21 (patch)
tree24044c766c02db5aa5ae3cbe41324ad055b44007 /templates/releng/release_detail.html
parent839371f3f8a7b6de199c48735098567db297928a (diff)
parent6cf98552f1c83d8e4fca1526131febd17045eae7 (diff)
Merge branch 'release'release_2013-01-28
Diffstat (limited to 'templates/releng/release_detail.html')
-rw-r--r--templates/releng/release_detail.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/releng/release_detail.html b/templates/releng/release_detail.html
index f4de9e52..01c0319e 100644
--- a/templates/releng/release_detail.html
+++ b/templates/releng/release_detail.html
@@ -1,4 +1,6 @@
{% extends "base.html" %}
+{% load url from future %}
+
{% block title %}Arch Linux - Release: {{ release.version }}{% endblock %}
{% block content %}
@@ -9,10 +11,13 @@
<li><strong>Release Date:</strong> {{ release.release_date|date }}</li>
{% if release.kernel_version %}<li><strong>Kernel Version:</strong> {{ release.kernel_version }}</li>{% endif %}
<li><strong>Available:</strong> {{ release.available|yesno }}</li>
- {% if release.available %}<li><strong>Download:</strong> <a href="https://www.archlinux.org/{{ release.iso_url }}.torrent"
+ {% if release.available %}<li><strong>Download:</strong> <a
+ href="{% url 'releng-release-torrent' release.version %}"
title="Download torrent for {{ release.version }}">Torrent</a>,
<a href="{{ release.magnet_uri }}">Magnet</a></li>{% endif %}
{% if release.torrent_infohash %}<li><strong>Torrent Info Hash:</strong> {{ release.torrent_infohash }}</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 %}
<li><strong>Download Size:</strong> {% if release.file_size %}{{ release.file_size|filesizeformat }}{% else %}Unknown{% endif %}</li>
</ul>