mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
37 lines
No EOL
1.8 KiB
Text
37 lines
No EOL
1.8 KiB
Text
{% extends "layout/default" %}
|
|
{% block content %}
|
|
{% if rows %}
|
|
{% for row in rows %}
|
|
<div>
|
|
<a name="{{ row.torrent.info_hash }}"></a>
|
|
<h2><a href="/{{ row.torrent.info_hash }}">{{ row.torrent.name }}</a></h2>
|
|
{% if row.torrent.comment %}<p>{{ row.torrent.comment }}</p>{% endif %}
|
|
<div>
|
|
<ul>
|
|
<li><span title="Indexed">{{ row.indexed }}</span></li>
|
|
{% if row.created %}<li><span title="Created">({{ row.created }})</span></li>{% endif %}
|
|
<li><span title="Size">{{ row.size }}</span></li>
|
|
{% if row.files %}<li><span title="Files">{{ row.files }} file{{ row.files | pluralize(plural="s") }}</span></li>{% endif %}
|
|
{% if row.scrape %}
|
|
<li><span title="Seeders" class="seeders">{{ row.scrape.seeders }}</span></li>
|
|
<li><span title="Peers" class="peers">{{ row.scrape.peers }}</span></li>
|
|
<li><span title="Leechers" class="leechers">{{ row.scrape.leechers }}</span></li>
|
|
{% endif %}
|
|
</ul>
|
|
<div>
|
|
<a rel="nofollow" href="{{ row.magnet }}" title="Get magnet" class="action magnet"></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
{% else %}
|
|
<div>Nothing.</div>
|
|
{% endif %}
|
|
{% if next %}<a href="{{ next }}">Next</a>{% endif %}
|
|
{% if back %}<a href="{{ back }}">Back</a>{% endif %}
|
|
{% if total %}
|
|
<span>
|
|
Page {{ page }} / {{ pages }} ({{ total }} torrent{{ total | pluralize(plural="s") }} total)
|
|
</span>
|
|
{% endif %}
|
|
{% endblock content %} |