volunteers list: add phone numbers

This commit is contained in:
Élie Bouttier 2017-10-30 17:23:38 +01:00
parent 7668c43548
commit d980c82285
2 changed files with 2 additions and 3 deletions

View File

@ -7,9 +7,6 @@
{{ block.super }}
<div class="container">
<ul class="nav nav-pills nav-justified subnav">
{% comment %}
<li{% block volunteerstab %}{% endblock %}><a href="{% url 'list-volunteers' %}"><span class="glyphicon glyphicon-thumbs-up"></span>&nbsp;{% trans "Volunteers" %}</a></li>
{% endcomment %}
<li{% block talkstab %}{% endblock %}><a href="{% url 'talk-list' %}"><span class="glyphicon glyphicon-blackboard"></span>&nbsp;{% trans "Talks" %}</a></li>
<li{% block speakerstab %}{% endblock %}><a href="{% url 'participant-list' %}"><span class="glyphicon glyphicon-bullhorn"></span>&nbsp;{% trans "Speakers" %}</a></li>
<li{% block volunteerstab %}{% endblock %}><a href="{% url 'volunteer-list' %}"><span class="glyphicon glyphicon-thumbs-up"></span>&nbsp;{% trans "Volunteers" %}</a></li>

View File

@ -28,6 +28,7 @@
<tr>
<th class="text-center">{% trans "Name" %}</th>
<th class="text-center">{% trans "Email" %}</th>
<th class="text-center">{% trans "Phone" %}</th>
<th class="text-center">{% trans "Activities" %}</th>
</tr>
</thead>
@ -43,6 +44,7 @@
<tr>
<td>{{ volunteer.name }}</td>
<td>{{ volunteer.email }}</td>
<td>{{ volunteer.phone_number }}</td>
<td>
{% for activity in volunteer.activities.all %}
<span class="badge">{{ activity }}</span>