commit: 2fc1091b7fbd76189754767e2da8315e04ca1e47
parent 6b6007fc78f47099d84099c6d6c23e2cd213b82f
Author: Noémi Ványi <sitbackandwait@gmail.com>
Date: Sun, 11 Dec 2016 16:36:32 +0100
add "Last year" option to time range selection
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/searx/templates/oscar/time-range.html b/searx/templates/oscar/time-range.html
@@ -11,4 +11,7 @@
<option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
{{ _('Last month') }}
</option>
+ <option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
+ {{ _('Last year') }}
+ </option>
</select>