From 39afd3f01fd0217cc2ce4abb5f3309abaf0281a6 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Sun, 2 Apr 2017 19:23:23 +0200 Subject: [PATCH] show real name if possible --- src/teams/templates/team_detail.html | 2 +- src/teams/templates/team_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/teams/templates/team_detail.html b/src/teams/templates/team_detail.html index 8b84acea..0857b56d 100644 --- a/src/teams/templates/team_detail.html +++ b/src/teams/templates/team_detail.html @@ -17,7 +17,7 @@ Team: {{ team.name }} | {{ block.super }}

This team is under the {{ team.area.name }} area. The following users are responsible for the {{ team.area.name }} area:

{% endblock %} diff --git a/src/teams/templates/team_list.html b/src/teams/templates/team_list.html index 9873c6b4..3cce079a 100644 --- a/src/teams/templates/team_list.html +++ b/src/teams/templates/team_list.html @@ -37,7 +37,7 @@ Teams | {{ block.super }} {% for resp in team.area.responsible.all %} - {{ resp.name|default:"Unnamed" }}
+ {{ resp.get_full_name|default:"Unnamed" }}
{% endfor %} {% if request.user.is_authenticated %}