Intitial teams support #147
@ -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)
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user