Browse Source

uppercase theme name

main
ghost 1 year ago
parent
commit
42cef39589
  1. 2
      templates/default/user/info.html.twig
  2. 4
      templates/default/user/profile.html.twig

2
templates/default/user/info.html.twig

@ -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>

4
templates/default/user/profile.html.twig

@ -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 %}

Loading…
Cancel
Save