summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-19 10:55:58 -0600
committerDan McGee <dan@archlinux.org>2013-01-19 10:59:18 -0600
commit8cfaa39a0464f7ee35af76473d3e73ae587a6cb8 (patch)
treef703bf38c84d2c53ec3452484b1d59668cfb3007 /templates
parent23ef118ac129e17d251634d2ef3c88c6d74279e3 (diff)
Add more metadata to releng Release model
Add a file_size field which we will use in the RSS feed, and also add a field for future storage of the torrent data itself. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/public/download.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/public/download.html b/templates/public/download.html
index 8ddbc23e..29490849 100644
--- a/templates/public/download.html
+++ b/templates/public/download.html
@@ -58,7 +58,9 @@
<em>A web-seed capable client is recommended for fastest download speeds.</em></p>
<p><a href="https://www.archlinux.org/{{ release.iso_url }}.torrent"
title="Download for both architectures">Download torrent for {{ release.version }}</a>
- (<a href="{{ release.magnet_uri }}">Magnet</a>)</p>
+ (<a href="{{ release.magnet_uri }}">Magnet</a>)
+ {% if release.file_size %}({{ release.file_size|filesizeformat }}){% endif %}
+ </p>
<h3>Netboot</h3>