diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index cd4070d05..3466df006 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -173,23 +173,23 @@
{{ _("Allow") }} | -{{ _("Engine name") }} | -{{ _("Shortcut") }} | -{{ _("Selected language") }} | -{{ _("SafeSearch") }} | -{{ _("Time range") }} | -{{ _("Avg. time") }} | -{{ _("Max time") }} | +{{ _("Allow") }} | +{{ _("Engine name") }} | +{{ _("Shortcut") }} | +{{ _("Selected language") }} | +{{ _("SafeSearch") }} | +{{ _("Time range") }} | +{{ _("Avg. time") }} | +{{ _("Max time") }} | {% else %} -{{ _("Max time") }} | -{{ _("Avg. time") }} | -{{ _("Time range") }} | -{{ _("SafeSearch") }} | -{{ _("Selected language") }} | -{{ _("Shortcut") }} | -{{ _("Engine name") }} | -{{ _("Allow") }} | +{{ _("Max time") }} | +{{ _("Avg. time") }} | +{{ _("Time range") }} | +{{ _("SafeSearch") }} | +{{ _("Selected language") }} | +{{ _("Shortcut") }} | +{{ _("Engine name") }} | +{{ _("Allow") }} | {% endif %}{{ checkbox_toggle('engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_'), (search_engine.name, categ) in disabled_engines) }} | -{{ search_engine.name }} | +{{ search_engine.name }} | {{ shortcuts[search_engine.name] }} | {{ support_toggle(stats[search_engine.name].supports_selected_language) }} | {{ support_toggle(search_engine.safesearch==True) }} | @@ -213,7 +213,7 @@{{ support_toggle(search_engine.safesearch==True) }} | {{ support_toggle(stats[search_engine.name].supports_selected_language) }} | {{ shortcuts[search_engine.name] }} | -{{ search_engine.name }} | +{{ search_engine.name }} | {{ checkbox_toggle('engine_' + search_engine.name|replace(' ', '_') + '__' + categ|replace(' ', '_'), (search_engine.name, categ) in disabled_engines) }} |
---|