diff options
| author | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-16 00:56:54 +0100 |
|---|---|---|
| committer | Cqoicebordel <Cqoicebordel@users.noreply.github.com> | 2015-01-16 00:56:54 +0100 |
| commit | 2fc1de54da6c81ab99240b2f69319dfc62d6dd2e (patch) | |
| tree | d72b4b67d5a7e29924e1a4979a74c37729aa380f /searx/templates/courgette/result_templates/torrent.html | |
| parent | 14447a0761220ec352c889c9bc3d4ba22ee3494e (diff) | |
Lots of courgette modification
Diffstat (limited to 'searx/templates/courgette/result_templates/torrent.html')
| -rw-r--r-- | searx/templates/courgette/result_templates/torrent.html | 14 |
1 files changed, 10 insertions, 4 deletions
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 @@ <div class="result torrent_result"> + {% if "icon_"~result.engine~".ico" in favicons %} + <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" /> + {% endif %} <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> + {% if result.content %}<span class="content">{{ result.content|safe }}</span><br />{% endif %} + <span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span><br /> + <span> + {% if result.magnetlink %}<a href="{{ result.magnetlink }}" class="magnetlink">{{ _('magnet link') }}</a>{% endif %} + {% if result.torrentfile %}<a href="{{ result.torrentfile }}" class="torrentfile">{{ _('torrent file') }}</a>{% endif %} + </span> <p class="url">{{ result.pretty_url }}</p> -</div> +</div>
\ No newline at end of file |