{% extends "base.html" %} {% block title %}{{ profile_user.name or 'Użytkownik' }} - Norda Biznes Partner{% endblock %} {% block extra_css %} {% endblock %} {% block content %} Wstecz
{% if profile_user.avatar_path %} {{ profile_user.name }} {% else %} {{ (profile_user.name or profile_user.email)[0].upper() }}{{ (profile_user.name or '').split()[-1][0].upper() if (profile_user.name or '').split()|length > 1 else '' }} {% endif %}

{{ profile_user.name or 'Użytkownik' }} {% if profile_user.chamber_role in ('prezes', 'wiceprezes') %} {{ profile_user.chamber_role_label }} {% endif %} {% if profile_user.chamber_role in ('komisja_rewizyjna', 'sad_kolezenski') %} {{ profile_user.chamber_role_label }} {% endif %} {% if profile_user.is_rada_member %} Rada Izby {% endif %}

{% if user_companies and user_companies|length > 1 %} {% 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 %} Członek portalu Norda Biznes {% endif %} {% if last_active_label %} {{ last_active_label }} {% endif %}

{% if current_user.is_authenticated and current_user.id != profile_user.id %}
Wyślij wiadomość prywatną na portalu {% if user_companies and user_companies|length > 1 %}
{% for uc in user_companies %} {% if uc.company %} {{ uc.company.name }} {% endif %} {% endfor %}
{% elif profile_user.company %} Profil firmy {% endif %}
{% endif %}
{% if attended_events or forum_topics_count > 0 or forum_replies_count > 0 %}

Aktywność na portalu

{{ forum_topics_count }}
temat{{ 'ów' if forum_topics_count != 1 else '' }} na forum
{{ forum_replies_count }}
odpowiedzi
{{ attended_events|length }}
wydarzeń
{% if attended_events %}
Zapisany na wydarzenia:
{% for event in attended_events %} {{ event.title }} {{ event.event_date.strftime('%d.%m.%Y') }} {% endfor %} {% endif %}
{% endif %} {% if user_companies %}

Powiązane firmy

{% for uc in user_companies %} {% if uc.company %} {{ uc.company.name }} ({{ uc.role.value if uc.role else 'członek' }}) {% endif %} {% endfor %}
{% endif %} {% endblock %}