summaryrefslogtreecommitdiff
path: root/templates/releng/release_detail.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-11-05 23:02:24 -0600
committerDan McGee <dan@archlinux.org>2014-11-05 23:02:24 -0600
commit935d801615dd320693d4c85359aab9f12bd91b14 (patch)
tree784fdfd0c691be37975aeb8780fcac9dc0ad0ed5 /templates/releng/release_detail.html
parent1bf6358b94d0466cd0ab0e5ef47bd45d770e477e (diff)
Add icons, more detail to releases pages
Signed-off-by: Dan McGee <dan@archlinux.org>
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 5cd1c432..11155c0c 100644
--- a/templates/releng/release_detail.html
+++ b/templates/releng/release_detail.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% load static %}
{% block title %}Arch Linux - 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>