diff options
| author | Pydo <pydo@tutanota.com> | 2016-09-05 14:56:53 -0400 |
|---|---|---|
| committer | Pydo <pydo@tutanota.com> | 2016-09-05 14:56:53 -0400 |
| commit | 41ce76e9c90258d97566c1f2bcf7902449c0fff0 (patch) | |
| tree | 3f60941d3aa1dd4c9c1c598a80472c6c07b1b08e /searx/templates/default/result_templates/torrent.html | |
| parent | 2c2123b2e8f87178dadbf82b2cefbcef483c41a7 (diff) | |
| parent | 465d47283fa934eb08efab897cb9fcdcf29b21c5 (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration
Diffstat (limited to 'searx/templates/default/result_templates/torrent.html')
| -rw-r--r-- | searx/templates/default/result_templates/torrent.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/default/result_templates/torrent.html b/searx/templates/default/result_templates/torrent.html index 4b2522ad0..67e058ae5 100644 --- a/searx/templates/default/result_templates/torrent.html +++ b/searx/templates/default/result_templates/torrent.html @@ -2,12 +2,12 @@ {% 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 }}" rel="noreferrer">{{ result.title|safe }}</a></h3> + <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> <p class="url">{{ result.pretty_url }}‎</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 }}" rel="noreferrer" class="torrentfile">{{ _('torrent file') }}</a>{% endif %} - + {% if result.torrentfile %}<a href="{{ result.torrentfile }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="torrentfile">{{ _('torrent file') }}</a>{% endif %} - <span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span> </p> </div> |