mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-28 02:46:18 +08:00
d4756be38a
Co-authored-by: Anton <anton@scinote.net>
26 lines
920 B
Plaintext
26 lines
920 B
Plaintext
<h5 class="designated-users-task-title"><%= t("experiments.canvas.popups.users_tab") %></h5>
|
|
<hr>
|
|
<ul class="no-style content-users">
|
|
<% if @user_my_modules.size == 0 then %>
|
|
<li><em><%= t "experiments.canvas.popups.no_users" %></em></li>
|
|
<% else %>
|
|
<% @user_my_modules.each_with_index do |user_my_module, i| %>
|
|
<% user = user_my_module.user %>
|
|
<li>
|
|
<% if i > 0 %><hr><% end %>
|
|
<div class="row">
|
|
<div class="col-xs-2">
|
|
<span class='global-avatar-container'>
|
|
<%= image_tag avatar_path(user, :icon_small), class: "img-circle pull-left" %>
|
|
</span>
|
|
</div>
|
|
<div class="col-xs-10" style="line-height: 15px">
|
|
<span><%= user.full_name %></span><br>
|
|
<span class="user-role"><%= @my_module.role_for_user(user).name %></span>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
<% end %>
|