hide <th> when no buttons, add ? to headline
This commit is contained in:
parent
0007e5424c
commit
9bc9ed1ef7
|
@ -22,8 +22,10 @@ Teams | {{ block.super }}
|
|||
<th>Description</th>
|
||||
<th>Responsible</th>
|
||||
<th>Members</th>
|
||||
<th>Member</th>
|
||||
<th>Member?</th>
|
||||
{% if request.user in team.members.all or request.user in team.responsible.all %}
|
||||
<th>Actions</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
Loading…
Reference in a new issue