1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-06 13:20:11 +01:00
searxng/searx/templates/courgette/result_templates/torrent.html

14 lines
1.1 KiB
HTML
Raw Normal View History

2014-08-18 10:44:46 +02:00
<div class="result torrent_result">
2015-01-16 00:56:54 +01:00
{% 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 }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.title|safe }}</a></h3>
2015-01-16 00:56:54 +01:00
{% if result.content %}<span class="content">{{ result.content|safe }}</span><br />{% endif %}
{% if result.seed %}<span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span><br />{% endif %}
2015-01-16 00:56:54 +01:00
<span>
{% if result.magnetlink %}<a href="{{ result.magnetlink }}" class="magnetlink">{{ _('magnet link') }}</a>{% endif %}
{% if result.torrentfile %}<a href="{{ result.torrentfile }}" class="torrentfile" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ _('torrent file') }}</a>{% endif %}
2015-01-16 00:56:54 +01:00
</span>
<p class="url">{{ result.pretty_url }}&lrm;</p>
</div>