summaryrefslogtreecommitdiff
path: root/templates/releng/release_detail.html
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 22:00:57 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-15 22:00:57 -0400
commit05430050147c87818c08373e9930756da4d6b5ac (patch)
tree24db1d6ca431ff64f91e3f41547b91687c4aedd7 /templates/releng/release_detail.html
parent86bd3d5e4920fd6d57ac51ed3abf02d2f368f2a7 (diff)
parent1a35cbe842212d674d83196ecfa70569ffe2e2da (diff)
Merge tag 'release_2014-11-08' into archweb-generic
Mirror status and details switch to Jinja2
Diffstat (limited to 'templates/releng/release_detail.html')
-rw-r--r--templates/releng/release_detail.html15
1 files changed, 10 insertions, 5 deletions
diff --git a/templates/releng/release_detail.html b/templates/releng/release_detail.html
index d04533b9..97017600 100644
--- a/templates/releng/release_detail.html
+++ b/templates/releng/release_detail.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load static %}
{% block title %}{{ BRANDING_DISTRONAME }} - Release: {{ release.version }}{% endblock %}
@@ -9,11 +10,15 @@
<ul>
<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.torrent_data %}<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 %}
+ <li><strong>Available:</strong> {{ release.available|yesno|capfirst }}</li>
+ {% if release.torrent_data %}
+ <li><a href="{% url 'releng-release-torrent' release.version %}"
+ title="Download torrent for {{ release.version }}">
+ Download via Torrent <img width="12" height="12" src="{% static "download.png" %}" alt=""/></a></li>
+ <li><a href="{{ release.magnet_uri }}"
+ title="Get magnet link for {{ release.version }}">
+ Download via Magnet URI <img width="12" height="12" src="{% static "magnet.png" %}" alt=""/></a></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>