Browse Source

add alt locales view

main
ghost 1 year ago
parent
commit
c3ba8930f4
  1. 13
      templates/default/user/info.html.twig

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

@ -80,9 +80,16 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>{{ 'Content filter'|trans }}</td> <td class="width-20">{{ 'Content'|trans }}</td>
<td> <td class="width-80">
{% for i, locale in user.locales %}{% if i > 0 %},{% endif %} {{ locale|locale_name(locale)|u.title }}{% endfor %} {% for i, locale in user.locales %}{% if i > 0 %},{% endif %} {{ locale|locale_name(locale)|u.title }}{% endfor %}
{#
{% for locale in user.locales %}
<div class="padding-y-4-px">
{{ locale|locale_name(locale)|u.title }}
</div>
{% endfor %}
#}
</td> </td>
</tr> </tr>
<tr> <tr>
@ -90,7 +97,7 @@
<td>{{ user.theme }}</td> <td>{{ user.theme }}</td>
</tr> </tr>
<tr> <tr>
<td>{{ 'Sensitive filter'|trans }}</td> <td>{{ 'Sensitive'|trans }}</td>
<td> <td>
{% if user.sensitive %} {% if user.sensitive %}
{{ 'yes'|trans }} {{ 'yes'|trans }}

Loading…
Cancel
Save