From f000eb0410364315a6bdf92825a3bb995fb6fc6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Sun, 11 Aug 2019 17:47:54 +0200 Subject: [PATCH] Team shifts: display public credit name The public credit name is usually more recognizable. --- src/teams/templates/team_shift_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/teams/templates/team_shift_list.html b/src/teams/templates/team_shift_list.html index 9d02d80c..e8c5498d 100644 --- a/src/teams/templates/team_shift_list.html +++ b/src/teams/templates/team_shift_list.html @@ -47,7 +47,7 @@ {{ shift.people_required }} {% 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 %}