use name from profile not name from user

This commit is contained in:
Thomas Steen Rasmussen 2017-05-25 17:36:20 +02:00
parent 9bc9ed1ef7
commit f4b2e55478

View file

@ -41,7 +41,7 @@ Teams | {{ block.super }}
</td>
<td>
{% for resp in team.responsible.all %}
{{ resp.get_full_name|default:"Unnamed" }}{% if not forloop.last %},{% endif %}<br>
{{ resp.profile.name|default:"Unnamed" }}{% if not forloop.last %},{% endif %}<br>
{% endfor %}
</td>
<td class="text-center">