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>
|
<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>
|
<ul>
|
||||||
{% for resp in team.area.responsible.all %}
|
{% for resp in team.area.responsible.all %}
|
||||||
<li>{{ resp.name|default:"Unnamed" }}</li>
|
<li>{{ resp.get_full_name|default:"Unnamed" }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -37,7 +37,7 @@ Teams | {{ block.super }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% for resp in team.area.responsible.all %}
|
{% for resp in team.area.responsible.all %}
|
||||||
{{ resp.name|default:"Unnamed" }}<br>
|
{{ resp.get_full_name|default:"Unnamed" }}<br>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
|
|
Loading…
Reference in a new issue