Hide icon if there is no users

This commit is contained in:
Urban Rotnik 2020-05-06 09:47:39 +02:00
parent 7e9054e6d2
commit 4c4d0a2403

View file

@ -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">