Intitial teams support #147
@ -13,6 +13,7 @@
|
||||
<th>
|
||||
Role
|
||||
</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -27,6 +28,20 @@
|
||||
{{ team_member.get_role_display }}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
{# TODO: disable dropdown btn leave team if user is the only manager #}
|
||||
<div class="dropdown">
|
||||
<button class="btn btn-link dropdown-toggle js-dropdown-toggle" data-toggle-menu-id="team-{{ team.id }}">
|
||||
<i class="i-more-vertical"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-right js-dropdown-menu" id="team-{{ team.id }}">
|
||||
<li>
|
||||
{# TODO: add page leave team base and link #}
|
||||
<a class="dropdown-item" href="#"><i class="i-log-out"></i>Leave Team</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user