Merge pull request #380 from reynir/team-shift-member-name

Team shifts: display public credit name as well
This commit is contained in:
Víðir Valberg Guðmundsson 2019-08-12 13:49:33 +02:00 committed by GitHub
commit 1b56280b12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@
{{ shift.people_required }}
<td>
{% 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 %}
None!
{% endfor %}