From c3ba8930f4e94e95fb9aa5db66fb8a1b1fd6e972 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 9 Oct 2023 16:59:02 +0300 Subject: [PATCH] add alt locales view --- templates/default/user/info.html.twig | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/templates/default/user/info.html.twig b/templates/default/user/info.html.twig index 559da1a..8dd75ff 100644 --- a/templates/default/user/info.html.twig +++ b/templates/default/user/info.html.twig @@ -80,9 +80,16 @@ - {{ 'Content filter'|trans }} - + {{ 'Content'|trans }} + {% for i, locale in user.locales %}{% if i > 0 %},{% endif %} {{ locale|locale_name(locale)|u.title }}{% endfor %} + {# + {% for locale in user.locales %} +
+ {{ locale|locale_name(locale)|u.title }} +
+ {% endfor %} + #} @@ -90,7 +97,7 @@ {{ user.theme }} - {{ 'Sensitive filter'|trans }} + {{ 'Sensitive'|trans }} {% if user.sensitive %} {{ 'yes'|trans }}