summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/torrent.html
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2020-06-29 06:14:42 +0000
committerGitHub <noreply@github.com>2020-06-29 06:14:42 +0000
commitbdd24a6e7100d6df44400ca792b0468e4993a317 (patch)
tree0a42e07e87a0cf27f5b47cc644763aa68e27205b /searx/templates/oscar/result_templates/torrent.html
parentc9795ad01f62babd282074d1d6e836b3e66ad564 (diff)
parente39ad892de49b93d39df893f3b134387b3a933b2 (diff)
Merge branch 'master' into blog-dev-in-lxc
Diffstat (limited to 'searx/templates/oscar/result_templates/torrent.html')
-rw-r--r--searx/templates/oscar/result_templates/torrent.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/oscar/result_templates/torrent.html b/searx/templates/oscar/result_templates/torrent.html
index 089367e36..0bba61417 100644
--- a/searx/templates/oscar/result_templates/torrent.html
+++ b/searx/templates/oscar/result_templates/torrent.html
@@ -1,7 +1,7 @@
{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
-{{ result_header(result, favicons) }}
-{{ result_sub_header(result) }}
+{{ result_header(result, favicons, loop.index) }}
+{{ result_sub_header(result, loop.index) }}
{% if result.seed is defined %}<p class="result-content">{{ icon('transfer') }} {{ _('Seeder') }} <span class="badge">{{ result.seed }}</span> &bull; {{ _('Leecher') }} <span class="badge">{{ result.leech }}</span>{% endif %}
{% if result.filesize %}<br />{{ icon('floppy-disk') }} {{ _('Filesize') }}
@@ -19,7 +19,7 @@
</p>
{% if rtl %}
-{{ result_footer_rtl(result) }}
+{{ result_footer_rtl(result, loop.index) }}
{% else %}
-{{ result_footer(result) }}
+{{ result_footer(result, loop.index) }}
{% endif %}