diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-16 12:24:38 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-16 12:24:38 +0100 |
| commit | 3fd562ccd7af1fa7ea057e6f437910a29d14b9a9 (patch) | |
| tree | 2fbcfb0d6b42dc40a969b91cad731f3f31251a6f /searx/templates/courgette/result_templates/torrent.html | |
| parent | 81a77f8a1753c0f2f4e3ffb3aa421e0645a3f6e6 (diff) | |
| parent | 2fc1de54da6c81ab99240b2f69319dfc62d6dd2e (diff) | |
Merge pull request #176 from Cqoicebordel/courgette-UXUI
Courgette theme - UIUX
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 |