From 2fc1de54da6c81ab99240b2f69319dfc62d6dd2e Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Fri, 16 Jan 2015 00:56:54 +0100 Subject: Lots of courgette modification --- searx/templates/courgette/result_templates/torrent.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'searx/templates/courgette/result_templates/torrent.html') diff --git a/searx/templates/courgette/result_templates/torrent.html b/searx/templates/courgette/result_templates/torrent.html index 6c62793a5..607c1de02 100644 --- a/searx/templates/courgette/result_templates/torrent.html +++ b/searx/templates/courgette/result_templates/torrent.html @@ -1,7 +1,13 @@
+ {% if "icon_"~result.engine~".ico" in favicons %} + {{result.engine}} + {% endif %}

{{ result.title|safe }}

- {% if result.content %}

{{ result.content|safe }}

{% endif %} -

Seed: {{ result.seed }}, Leech: {{ result.leech }}

-

magnet link

+ {% if result.content %}{{ result.content|safe }}
{% endif %} + {{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}
+ + {% if result.magnetlink %}{{ _('magnet link') }}{% endif %} + {% if result.torrentfile %}{{ _('torrent file') }}{% endif %} +

{{ result.pretty_url }}

-
+ \ No newline at end of file -- cgit v1.2.3