mirror of https://github.com/searxng/searxng.git
[mod] Capitalize theme names/styles in theme.html view file
This commit is contained in:
parent
91737f719a
commit
b4de72a96f
|
@ -5,7 +5,7 @@
|
||||||
{%- for name in themes -%}
|
{%- for name in themes -%}
|
||||||
<option value="{{ name }}"
|
<option value="{{ name }}"
|
||||||
{%- if name == theme %} selected="selected"{%- endif -%}>
|
{%- if name == theme %} selected="selected"{%- endif -%}>
|
||||||
{{- name -}}
|
{{- name | capitalize -}}
|
||||||
</option>
|
</option>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</select>{{- '' -}}
|
</select>{{- '' -}}
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
{%- for name in ['auto', 'light', 'dark'] -%}
|
{%- for name in ['auto', 'light', 'dark'] -%}
|
||||||
<option value="{{ name }}"
|
<option value="{{ name }}"
|
||||||
{%- if name == preferences.get_value('simple_style') %} selected="selected" {%- endif -%}>
|
{%- if name == preferences.get_value('simple_style') %} selected="selected" {%- endif -%}>
|
||||||
{{- _(name) -}}
|
{{- _(name) | capitalize -}}
|
||||||
</option>
|
</option>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</select>{{- '' -}}
|
</select>{{- '' -}}
|
||||||
|
|
Loading…
Reference in New Issue