mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 06:36:27 +08:00
Hide icon if there is no users
This commit is contained in:
parent
7e9054e6d2
commit
4c4d0a2403
1 changed files with 5 additions and 3 deletions
|
@ -11,9 +11,11 @@
|
|||
<%= image_tag avatar_path(user, :icon_small) %>
|
||||
</span>
|
||||
<% end %>
|
||||
<span class='global-avatar-container assign-new-user'>
|
||||
<i class="fas fa-plus"></i>
|
||||
</span>
|
||||
<% if @my_module.unassigned_users.any? %>
|
||||
<span class='global-avatar-container assign-new-user'>
|
||||
<i class="fas fa-plus"></i>
|
||||
</span>
|
||||
<% end %>
|
||||
</a>
|
||||
<% else %>
|
||||
<div class="task-assigned-users">
|
||||
|
|
Loading…
Reference in a new issue