mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
remove extra condition
This commit is contained in:
parent
2fc9535710
commit
c84e0ffbdb
1 changed files with 18 additions and 22 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
{% extends "layout/default" %}
|
{% extends "layout/default" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if torrent %}
|
<div>
|
||||||
<div>
|
|
||||||
<h1>{% if torrent.name %}{{ torrent.name }}{% else %}{{ info_hash }}{% endif %}</h1>
|
<h1>{% if torrent.name %}{{ torrent.name }}{% else %}{{ info_hash }}{% endif %}</h1>
|
||||||
{% if torrent.comment %}<p>{{ torrent.comment }}</p>{% endif %}
|
{% if torrent.comment %}<p>{{ torrent.comment }}</p>{% endif %}
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -20,8 +19,5 @@
|
||||||
<a rel="nofollow" href="{{ torrent.magnet }}" title="Get magnet" class="action magnet"></a>
|
<a rel="nofollow" href="{{ torrent.magnet }}" title="Get magnet" class="action magnet"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
|
||||||
<div>Nothing.</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue