diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2020-06-09 00:31:52 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2020-06-09 00:31:52 +0200 |
| commit | f0819e8826b2e8c694172296292a30198e3e60c1 (patch) | |
| tree | 7fde72af304c7c7bb53da7d557fdcde47ad51f7f /searx/templates/legacy/result_templates/videos.html | |
| parent | c6ca468df2cf0813619eb67912d3b34ac8fdfac6 (diff) | |
[enh] add engine names to results as classes - closes #670
Diffstat (limited to 'searx/templates/legacy/result_templates/videos.html')
| -rw-r--r-- | searx/templates/legacy/result_templates/videos.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/legacy/result_templates/videos.html b/searx/templates/legacy/result_templates/videos.html index 727f44c71..50f4d1e98 100644 --- a/searx/templates/legacy/result_templates/videos.html +++ b/searx/templates/legacy/result_templates/videos.html @@ -1,4 +1,4 @@ -<div class="result"> +<div class="result{% for e in result.engines %} {{ e }}{% endfor %}"> <h3 class="result_title">{% 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 %}<a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.title|safe }}</a></h3> {% if result.publishedDate %}<span class="published_date">{{ result.publishedDate }}</span><br />{% endif %} <a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}><img class="thumbnail" src="{{ image_proxify(result.thumbnail) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/></a> |