diff options
author | Jay <107592590+obfuscated-loop@users.noreply.github.com> | 2023-11-21 22:33:52 +0000 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-12-23 09:07:08 +0100 |
commit | b4de72a96f7ca4fd7c9bf791a7be50309eb4fd49 (patch) | |
tree | f72a8385043a06955bf4056b29a671da6aba9cb5 /searx/templates | |
parent | 91737f719ac7b5a234f888a586f35d659538bc14 (diff) | |
download | searxng-b4de72a96f7ca4fd7c9bf791a7be50309eb4fd49.tar.gz searxng-b4de72a96f7ca4fd7c9bf791a7be50309eb4fd49.zip |
[mod] Capitalize theme names/styles in theme.html view file
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/simple/preferences/theme.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/simple/preferences/theme.html b/searx/templates/simple/preferences/theme.html index f75bb24b7..78920b46e 100644 --- a/searx/templates/simple/preferences/theme.html +++ b/searx/templates/simple/preferences/theme.html @@ -5,7 +5,7 @@ {%- for name in themes -%} <option value="{{ name }}" {%- if name == theme %} selected="selected"{%- endif -%}> - {{- name -}} + {{- name | capitalize -}} </option> {%- endfor -%} </select>{{- '' -}} @@ -22,7 +22,7 @@ {%- for name in ['auto', 'light', 'dark'] -%} <option value="{{ name }}" {%- if name == preferences.get_value('simple_style') %} selected="selected" {%- endif -%}> - {{- _(name) -}} + {{- _(name) | capitalize -}} </option> {%- endfor -%} </select>{{- '' -}} |