Intitial teams support #147

Merged
Oleg-Komarov merged 34 commits from teams-support into main 2024-05-23 19:43:54 +02:00
2 changed files with 9 additions and 3 deletions
Showing only changes of commit 35ed6b791c - Show all commits

View File

@ -368,10 +368,15 @@
+margin(0, top)
.dropdown-item
&a
a
&.dropdown-item
+padding(3, x)
a
&.dropdown-item-disabled
opacity: .5
pointer-events: none
.extension-icon
width: var(--fs-h1)

View File

@ -45,7 +45,8 @@
<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>
{# TODO: add conditional class 'dropdown-item-disabled' if user is the only manager #}
<a class="dropdown-item {% comment %}dropdown-item-disabled{% endcomment %}" href="#"><i class="i-log-out"></i>Leave Team</a>
</li>
</ul>
</div>