diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-03-16 18:07:00 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-03-19 15:09:13 +0100 |
commit | 2841abaf5571328fd4b4d433f9854aa6908b58cd (patch) | |
tree | 815cc1ac1d148dea2192372a618ca3ecea84cf53 /searx/templates/oscar | |
parent | 7625da9fa02d0c2bb2c2bc618a41b245b9e2987f (diff) | |
download | searxng-2841abaf5571328fd4b4d433f9854aa6908b58cd.tar.gz searxng-2841abaf5571328fd4b4d433f9854aa6908b58cd.zip |
[mod] add flags to the languages filter
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/oscar')
-rw-r--r-- | searx/templates/oscar/languages.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/oscar/languages.html b/searx/templates/oscar/languages.html index 0846caa96..c0ecb440e 100644 --- a/searx/templates/oscar/languages.html +++ b/searx/templates/oscar/languages.html @@ -2,7 +2,7 @@ <label class="visually-hidden" for="language">{{ _('Language') }}</label> <select class="language form-control {{ custom_select_class(rtl) }}" id="language" name="language" accesskey="l"> <option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Default language') }}</option> -{%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%} +{%- for lang_id,lang_name,country_name,english_name,flag in language_codes | sort(attribute=1) -%} <option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}> {{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %}- {{ lang_id -}} </option> |