mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[mod] Capitalize theme names/styles in theme.html view file
This commit is contained in:
		
							parent
							
								
									91737f719a
								
							
						
					
					
						commit
						b4de72a96f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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>{{- '' -}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue