diff options
| author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:20:20 +0100 |
|---|---|---|
| committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2014-12-10 18:20:20 +0100 |
| commit | 94ea67547aeaaa76ea7345bb77fd0a607ca1da09 (patch) | |
| tree | b94c167ea49f5a1a2e3f14fd90abdcef4da5a124 | |
| parent | 3e05570b327d8a296849cddd3643efb7d4fd289a (diff) | |
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).
| -rw-r--r-- | searx/templates/default/result_templates/torrent.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/searx/templates/default/result_templates/torrent.html b/searx/templates/default/result_templates/torrent.html index 6c62793a5..5925f1313 100644 --- 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> |