Better
This commit is contained in:
parent
75167d9e0b
commit
872dd984b3
@ -23,9 +23,7 @@
|
||||
|
||||
{% for torrent in torrents %}
|
||||
<tr class="{{ torrent.class }}">
|
||||
|
||||
{% if torrent.self.is_light %}
|
||||
<td colspan="3">
|
||||
<td colspan="{{ '3' if torrent.self.is_light else '' }}">
|
||||
<img class="favicon"
|
||||
src="{{ url_for('static', filename='favicons/%s' % torrent.self.favicon) }}" alt="">
|
||||
<i> </i>
|
||||
@ -34,6 +32,8 @@
|
||||
{{ torrent.name|boldify|safe }}
|
||||
</a>
|
||||
</td>
|
||||
|
||||
{% if torrent.self.is_light %}
|
||||
<td>
|
||||
{{ torrent.date }}
|
||||
</td>
|
||||
@ -41,15 +41,6 @@
|
||||
{{ torrent.type }}
|
||||
</td>
|
||||
{% else %}
|
||||
<td>
|
||||
<img class="favicon"
|
||||
src="{{ url_for('static', filename='favicons/%s' % torrent.self.favicon) }}" alt="">
|
||||
<i> </i>
|
||||
{{ torrent.lang.value }}
|
||||
<a href="{{ torrent.href }}" target="_blank">
|
||||
{{ torrent.name|boldify|safe }}
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
{{ torrent.link|safe }}
|
||||
{{ torrent.comment|safe }}
|
||||
|
Reference in New Issue
Block a user