This commit is contained in:
Michel Roux 2019-12-12 22:29:55 +01:00
parent 75167d9e0b
commit 872dd984b3

View File

@ -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>&nbsp;</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>&nbsp;</i>
{{ torrent.lang.value }}
<a href="{{ torrent.href }}" target="_blank">
{{ torrent.name|boldify|safe }}
</a>
</td>
<td>
{{ torrent.link|safe }}
{{ torrent.comment|safe }}