mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 15:13:21 +08:00
15 lines
759 B
Text
15 lines
759 B
Text
|
<div class="users-access-cell">
|
||
|
<% if can_manage_protocol_users?(protocol) %>
|
||
|
<%= link_to edit_access_permissions_protocol_path(protocol), class: 'protocol-users-link', data: { action: 'remote-modal' } do %>
|
||
|
<%= render partial: 'protocols/index/users_list.html.erb', locals: { protocol: protocol } %>
|
||
|
<span class="new-user global-avatar-container">
|
||
|
<i class="fas fa-plus"></i>
|
||
|
</span>
|
||
|
<% end %>
|
||
|
<% else %>
|
||
|
<%= link_to access_permissions_protocol_path(protocol), class: 'protocol-users-link', data: { action: 'remote-modal' } do %>
|
||
|
<%= render partial: 'protocols/index/users_list.html.erb', locals: { protocol: protocol } %>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
</div>
|