scinote-web/app/views/access_permissions/partials/_public_members_dropdown.html.erb
artoscinote 42a537390e
Group public users in experiments and tasks [SCI-6332] (#3769)
* Group public users in experiments and tasks [SCI-6332]

* Add list of users to the public users group elements [SCI-6404]
2022-01-25 12:41:36 +01:00

15 lines
626 B
Text

<span class="dropdown group-members-dropdown-container">
<span id="groupMembersButton" class="fas block-icon fa-info-circle group-members-button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"></span>
<div class="dropdown-menu" aria-labelledby="groupMembersButton">
<div class="group-members-content">
<div class="title">
<%= t('.title', team: team.name) %>
</div>
<% team.users.where.not(id: project.manually_assigned_users.select(:id)).each do |user| %>
<div class="name">
<%= user.full_name %>
</div>
<% end %>
</div>
</div>
</span>