Commit 096bbbfb authored by sajolida's avatar sajolida
Browse files

Download the torrent file for either the ISO image or the USB image

parent 4d0a6303
https://tails.boum.org/torrents/files/tails-amd64-3.8.img.torrent
https://tails.boum.org/torrents/files/tails-amd64-3.8.iso.torrent
https://tails.boum.org/torrents/files/tails-amd64-3.8.torrent
......@@ -282,7 +282,10 @@ document.addEventListener("DOMContentLoaded", function() {
}
// Display "Verify with BitTorrent" when Torrent file is clicked
document.getElementById("download-torrent").onclick = function() {
document.getElementById("download-img-torrent").onclick = function() { displayBitTorrentVerification(); }
document.getElementById("download-iso-torrent").onclick = function() { displayBitTorrentVerification(); }
function displayBitTorrentVerification() {
toggleDirectBitTorrent("bittorrent");
}
......
......@@ -231,7 +231,12 @@
<div id="step-download-torrent">
<h3><span class="step-number"><span class="debian windows linux mac-usb mac-dvd upgrade-tails">1.</span>1</span>Download Tails (Torrent file)</h3>
<a href="[[!inline pages="inc/stable_amd64_torrent_url" raw="yes" sort="age"]]" id="download-torrent" class="btn btn-primary inline-block indent">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] Torrent file</a>
<div class="debian windows linux mac-usb upgrade-tails">
<a href="[[!inline pages="inc/stable_amd64_img_torrent_url" raw="yes" sort="age"]]" id="download-img-torrent" class="btn btn-primary inline-block indent">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] Torrent file for USB image</a>
</div>
<div class="mac-dvd dvd vm">
<a href="[[!inline pages="inc/stable_amd64_iso_torrent_url" raw="yes" sort="age"]]" id="download-iso-torrent" class="btn btn-primary inline-block indent">Download Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]] Torrent file for ISO image</a>
</div>
</div>
<div id="step-verify-bittorrent">
......@@ -246,8 +251,10 @@
<span class="download-only">installing or upgrading</span></h3>
<p class="debian windows linux mac-usb mac-dvd dvd vm upgrade-tails indent">Open and download
the Torrent file with your BitTorrent client. It contains the
Tails [[!inline pages="inc/stable_amd64_version" raw="yes"
sort="age"]] ISO image that you will use in the next step.</p>
Tails [[!inline pages="inc/stable_amd64_version" raw="yes" sort="age"]]
<span class="debian windows linux mac-usb mac-dvd upgrade-tails">USB</span>
<span class="debian windows linux mac-usb mac-dvd upgrade-tails">ISO</span>
image that you will use in the next step.</p>
</div>
<div id="continue-link-bittorrent" class="indent">
<div id="skip-download-bittorrent">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment