commit: 94ea67547aeaaa76ea7345bb77fd0a607ca1da09
parent 3e05570b327d8a296849cddd3643efb7d4fd289a
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Wed, 10 Dec 2014 18:20:20 +0100
HTML and usability corrections
Put the result URL at the top, like in other results template
Put the magnet link on the same line as the stats (peer/seed).
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/searx/templates/default/result_templates/torrent.html b/searx/templates/default/result_templates/torrent.html
@@ -1,7 +1,6 @@
<div class="result torrent_result">
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
- {% if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif %}
- <p class="stats">Seed: {{ result.seed }}, Leech: {{ result.leech }}</p>
- <p><a href="{{ result.magnetlink }}" class="magnetlink">magnet link</a></p>
<p class="url">{{ result.pretty_url }}</p>
+ {% if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif %}
+ <p><a href="{{ result.magnetlink }}" class="magnetlink">magnet link</a> - <span class="stats">Seed: {{ result.seed }}, Leech: {{ result.leech }}</span></p>
</div>