Intitial teams support #147

Merged
Oleg-Komarov merged 34 commits from teams-support into main 2024-05-23 19:43:54 +02:00
Showing only changes of commit 41f1e98367 - Show all commits

View File

@ -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 %}