]>
Commit | Line | Data |
---|---|---|
1 | {% extends "base-1.html" %} | |
2 | ||
3 | {% block title %}{{ file.basename }} - {{ release.name }} - {{ _("Torrent download") }}{% end block %} | |
4 | ||
5 | {% block body %} | |
6 | <div class="page-header"> | |
7 | <h1> | |
8 | {{ file.basename }} | |
9 | <small>{{ release.name }}</small> | |
10 | </h1> | |
11 | </div> | |
12 | ||
13 | <p class="pull-right"> | |
14 | <a class="btn" href="{{ file.magnet_link }}"> | |
15 | <i class="icon-magnet"></i> {{ _("Magnet link") }} | |
16 | </a> | |
17 | <a class="btn" href="http://tracker.ipfire.org/{{ file.torrent_hash }}/download"> | |
18 | <i class="icon-download-alt"></i> {{ _("Torrent download") }} | |
19 | </a> | |
20 | </p> | |
21 | ||
22 | {% if peers %} | |
23 | <h3>{{ _("Peers") }}</h3> | |
24 | {{ modules.TrackerPeerList(peers, percentages=True) }} | |
25 | {% end %} | |
26 | ||
27 | {% if seeds %} | |
28 | <h3>{{ _("Seeds") }}</h3> | |
29 | {{ modules.TrackerPeerList(seeds) }} | |
30 | {% end %} | |
31 | {% end block %} |