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/oscar/result_templates | |
parent | 42d5e2c02cd4715a0e09411efbb249ef5d8defed (diff) | |
download | searxng-9299355570e32c4d24d7274d716eca1a93119d13.tar.gz searxng-9299355570e32c4d24d7274d716eca1a93119d13.zip |
add seedpeer again
Diffstat (limited to 'searx/templates/oscar/result_templates')
-rw-r--r-- | searx/templates/oscar/result_templates/torrent.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/result_templates/torrent.html b/searx/templates/oscar/result_templates/torrent.html index f5ea415e2..089367e36 100644 --- a/searx/templates/oscar/result_templates/torrent.html +++ b/searx/templates/oscar/result_templates/torrent.html @@ -3,7 +3,7 @@ {{ result_header(result, favicons) }} {{ result_sub_header(result) }} -{% if result.seed %}<p class="result-content">{{ icon('transfer') }} {{ _('Seeder') }} <span class="badge">{{ result.seed }}</span> • {{ _('Leecher') }} <span class="badge">{{ result.leech }}</span>{% endif %} +{% if result.seed is defined %}<p class="result-content">{{ icon('transfer') }} {{ _('Seeder') }} <span class="badge">{{ result.seed }}</span> • {{ _('Leecher') }} <span class="badge">{{ result.leech }}</span>{% endif %} {% if result.filesize %}<br />{{ icon('floppy-disk') }} {{ _('Filesize') }} <span class="badge"> {% if result.filesize < 1024 %}{{ result.filesize }} {{ _('Bytes') }} |