mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Merge pull request #987 from ZmagoD/zd_SCI_2033
fixes user dropdown [fixes SCI-2033]
This commit is contained in:
commit
b33d09536e
1 changed files with 1 additions and 3 deletions
|
@ -258,8 +258,7 @@
|
||||||
<%= image_tag avatar_path(current_user, :icon_small),
|
<%= image_tag avatar_path(current_user, :icon_small),
|
||||||
class: "avatar" %>
|
class: "avatar" %>
|
||||||
</a>
|
</a>
|
||||||
<% if current_user.teams.length > 1 || can_create_teams? %>
|
<ul class="dropdown-menu" data-hook="navigation-user-menu">
|
||||||
<ul class="dropdown-menu">
|
|
||||||
<li>
|
<li>
|
||||||
<%= link_to t('nav.user.settings'), edit_user_registration_path, data: { turbolinks: false } %>
|
<%= link_to t('nav.user.settings'), edit_user_registration_path, data: { turbolinks: false } %>
|
||||||
</li>
|
</li>
|
||||||
|
@ -270,7 +269,6 @@
|
||||||
method: :delete %>
|
method: :delete %>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue