]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - templates/tracker-torrent-detail.html
Rewrite geo load balancing.
[people/shoehn/ipfire.org.git] / templates / tracker-torrent-detail.html
CommitLineData
940227cb
MT
1{% extends "base-1.html" %}
2
938d083d 3{% block title %}{{ file.basename }} - {{ release.name }} - {{ _("Torrent download") }}{% end block %}
940227cb 4
60024cc8
MT
5{% block body %}
6 <div class="page-header">
938d083d
MT
7 <h1>
8 {{ file.basename }}
9 <small>{{ release.name }}</small>
10 </h1>
940227cb 11 </div>
940227cb 12
938d083d 13 <p class="pull-right">
b11c673b 14 <a class="btn btn-default" href="{{ file.magnet_link }}">
15 <i class="glyphicon glyphicon-magnet"></i> {{ _("Magnet link") }}
938d083d 16 </a>
b11c673b 17 <a class="btn btn-default" href="http://tracker.ipfire.org/{{ file.torrent_hash }}/download">
18 <i class="glyphicon glyphicon-download-alt"></i> {{ _("Torrent download") }}
938d083d
MT
19 </a>
20 </p>
60024cc8 21
938d083d 22 {% if peers %}
60024cc8 23 <h3>{{ _("Peers") }}</h3>
6b6308b0 24 {% module TrackerPeerList(peers, percentages=True) %}
60024cc8
MT
25 {% end %}
26
938d083d 27 {% if seeds %}
60024cc8 28 <h3>{{ _("Seeds") }}</h3>
6b6308b0 29 {% module TrackerPeerList(seeds) %}
60024cc8
MT
30 {% end %}
31{% end block %}