show name from profile

This commit is contained in:
Thomas Steen Rasmussen 2017-05-23 22:21:48 +02:00
parent 49bfc58dda
commit 96a9f9d4e8

View file

@ -31,7 +31,7 @@ Team: {{ team.name }} | {{ block.super }}
<p>This team is under the <b>{{ team.area.name }} area</b>. The following people are responsible for the <b>{{ team.name }} team</b>:</p> <p>This team is under the <b>{{ team.area.name }} area</b>. The following people are responsible for the <b>{{ team.name }} team</b>:</p>
<ul> <ul>
{% for resp in team.responsible.all %} {% for resp in team.responsible.all %}
<li><b>{{ resp.get_full_name|default:"Unnamed" }}</b></li> <li><b>{{ resp.profile.name }}</b></li>
{% endfor %} {% endfor %}
</ul> </ul>