This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
ckanext-ozwillo-organizatio.../ckanext/ozwillo_organization_api/templates/organization/members.html

33 lines
816 B
HTML

{% extends "organization/edit_base.html" %}
{% block subtitle %}{{ _('Members') }} - {{ super() }}{% endblock %}
{% block page_primary_action %}
{% endblock %}
{% block primary_content_inner %}
{{ super() }}
<h3 class="page-heading">{{ _('{0} members'.format(c.members|length)) }}</h3>
<table class="table table-header table-hover table-bordered">
<col width="70" />
<col width="40" />
<thead>
<tr>
<th scope="col">{{ _('User') }}</th>
<th scope="col">{{ _('Role') }}</th>
</tr>
</thead>
<tbody>
{% for user_id, user, role in c.members %}
<tr>
<td class="media">
{{ h.linked_user(user_id, maxlength=20) }}
</td>
<td>{{ role }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}