2021-04-18 23:19:16 +08:00
|
|
|
<% # frozen_string_literal: true %>
|
|
|
|
|
2023-01-23 23:01:40 +08:00
|
|
|
<div class="member-item">
|
2022-02-18 17:19:13 +08:00
|
|
|
<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>
|
2021-04-18 23:19:16 +08:00
|
|
|
</div>
|
2023-01-23 23:01:40 +08:00
|
|
|
<div class="user-assignment-controls">
|
2023-03-17 18:30:51 +08:00
|
|
|
<button class="btn btn-light btn-role-select disabled" type="button">
|
|
|
|
<%= assignable.user_assignments.find_by(user: user, team: current_team).user_role.name %>
|
|
|
|
</button>
|
2023-01-23 23:01:40 +08:00
|
|
|
</div>
|
2021-04-18 23:19:16 +08:00
|
|
|
</div>
|