From 67bd68b5e56a2285bc9cd39cf2e206f95fe1ab2b Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Mon, 5 Jan 2015 20:25:47 +0100 Subject: [PATCH] Put media above result content Mimick more closely usual video viewer (video above, details below) --- .../templates/oscar/result_templates/default.html | 4 ++-- searx/templates/oscar/result_templates/videos.html | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html index 3e58588cc..25506b2f5 100644 --- a/searx/templates/oscar/result_templates/default.html +++ b/searx/templates/oscar/result_templates/default.html @@ -9,8 +9,6 @@ {% endif %} -{% if result.content %}

{{ result.content|safe }}

{% endif %} - {% if result.embedded %}
{% autoescape false %} @@ -19,6 +17,8 @@
{% endif %} +{% if result.content %}

{{ result.content|safe }}

{% endif %} +
{{ result.engine }} diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html index 187f5dfed..32000e662 100644 --- a/searx/templates/oscar/result_templates/videos.html +++ b/searx/templates/oscar/result_templates/videos.html @@ -9,13 +9,6 @@ {% endif %} -
-
- {{ result.title|striptags }} {{ result.engine }} - {% if result.content %}

{{ result.content|safe }}

{% endif %} -
-
- {% if result.embedded %}
{% autoescape false %} @@ -24,6 +17,13 @@
{% endif %} +
+
+ {{ result.title|striptags }} {{ result.engine }} + {% if result.content %}

{{ result.content|safe }}

{% endif %} +
+
+
{{ result.engine }}