summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-02-10 15:23:56 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-02-10 15:23:56 +0100
commitdf9cf9d09bf4496a9e5d799bd99437a3224a06d4 (patch)
treef5e02ae4c0446f703e5c6c112d631add591a693f /searx/templates/oscar/result_templates
parentc711212662996e232a1d3bc692f6f765e1467125 (diff)
downloadsearxng-df9cf9d09bf4496a9e5d799bd99437a3224a06d4.tar.gz
searxng-df9cf9d09bf4496a9e5d799bd99437a3224a06d4.zip
Merge branch 'rtl' of github.com:Cqoicebordel/searx
Diffstat (limited to 'searx/templates/oscar/result_templates')
-rw-r--r--searx/templates/oscar/result_templates/code.html6
-rw-r--r--searx/templates/oscar/result_templates/default.html6
-rw-r--r--searx/templates/oscar/result_templates/map.html6
-rw-r--r--searx/templates/oscar/result_templates/torrent.html6
-rw-r--r--searx/templates/oscar/result_templates/videos.html4
5 files changed, 24 insertions, 4 deletions
diff --git a/searx/templates/oscar/result_templates/code.html b/searx/templates/oscar/result_templates/code.html
index e608bb04f..0ec0983b3 100644
--- a/searx/templates/oscar/result_templates/code.html
+++ b/searx/templates/oscar/result_templates/code.html
@@ -1,4 +1,4 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
+{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
{{ result_header(result, favicons) }}
{{ result_sub_header(result) }}
@@ -9,4 +9,8 @@
{{ result.codelines|code_highlighter(result.code_language)|safe }}
+{% if rtl %}
+{{ result_footer_rtl(result) }}
+{% else %}
{{ result_footer(result) }}
+{% endif %}
diff --git a/searx/templates/oscar/result_templates/default.html b/searx/templates/oscar/result_templates/default.html
index 2be06642a..fc61b8ce0 100644
--- a/searx/templates/oscar/result_templates/default.html
+++ b/searx/templates/oscar/result_templates/default.html
@@ -1,4 +1,4 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
+{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
{{ result_header(result, favicons) }}
{{ result_sub_header(result) }}
@@ -15,4 +15,8 @@
{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
+{% if rtl %}
+{{ result_footer_rtl(result) }}
+{% else %}
{{ result_footer(result) }}
+{% endif %}
diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html
index a2843525f..2e679e84d 100644
--- a/searx/templates/oscar/result_templates/map.html
+++ b/searx/templates/oscar/result_templates/map.html
@@ -1,4 +1,4 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
+{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
{{ result_header(result, favicons) }}
{{ result_sub_header(result) }}
@@ -65,4 +65,8 @@
</div>
{% endif %}
+{% if rtl %}
+{{ result_footer_rtl(result) }}
+{% else %}
{{ result_footer(result) }}
+{% endif %}
diff --git a/searx/templates/oscar/result_templates/torrent.html b/searx/templates/oscar/result_templates/torrent.html
index 53d8ed6fa..bc2b30fbe 100644
--- a/searx/templates/oscar/result_templates/torrent.html
+++ b/searx/templates/oscar/result_templates/torrent.html
@@ -1,4 +1,4 @@
-{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, icon %}
+{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
{{ result_header(result, favicons) }}
{{ result_sub_header(result) }}
@@ -18,4 +18,8 @@
</p>
+{% if rtl %}
+{{ result_footer_rtl(result) }}
+{% else %}
{{ result_footer(result) }}
+{% endif %}
diff --git a/searx/templates/oscar/result_templates/videos.html b/searx/templates/oscar/result_templates/videos.html
index 2cf8b61df..87fe25afe 100644
--- a/searx/templates/oscar/result_templates/videos.html
+++ b/searx/templates/oscar/result_templates/videos.html
@@ -20,4 +20,8 @@
</div>
</div>
+{% if rtl %}
+{{ result_footer_rtl(result) }}
+{% else %}
{{ result_footer(result) }}
+{% endif %}