Sfoglia il codice sorgente

add "Last year" option to time range selection

Noémi Ványi 8 anni fa
parent
commit
2fc1091b7f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      searx/templates/oscar/time-range.html

+ 3
- 0
searx/templates/oscar/time-range.html Vedi File

@@ -11,4 +11,7 @@
11 11
     <option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
12 12
         {{ _('Last month') }}
13 13
     </option>
14
+    <option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
15
+        {{ _('Last year') }}
16
+    </option>
14 17
 </select>