diff --git a/templates/user_profile.html b/templates/user_profile.html index 67f6c0d..8303266 100644 --- a/templates/user_profile.html +++ b/templates/user_profile.html @@ -230,7 +230,9 @@ {% endif %}
- {% if profile_user.company %} + {% if user_companies and user_companies|length > 1 %} + {{ user_companies|map(attribute='company')|selectattr('name')|map(attribute='name')|join(' · ') }} + {% elif profile_user.company %} {{ profile_user.company.name }} {% else %} Członek portalu Norda Biznes @@ -248,7 +250,25 @@ Wyślij wiadomość prywatną na portalu - {% if profile_user.company %} + {% if user_companies and user_companies|length > 1 %} +