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

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

@ -112,11 +112,11 @@ @@ -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 %}

Loading…
Cancel
Save