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>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for teammember in team.approvedmembers.all %}
|
{% 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>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{{ teammember.user.profile.public_credit_name }}
|
{{ teammember.user.profile.approved_public_credit_name }}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if teammember.responsible %}Team Responsible{% else %}Team Member{% endif %}
|
{% if teammember.responsible %}Team Responsible{% else %}Team Member{% endif %}
|
||||||
|
|
|
@ -42,7 +42,7 @@ Teams | {{ block.super }}
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
{% for resp in team.responsible.all %}
|
{% 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 %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue