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