]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - templates/tracker-torrent-detail.html
Images
[people/shoehn/ipfire.org.git] / templates / tracker-torrent-detail.html
index a4d8c52da0123b259fcd4bd3535ddceefcb20d43..0bdff532ae96f7f573a4c9bc0dc57cc29534ef39 100644 (file)
        </div>
 
        <p class="pull-right">
-               <a class="btn" href="{{ file.magnet_link }}">
-                       <i class="icon-magnet"></i> {{ _("Magnet link") }}
+               <a class="btn btn-default" href="{{ file.magnet_link }}">
+                       <i class="glyphicon glyphicon-magnet"></i> {{ _("Magnet link") }}
                </a>
-               <a class="btn" href="http://tracker.ipfire.org/{{ file.torrent_hash }}/download">
-                       <i class="icon-download-alt"></i> {{ _("Torrent download") }}
+               <a class="btn btn-default" href="http://tracker.ipfire.org/{{ file.torrent_hash }}/download">
+                       <i class="glyphicon glyphicon-download-alt"></i> {{ _("Torrent download") }}
                </a>
        </p>
 
        {% if peers %}
-               <h3>{{ _("Peers") }}</h3>
-               {{ modules.TrackerPeerList(peers, percentages=True) }}
-       {% end %}
-
-       {% if seeds %}
-               <h3>{{ _("Seeds") }}</h3>
-               {{ modules.TrackerPeerList(seeds) }}
+               <h3>{{ _("Peers & Seeds") }}</h3>
+               {% module TrackerPeerList(peers) %}
        {% end %}
 {% end block %}