add alt locales view

This commit is contained in:
ghost 2023-10-09 16:59:02 +03:00
parent b1679f3f65
commit c3ba8930f4

View File

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