{% extends 'core/base.jinja' %} {% block title %} {% trans club=object.club %}{{ club }}'s Trombi{% endtrans %} {% endblock %} {% block content %}

{% trans club=object.club %}{{ club }}'s Trombi{% endtrans %}

{% trans %}Back{% endtrans %}
{% for trombi_user in object.users.order_by('user__nick_name') %}
{{ trombi_user.user.get_display_name() }}
{{ trombi_user.user.department }}/{{ trombi_user.user.dpt_option }}
{% trans %}Quote: {% endtrans %}{{ trombi_user.user.quote }}
{% trans %}Date of birth: {% endtrans %}{{ trombi_user.user.date_of_birth|date("d F Y") }}
{% trans %}Email: {% endtrans %}{{ trombi_user.user.second_email }}
{% trans %}Phone: {% endtrans %}{{ trombi_user.user.phone|phonenumber }}
{% trans %}City: {% endtrans %}{{ trombi_user.user.parent_address }}

{% trans %}Pictures{% endtrans %}

{% set profile_file = None %} {% set scrub_file = None %} {% if trombi_user.profile_pict %} {% set profile_file = trombi_user.profile_pict.url %} {% else %} {% set profile_file = static('core/img/na.gif') %} {% endif %} {% if trombi_user.scrub_pict %} {% set scrub_file = trombi_user.scrub_pict.url %} {% else %} {% set scrub_file = static('core/img/na.gif') %} {% endif %}
{% if trombi_user.memberships.exists() %}

{% trans %}Club{% endtrans %}

{% for m in trombi_user.memberships.all() %} {% endfor %}
{% trans %}Club{% endtrans %} {% trans %}Role{% endtrans %}
{{ m.club }} {{ m.start }} - {{ m.end }} ({{ m.role }})
{% endif %}

{% trans %}Comments{% endtrans %}

{% for c in trombi_user.received_comments.filter(is_moderated=True) %} {% endfor %}
{{ c.author.user.get_short_name() }} {% for line in c.content.splitlines() %} {{ line }}
{% endfor %}
{% endfor %}
{% endblock %} {% block script %} {{ super () }} {% endblock %}