summaryrefslogtreecommitdiffstats
path: root/templates/releng/release_detail.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-28 22:27:44 +0100
committerDan McGee <dan@archlinux.org>2013-01-28 22:27:44 +0100
commita471316a58a9c62b869696fe36d72abcbf9f2ab1 (patch)
tree411d625c73ffc6d29722fda3b5c41699a77ae36f /templates/releng/release_detail.html
parentbc539b6ed174fed1545aabaa4ceb7a7f925cbbed (diff)
downloadarchweb-a471316a58a9c62b869696fe36d72abcbf9f2ab1.tar.gz
archweb-a471316a58a9c62b869696fe36d72abcbf9f2ab1.tar.xz
Use torrent view and checksums where appropriate
We no longer need to link externally to these items since we have all the data available in the web application now. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/releng/release_detail.html')
-rw-r--r--templates/releng/release_detail.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/releng/release_detail.html b/templates/releng/release_detail.html
index ea54be6..01c0319 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,7 +11,8 @@
<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 %}