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>
<tr> <tr>
<td>{{ 'Theme'|trans }}</td> <td>{{ 'Theme'|trans }}</td>
<td>{{ user.theme }}</td> <td>{{ user.theme | u.title }}</td>
</tr> </tr>
<tr> <tr>
<td>{{ 'Sensitive'|trans }}</td> <td>{{ 'Sensitive'|trans }}</td>

View File

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