1
|
{% extends "organization/edit_base.html" %}
|
2
|
|
3
|
{% block subtitle %}{{ _('Members') }} - {{ super() }}{% endblock %}
|
4
|
|
5
|
{% block page_primary_action %}
|
6
|
|
7
|
{% endblock %}
|
8
|
|
9
|
{% block primary_content_inner %}
|
10
|
{{ super() }}
|
11
|
<h3 class="page-heading">{{ _('{0} members'.format(c.members|length)) }}</h3>
|
12
|
<table class="table table-header table-hover table-bordered">
|
13
|
<col width="70" />
|
14
|
<col width="40" />
|
15
|
<thead>
|
16
|
<tr>
|
17
|
<th scope="col">{{ _('User') }}</th>
|
18
|
<th scope="col">{{ _('Role') }}</th>
|
19
|
</tr>
|
20
|
</thead>
|
21
|
<tbody>
|
22
|
{% for user_id, user, role in c.members %}
|
23
|
<tr>
|
24
|
<td class="media">
|
25
|
{{ h.linked_user(user_id, maxlength=20) }}
|
26
|
</td>
|
27
|
<td>{{ role }}</td>
|
28
|
</tr>
|
29
|
{% endfor %}
|
30
|
</tbody>
|
31
|
</table>
|
32
|
{% endblock %}
|