summaryrefslogtreecommitdiff
path: root/searx/templates/legacy
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2019-12-03 11:38:52 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2019-12-03 11:38:52 +0100
commit1b90e1403ba832672d8bde02e15a20834ee02e0e (patch)
tree09545a498e3fe172cf51cc85ba7c4afe8fba9a3c /searx/templates/legacy
parent52450fd08a3c70f6cc0ef806fc450f70dc867d49 (diff)
parent1bb46e5e377dee6a742b1d03876aa188d237bcb2 (diff)
Merge branch 'master' of https://github.com/asciimoo/searx into boilerplate
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 7a8ac33de..068e05373 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 %} -
- {% if result.seed %}<span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span>{% endif %}
+ {% if result.seed is defined %}<span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span>{% endif %}
</p>
</div>