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/default/result_templates/code.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'searx/templates/default/result_templates/code.html') diff --git a/searx/templates/default/result_templates/code.html b/searx/templates/default/result_templates/code.html index 751fb3b56..78eda1884 100644 --- a/searx/templates/default/result_templates/code.html +++ b/searx/templates/default/result_templates/code.html @@ -1,9 +1,11 @@

{% if result['favicon'] %}{{result['favicon']}}{% endif %}{{ result.title|safe }}

-

{{ result.pretty_url }} {{ _('cached') }}

+

{{ result.pretty_url }}‎ {{ _('cached') }}

{% if result.publishedDate %}

{{ result.publishedDate }}

{% endif %}

{% if result.img_src %}{% endif %}{% if result.content %}{{ result.content|safe }}
{% endif %}

{% if result.repository %}

{{ result.repository }}

{% endif %} - + +
{{ result.codelines|code_highlighter(result.code_language)|safe }} +
-- cgit v1.2.3