summaryrefslogtreecommitdiff
path: root/searx/templates/legacy
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2019-07-25 06:40:48 +0000
committerAlexandre Flament <alex@al-f.net>2019-07-25 08:40:48 +0200
commiteb182df1324f84d6864f324551fe6be7c535e451 (patch)
tree90df3f071b6c8ee7ecbd3d6d8a6e201b3583ca47 /searx/templates/legacy
parent3b1122c5fa1bbac49f6e0eb9ff69efb8dca996ea (diff)
downloadsearxng-eb182df1324f84d6864f324551fe6be7c535e451.tar.gz
searxng-eb182df1324f84d6864f324551fe6be7c535e451.zip
[mod] restore btdigg engine as btdig.com (#1515)
Diffstat (limited to 'searx/templates/legacy')
-rw-r--r--searx/templates/legacy/result_templates/torrent.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/legacy/result_templates/torrent.html b/searx/templates/legacy/result_templates/torrent.html
index 67e058ae5..7a8ac33de 100644
--- a/searx/templates/legacy/result_templates/torrent.html
+++ b/searx/templates/legacy/result_templates/torrent.html
@@ -8,6 +8,6 @@
<p>
{% if result.magnetlink %}<a href="{{ result.magnetlink }}" class="magnetlink">{{ _('magnet link') }}</a>{% endif %}
{% if result.torrentfile %}<a href="{{ result.torrentfile }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="torrentfile">{{ _('torrent file') }}</a>{% endif %} -
- <span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span>
+ {% if result.seed %}<span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span>{% endif %}
</p>
</div>