summaryrefslogtreecommitdiff
path: root/searx/templates/default/result_templates/torrent.html
blob: b91babfc6835d86eaa52287fd1f0e1353a106e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>
    <p class="url">{{ result.pretty_url }}&lrm;</p>
    {% if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif %}
    <p>
        {% 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 class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span>
    </p>
</div>