scinote-web/app/views/access_permissions/partials/_user_assignment.html.erb

15 lines
465 B
Text
Raw Normal View History

2021-04-18 23:19:16 +08:00
<% # frozen_string_literal: true %>
2021-05-09 22:59:10 +08:00
<div class="row 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) %>
<br>
<small class="text-muted"><%= user_assignment_resource_role_name(user, resource) %></small>
</div>
2021-04-18 23:19:16 +08:00
</div>
</div>