diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-15 18:57:08 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-15 18:57:08 +0100 |
| commit | 75bd4556f8cca8c39799fdee02739408a4d84cfa (patch) | |
| tree | 8e2545b9953f6d7f1e94d5aad85cab75295c590d /searx/templates/oscar/result_templates/videos.html | |
| parent | c5599e3c7c790ac2674b68f99919c0ec284327a3 (diff) | |
| parent | fe5ff5137711e6f8799e3e635543e75ad8fbe331 (diff) | |
Merge branch 'pointhi-code_results'
Diffstat (limited to 'searx/templates/oscar/result_templates/videos.html')
| -rw-r--r-- | searx/templates/oscar/result_templates/videos.html | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html index 7e773c673..b9e6881da 100644 --- a/searx/templates/oscar/result_templates/videos.html +++ b/searx/templates/oscar/result_templates/videos.html @@ -1,9 +1,7 @@ -{% from 'oscar/macros.html' import icon %}
+{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
-<h4 class="result_header">{% if result.engine~".png" in favicons %}<img width="32" height="32" class="favicon" src="{{ url_for('static', filename='img/icons/'+result.engine+'.png') }}" alt="{{ result.engine }}" /> {% endif %}<a href="{{ result.url }}">{{ result.title|safe }}</a></h4>
-
-{% if result.publishedDate %}<time class="text-muted" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}
-<small><a class="text-info" href="https://web.archive.org/web/{{ result.url }}">{{ icon('link') }} {{ _('cached') }}</a></small>
+{{ result_header(result, favicons) }}
+{{ result_sub_header(result) }}
{% if result.embedded %}
<small> • <a class="text-info btn-collapse collapsed cursor-pointer media-loader disabled_if_nojs" data-toggle="collapse" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}">{{ icon('film') }} {{ _('show video') }}</a></small>
@@ -22,7 +20,4 @@ </div>
</div>
-<div class="clearfix"></div>
-
-<span class="label label-default pull-right">{{ result.engine }}</span>
-<p class="text-muted">{{ result.pretty_url }}</p>
+{{ result_footer(result) }}
|