Team shifts: display public credit name

The public credit name is usually more recognizable.
This commit is contained in:
Reynir Björnsson 2019-08-11 17:47:54 +02:00
parent 30e1049dbc
commit f000eb0410

View file

@ -47,7 +47,7 @@
{{ shift.people_required }} {{ shift.people_required }}
<td> <td>
{% for member in shift.team_members.all %} {% for member in shift.team_members.all %}
{{ member.user }}{% if not forloop.last %},{% endif %} {{ member.user.profile.get_public_credit_name }}{% if not forloop.last %},{% endif %}
{% empty %} {% empty %}
None! None!
{% endfor %} {% endfor %}