summaryrefslogtreecommitdiff
path: root/searx/templates/courgette
diff options
context:
space:
mode:
authorMarc Abonce Seguin <marc-abonce@mailbox.org>2019-11-24 20:21:37 -0700
committerMarc Abonce Seguin <marc-abonce@mailbox.org>2019-11-24 22:01:44 -0700
commit9299355570e32c4d24d7274d716eca1a93119d13 (patch)
tree7d9da5b2ee4d3a479560c197848c4a30a361f12c /searx/templates/courgette
parent42d5e2c02cd4715a0e09411efbb249ef5d8defed (diff)
downloadsearxng-9299355570e32c4d24d7274d716eca1a93119d13.tar.gz
searxng-9299355570e32c4d24d7274d716eca1a93119d13.zip
add seedpeer again
Diffstat (limited to 'searx/templates/courgette')
-rw-r--r--searx/templates/courgette/result_templates/torrent.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/courgette/result_templates/torrent.html b/searx/templates/courgette/result_templates/torrent.html
index d659064d9..7f94a221e 100644
--- a/searx/templates/courgette/result_templates/torrent.html
+++ b/searx/templates/courgette/result_templates/torrent.html
@@ -4,7 +4,7 @@
{% endif %}
<h3 class="result_title"><a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.title|safe }}</a></h3>
{% if result.content %}<span class="content">{{ result.content|safe }}</span><br />{% endif %}
- {% if result.seed %}<span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span><br />{% endif %}
+ {% if result.seed is defined %}<span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span><br />{% endif %}
<span>
{% if result.magnetlink %}<a href="{{ result.magnetlink }}" class="magnetlink">{{ _('magnet link') }}</a>{% endif %}
{% if result.torrentfile %}<a href="{{ result.torrentfile }}" class="torrentfile" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ _('torrent file') }}</a>{% endif %}