{#- A community's members: who, their role, their posts, when they were last active
here. Its managers add someone who has an account, change a role in place, remove
someone after saying so, and do the same to several at once through the selection
(ADS's datatable shows its bar once a box is ticked); inviting new people is the
community's action, in its header. Above them, for its managers, who asks to
join, if it is open on request: accepted or refused. Drawn in
`mockups/templates/members.html`. -#}
{% extends "ads_community.html" %}
{% block page_title %}{{ _("Members") }} · {{ g.community.name }}{% endblock %}
{% block content %}
{% if can_manage_community and requests %}
{{ _("Asking to join") }} ({{ requests | length }})
{% for asking in requests %}
| {% endif %} {{ m.sort_th(listing, "name", _("Name")) }} {{ m.sort_th(listing, "role", _("Role")) }} {{ m.sort_th(listing, "posts", _("Discussions started"), "ads-end ads-col--secondary") }} {{ m.sort_th(listing, "activity", _("Last active here"), "ads-end ads-col--secondary") }} {% if can_manage_community %} | {{ _("Actions") }} | {% endif %}||||
|---|---|---|---|---|---|
| {% endif %} | {{ m.avatar(user) }} {{ user.name }} {% if m.job(user) %}{{ m.job(user) }}{% endif %} {{ user.email }} | {% if can_manage_community %} {% elif role == "manager" %}{{ _("Community manager") }} {% else %}{{ _("Member") }}{% endif %} | {{ threads_count[user] }} | {% if last_activity_date %}{{ m.time(last_activity_date) }}{% else %}{{ _("never") }}{% endif %} | {% if can_manage_community %}
{{ icon("dots") }} |
{% endif %}
| {{ _("No matching records found") }} | |||||