a few small fixes to team pages
This commit is contained in:
parent
3ef4094e94
commit
9a47622bc6
|
@ -45,10 +45,10 @@ Team: {{ team.name }} | {{ block.super }}
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for teammember in team.approvedmembers.all %}
|
||||
{% if teammember.user.profile.public_credit_name and teammember.approved or teammember.responsible %}
|
||||
{% if teammember.user.profile.approved_public_credit_name and teammember.approved or teammember.responsible %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ teammember.user.profile.public_credit_name }}
|
||||
{{ teammember.user.profile.approved_public_credit_name }}
|
||||
</td>
|
||||
<td>
|
||||
{% if teammember.responsible %}Team Responsible{% else %}Team Member{% endif %}
|
||||
|
|
|
@ -42,7 +42,7 @@ Teams | {{ block.super }}
|
|||
|
||||
<td>
|
||||
{% for resp in team.responsible.all %}
|
||||
{{ resp.profile.name|default:"Unnamed" }}{% if not forloop.last %},{% endif %}<br>
|
||||
{{ resp.profile.approved_public_credit_name|default:"Unnamed" }}{% if not forloop.last %},{% endif %}<br>
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
|
|
Loading…
Reference in a new issue