diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2020-06-28 20:40:48 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2020-06-28 20:41:42 +0200 |
| commit | b51d4ec041c59001f8365904d799b5188ec60c3c (patch) | |
| tree | 729ab615cd98554c7f919103de71ee029b80abe9 /searx/templates/oscar/result_templates/torrent.html | |
| parent | f9f5974968ce767c24eea8c8a651d0e3945fc01b (diff) | |
[fix] add aria labels to result links - #350
Diffstat (limited to 'searx/templates/oscar/result_templates/torrent.html')
| -rw-r--r-- | searx/templates/oscar/result_templates/torrent.html | 8 |
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> • {{ _('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 %} |