summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/result_templates/code.html
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/code.html
parentc711212662996e232a1d3bc692f6f765e1467125 (diff)
Merge branch 'rtl' of github.com:Cqoicebordel/searx
Diffstat (limited to 'searx/templates/oscar/result_templates/code.html')
-rw-r--r--searx/templates/oscar/result_templates/code.html6
1 files changed, 5 insertions, 1 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 %}