From 9a47622bc67764b3d362f2c1447d39aac1446e16 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Tue, 11 Jul 2017 23:32:56 +0200 Subject: [PATCH] a few small fixes to team pages --- src/teams/templates/team_detail.html | 4 ++-- src/teams/templates/team_list.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/teams/templates/team_detail.html b/src/teams/templates/team_detail.html index 6fe34559..85d5e915 100644 --- a/src/teams/templates/team_detail.html +++ b/src/teams/templates/team_detail.html @@ -45,10 +45,10 @@ Team: {{ team.name }} | {{ block.super }} {% for teammember in team.approvedmembers.all %} - {% if teammember.user.profile.public_credit_name and teammember.approved or teammember.responsible %} + {% if teammember.user.profile.approved_public_credit_name and teammember.approved or teammember.responsible %} - {{ teammember.user.profile.public_credit_name }} + {{ teammember.user.profile.approved_public_credit_name }} {% if teammember.responsible %}Team Responsible{% else %}Team Member{% endif %} diff --git a/src/teams/templates/team_list.html b/src/teams/templates/team_list.html index 90176d97..0cca4aa0 100644 --- a/src/teams/templates/team_list.html +++ b/src/teams/templates/team_list.html @@ -42,7 +42,7 @@ Teams | {{ block.super }} {% for resp in team.responsible.all %} - {{ resp.profile.name|default:"Unnamed" }}{% if not forloop.last %},{% endif %}
+ {{ resp.profile.approved_public_credit_name|default:"Unnamed" }}{% if not forloop.last %},{% endif %}
{% endfor %}