summaryrefslogtreecommitdiffstats
path: root/templates/releng/release_detail.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-19 19:06:47 +0100
committerDan McGee <dan@archlinux.org>2013-01-19 19:08:31 +0100
commit1a7e5d22f1c4e948c624d26b4d8c1ed30189acfe (patch)
treefeb3473bb7a31868910a45bc481c471f765bf565 /templates/releng/release_detail.html
parent8cfaa39a0464f7ee35af76473d3e73ae587a6cb8 (diff)
downloadarchweb-1a7e5d22f1c4e948c624d26b4d8c1ed30189acfe.tar.gz
archweb-1a7e5d22f1c4e948c624d26b4d8c1ed30189acfe.tar.xz
Add basic release list and details views
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/releng/release_detail.html')
-rw-r--r--templates/releng/release_detail.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/releng/release_detail.html b/templates/releng/release_detail.html
new file mode 100644
index 0000000..fec9ce2
--- /dev/null
+++ b/templates/releng/release_detail.html
@@ -0,0 +1,24 @@
+{% extends "base.html" %}
+{% block title %}Arch Linux - Release: {{ release.version }}{% endblock %}
+
+{% block content %}
+<div class="release box">
+ <h2>{{ release.version }}</h2>
+
+ <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.available %}<li><a href="https://www.archlinux.org/{{ release.iso_url }}.torrent"
+ title="Download torrent for {{ release.version }}">Torrent</a></li>{% endif %}
+ {% if release.available %}<li><a href="{{ release.magnet_uri }}">Magnet</a></li>{% endif %}
+ <li><strong>Download Size:</strong> {% if release.file_size %}{{ release.file_size|filesizeformat }}{% else %}Unknown{% endif %}</li>
+ </ul>
+
+ {% if release.info %}
+ <h3>Release Notes</h3>
+
+ <div class="article-content">{{ release.info_html }}</div>
+ {% endif %}
+</div>
+{% endblock %}