summaryrefslogtreecommitdiffstats
path: root/templates/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-19 17:55:58 +0100
committerDan McGee <dan@archlinux.org>2013-01-19 17:59:18 +0100
commit8cfaa39a0464f7ee35af76473d3e73ae587a6cb8 (patch)
treef703bf38c84d2c53ec3452484b1d59668cfb3007 /templates/public
parent23ef118ac129e17d251634d2ef3c88c6d74279e3 (diff)
downloadarchweb-8cfaa39a0464f7ee35af76473d3e73ae587a6cb8.tar.gz
archweb-8cfaa39a0464f7ee35af76473d3e73ae587a6cb8.tar.xz
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/public')
-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 8ddbc23..2949084 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>