From c54a0e81ff3c44c79d0d4cab3d4022efa0cbdcd5 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Wed, 3 Jun 2020 13:49:20 +0200 Subject: [PATCH] [enh] add shortcut column to search engines table in preferences - fixes #230 --- searx/templates/courgette/preferences.html | 4 +++- searx/templates/legacy/preferences.html | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/searx/templates/courgette/preferences.html b/searx/templates/courgette/preferences.html index 56a6e0202..c67f7662b 100644 --- a/searx/templates/courgette/preferences.html +++ b/searx/templates/courgette/preferences.html @@ -98,6 +98,7 @@ + @@ -106,7 +107,8 @@ {% if not search_engine.private %} - + +
{{ _('Engine name') }}{{ _('Shortcut') }} {{ _('Category') }} {{ _('Allow') }} / {{ _('Block') }}
{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})‎{{ search_engine.name }}{{ shortcuts[search_engine.name] }} {{ _(categ) }} diff --git a/searx/templates/legacy/preferences.html b/searx/templates/legacy/preferences.html index f418dcd5b..414b3f6c0 100644 --- a/searx/templates/legacy/preferences.html +++ b/searx/templates/legacy/preferences.html @@ -95,6 +95,7 @@ + @@ -103,7 +104,8 @@ {% if not search_engine.private %} - + +
{{ _('Engine name') }}{{ _('Shortcut') }} {{ _('Category') }} {{ _('Allow') }} / {{ _('Block') }}
{{ search_engine.name }} ({{ shortcuts[search_engine.name] }})‎{{ search_engine.name }}{{ shortcuts[search_engine.name] }} {{ _(categ) }}