uppercase theme name

This commit is contained in:
ghost 2023-10-09 17:03:05 +03:00
parent c3ba8930f4
commit 42cef39589
2 changed files with 3 additions and 3 deletions

View File

@ -94,7 +94,7 @@
</tr>
<tr>
<td>{{ 'Theme'|trans }}</td>
<td>{{ user.theme }}</td>
<td>{{ user.theme | u.title }}</td>
</tr>
<tr>
<td>{{ 'Sensitive'|trans }}</td>

View File

@ -112,11 +112,11 @@
{% for theme in themes %}
{% if theme == user.theme %}
<option value="{{ theme }}" selected="selected">
{{ theme }}
{{ theme | u.title }}
</option>
{% else %}
<option value="{{ theme }}">
{{ theme }}
{{ theme | u.title }}
</option>
{% endif %}
{% endfor %}