Show email for users when user is team responsible.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-08-05 12:23:33 +02:00
parent 2ad0568f64
commit fe974e469b

View file

@ -22,6 +22,9 @@
Status Status
</th> </th>
{% if request.user in team.responsible_members.all %} {% if request.user in team.responsible_members.all %}
<th>
Email
</th>
<th> <th>
Action Action
</th> </th>
@ -40,6 +43,9 @@
{% if not member.approved %}(pending approval){% endif %} {% if not member.approved %}(pending approval){% endif %}
</td> </td>
{% if request.user in team.responsible_members.all %} {% if request.user in team.responsible_members.all %}
<td>
{{ member.user.email }}
</td>
<td> <td>
<div class="btn-group-vertical"> <div class="btn-group-vertical">
<a class="btn btn-danger" <a class="btn btn-danger"