show real name if possible
This commit is contained in:
parent
d2a78dcf1c
commit
39afd3f01f
|
@ -17,7 +17,7 @@ Team: {{ team.name }} | {{ block.super }}
|
|||
<p>This team is under the <b>{{ team.area.name }} area</b>. The following users are responsible for the <b>{{ team.area.name }} area</b>:</p>
|
||||
<ul>
|
||||
{% for resp in team.area.responsible.all %}
|
||||
<li>{{ resp.name|default:"Unnamed" }}</li>
|
||||
<li>{{ resp.get_full_name|default:"Unnamed" }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
|
|
@ -37,7 +37,7 @@ Teams | {{ block.super }}
|
|||
</td>
|
||||
<td>
|
||||
{% for resp in team.area.responsible.all %}
|
||||
{{ resp.name|default:"Unnamed" }}<br>
|
||||
{{ resp.get_full_name|default:"Unnamed" }}<br>
|
||||
{% endfor %}
|
||||
</td>
|
||||
{% if request.user.is_authenticated %}
|
||||
|
|
Loading…
Reference in a new issue