1 {% extends 'elements/list.html.twig' %}
3 {% set nb = members|length %}
4 {% set no_action = true %}
5 {% set is_public = not login.isLogged() %}
18 'label': _Tn("%count member", "%count members", nb_members)|replace({'%count': nb_members}),
20 'name': 'filterPublicList',
31 {'label': _T('Name'), order: constant("Galette\\Repository\\Members::ORDERBY_NAME")},
32 {'label': _T("Nickname"), order: constant("Galette\\Repository\\Members::ORDERBY_NICKNAME")},
35 {% if login.isLogged() %}
36 {% set columns = columns|merge([
37 {'label': _T("Email")}
41 {% set columns = columns|merge([
42 {'label': _T("Information")}
49 <div class="ui icon info visible message">
50 <i class="info circle blue icon" aria-hidden="true"></i>
52 {{ _T("This page shows only members who have choosen to be visible on the public lists and are up-to-date within their contributions. If you want your account to be visible here, edit your profile and check 'Be visible in the members list'") }}
58 {% for member in members %}
59 {% set rclass = member.getRowClass() %}
61 <td class="{{ rclass }} username_row" data-scope="row">
62 {% if member.isCompany() %}
64 <i class="ui building outline icon tooltip" title="{{ _T('Is a company') }}" aria-hidden="true"></i>
65 <span class="ui special popup">{{ _T('Is a company') }}</span>
67 {% elseif member.isMan() %}
69 <i class="ui male icon tooltip" title="{{ _T('Is a man') }}" aria-hidden="true"></i>
70 <span class="ui special popup">{{ _T('Is a man') }}</span>
72 {% elseif member.isWoman() %}
74 <i class="ui female icon tooltip" title="{{ _T('Is a woman') }}" aria-hidden="true"></i>
75 <span class="ui special popup">{{ _T('Is a woman') }}</span>
78 <i class="ui icon" aria-hidden="true"></i>
80 {% if member.website != '' %}
81 <a href="{{ member.website }}">{{ member.sfullname }}</a>
83 {{ member.sfullname }}
86 <td class="{{ rclass }}" data-title="{{ _T('Nickname') }}">{{ member.nickname|escape }}</td>
87 {% if login.isLogged() %}
88 <td class="{{ rclass }}" data-title="{{ _T('Email') }}"><a href="mailto:{{ member.email }}">{{ member.email }}</a></td>
90 <td class="{{ rclass }}" data-title="{{ _T('Information') }}">{{ member.others_infos }}</td>
94 <td class="emptylist" colspan="4">
95 {{ _T('No member to show') }}