diff options
| author | Marc Abonce Seguin <marc-abonce@mailbox.org> | 2019-11-24 20:21:37 -0700 |
|---|---|---|
| committer | Marc Abonce Seguin <marc-abonce@mailbox.org> | 2019-11-24 22:01:44 -0700 |
| commit | 9299355570e32c4d24d7274d716eca1a93119d13 (patch) | |
| tree | 7d9da5b2ee4d3a479560c197848c4a30a361f12c /searx/templates/legacy | |
| parent | 42d5e2c02cd4715a0e09411efbb249ef5d8defed (diff) | |
add seedpeer again
Diffstat (limited to 'searx/templates/legacy')
| -rw-r--r-- | searx/templates/legacy/result_templates/torrent.html | 2 |
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> |