]> git.0d.be Git - panikdb.git/blob - panikdb/templates/aa/user_list.html
add a view to list members
[panikdb.git] / panikdb / templates / aa / user_list.html
1 {% extends "base.html" %}
2 {% load i18n %}
3
4 {% block appbar %}
5 <h2>{% trans "Members" %}</h2>
6 {% endblock %}
7
8 {% block content %}
9 <div class="section padded">
10 <form>
11   <input name="q" type="search" value="{{ request.GET.q }}"> <button>{% trans 'Search' %}</button>
12 </form>
13 </div>
14
15 <table class="main">
16 {% for user in object_list %}
17   <tr>
18     <td>{{ user }}</td>
19     <td>{% if user.is_ca %}CA{% endif %}
20         {% if user.is_cp %}CP{% endif %}</td>
21     <td>{{ user.active_emissions|join:", " }}</td>
22     <td>{% if user.share_contact_details and user.email %}<a href="mailto:{{ user.email }}">{{ user.email }}</a>{% endif %}</td>
23     <td>{% if user.share_contact_details %}{{ user.phone|default:"" }} {{ user.mobile|default:"" }}{% endif %}</td>
24   </tr>
25 {% endfor %}
26 </table>
27
28 {% include "gadjo/pagination.html" %}
29
30 {% endblock %}