diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-28 22:27:44 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-28 22:27:44 +0100 |
commit | a471316a58a9c62b869696fe36d72abcbf9f2ab1 (patch) | |
tree | 411d625c73ffc6d29722fda3b5c41699a77ae36f /templates/public/download.html | |
parent | bc539b6ed174fed1545aabaa4ceb7a7f925cbbed (diff) | |
download | archweb-a471316a58a9c62b869696fe36d72abcbf9f2ab1.tar.gz archweb-a471316a58a9c62b869696fe36d72abcbf9f2ab1.tar.xz |
Use torrent view and checksums where appropriate
We no longer need to link externally to these items since we have all
the data available in the web application now.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/download.html')
-rw-r--r-- | templates/public/download.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/public/download.html b/templates/public/download.html index 2949084..f385ea2 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -56,8 +56,8 @@ <p>If you can spare the bytes, please leave the client open after your download is finished, so you can seed it back to others. <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> + <p><a href="{% url 'releng-release-torrent' release.version %}" + title="Download torrent">Download torrent for {{ release.version }}</a> (<a href="{{ release.magnet_uri }}">Magnet</a>) {% if release.file_size %}({{ release.file_size|filesizeformat }}){% endif %} </p> @@ -81,11 +81,9 @@ <ul> <li><a href="https://www.archlinux.org/{{ release.iso_url }}.sig" - title="Get the latest PGP signature">PGP signature</a></li> - <li><a href="https://www.archlinux.org/{{ release.dir_path }}sha1sums.txt" - title="Get the latest SHA1 checksums">SHA1 checksums</a></li> - <li><a href="https://www.archlinux.org/{{ release.dir_path }}md5sums.txt" - title="Get the latest MD5 checksums">MD5 checksums</a></li> + title="PGP signature">PGP signature</a></li> + {% 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> {% cache 600 download-mirrors %} |