summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/time-range.html
diff options
context:
space:
mode:
authorDalf <alex@al-f.net>2019-08-06 11:41:16 +0200
committerDalf <alex@al-f.net>2019-12-10 10:58:30 +0100
commitf34ac58752b3857468d01c79d7bc3409e8b03fe3 (patch)
tree74594ebccbc468c985c3f5f17dd46935120240fa /searx/templates/oscar/time-range.html
parente9311ee77658607ad6d607950850e83c5af38d64 (diff)
[mod] tidy oscar HTML output
Diffstat (limited to 'searx/templates/oscar/time-range.html')
-rw-r--r--searx/templates/oscar/time-range.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/searx/templates/oscar/time-range.html b/searx/templates/oscar/time-range.html
index d5efe9182..166b61dd6 100644
--- a/searx/templates/oscar/time-range.html
+++ b/searx/templates/oscar/time-range.html
@@ -1,17 +1,17 @@
-<select name="time_range" id="time-range" class="custom-select form-control">
+<select name="time_range" id="time-range" class="custom-select form-control">{{- "" -}}
<option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
- {{ _('Anytime') }}
- </option>
+ {{- _('Anytime') -}}
+ </option>{{- "" -}}
<option id="time-range-day" value="day" {{ "selected" if time_range=="day" else ""}}>
- {{ _('Last day') }}
- </option>
+ {{- _('Last day') -}}
+ </option>{{- "" -}}
<option id="time-range-week" value="week" {{ "selected" if time_range=="week" else ""}}>
- {{ _('Last week') }}
- </option>
+ {{- _('Last week') -}}
+ </option>{{- "" -}}
<option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
- {{ _('Last month') }}
- </option>
+ {{- _('Last month') -}}
+ </option>{{- "" -}}
<option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
- {{ _('Last year') }}
- </option>
+ {{- _('Last year') -}}
+ </option>{{- "" -}}
</select>