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 @@ @@ -80,9 +80,16 @@
</td>
</tr>
<tr>
<td>{{ 'Content filter'|trans }}</td>
<td>
<td class="width-20">{{ 'Content'|trans }}</td>
<td class="width-80">
{% 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>
</tr>
<tr>
@ -90,7 +97,7 @@ @@ -90,7 +97,7 @@
<td>{{ user.theme }}</td>
</tr>
<tr>
<td>{{ 'Sensitive filter'|trans }}</td>
<td>{{ 'Sensitive'|trans }}</td>
<td>
{% if user.sensitive %}
{{ 'yes'|trans }}

Loading…
Cancel
Save