From 032f9bb1c9f8b9b949cd294b47cc63bae5c89ef2 Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Wed, 21 Jan 2015 18:03:11 +0100 Subject: [PATCH] Revert some wrong merge to allow torrents links to be visible --- searx/templates/oscar/macros.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index df604707d..9b253ad93 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -18,6 +18,8 @@ {% macro result_sub_header(result) -%} {% if result.publishedDate %}{% endif %} {{ icon('link') }} {{ _('cached') }} + {% if result.magnetlink %}{{ icon('magnet') }} {{ _('magnet link') }}{% endif %} + {% if result.torrentfile %}{{ icon('download-alt') }} {{ _('torrent file') }}{% endif %} {%- endmacro %}