1
0
mirror of https://github.com/searx/searx synced 2024-12-02 15:10:21 +01:00

[fix] add label/info to Time range search and Language - #350

This commit is contained in:
Adam Tauber 2020-06-25 18:29:13 +02:00
parent cc164abdfc
commit 969b4340fd
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
<label class="visually-hidden" for="language">{{ _('Language') }}</label>
<select class="language custom-select form-control" 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) -%}

View File

@ -1,3 +1,4 @@
<label class="visually-hidden" for="time-range">{{ _('Time range') }}</label>
<select name="time_range" id="time-range" class="custom-select form-control" accesskey="t">{{- "" -}}
<option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
{{- _('Anytime') -}}