scinote-web/app/views/access_permissions/partials/_user_assignment.html.erb
2023-02-23 14:57:38 +01:00

15 lines
496 B
Text

<% # frozen_string_literal: true %>
<div class="member-item">
<div class="user-assignment-info">
<div class="global-avatar-container">
<%= image_tag avatar_path(user, :icon_small), title: current_assignee_name(user), class: 'img-circle pull-left' %>
</div>
<div>
<%= current_assignee_name(user) %>
</div>
</div>
<div class="user-assignment-controls">
<%= assignable.user_assignments.find_by(user: user, team: current_team).user_role.name %>
</div>
</div>