diff --git a/templates/user_profile.html b/templates/user_profile.html index 8303266..b5b7f35 100644 --- a/templates/user_profile.html +++ b/templates/user_profile.html @@ -231,7 +231,9 @@

{% if user_companies and user_companies|length > 1 %} - {{ user_companies|map(attribute='company')|selectattr('name')|map(attribute='name')|join(' ยท ') }} + {% for uc in user_companies|sort(attribute='company.name') %}{% if uc.company %} + {{ uc.company.name }} + {% endif %}{% endfor %} {% elif profile_user.company %} {{ profile_user.company.name }} {% else %}