From 77ba28cf505e7f0cdde294e8ad10f9c07db43f6a Mon Sep 17 00:00:00 2001 From: Cqoicebordel Date: Fri, 13 Feb 2015 01:03:18 +0100 Subject: Some RTL fixes - Pull the suggestions to the right in oscar - Add `‎` to a few places to print good url - Always LTR code display - Order pref label and info in pref for mobile view And add `sort` for ui languages and languages to find them more easily. --- searx/templates/oscar/macros.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'searx/templates/oscar/macros.html') diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index 42721a812..1ba1617a9 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -33,13 +33,14 @@ {% macro result_footer_rtl(result) -%}
{{ result.engine }} -

{{ result.pretty_url }}

+

{{ result.pretty_url }}‎

{%- endmacro %} {% macro preferences_item_header(info, label, rtl) -%} {% if rtl %}
- {{ info }} + + {{ info }}
{% else %}
@@ -51,7 +52,6 @@ {% macro preferences_item_footer(info, label, rtl) -%} {% if rtl %}
-
{% else %}
-- cgit v1.2.3