mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-04 12:14:37 +08:00
Fix markup
This commit is contained in:
parent
9c488d5a0c
commit
2e8a02f79f
3 changed files with 3 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
<div>
|
||||
<%= t('access_permissions.everyone_else', team_name: project.team.name) %>
|
||||
<%= render 'access_permissions/partials/public_members_dropdown', team: project.team, project: project %>
|
||||
<%= render 'access_permissions/partials/public_members_dropdown', team: project.team, assignable: project %>
|
||||
<br>
|
||||
<small class="text-muted">
|
||||
<%= project.default_public_user_role.name %>
|
||||
|
|
|
@ -5,14 +5,8 @@
|
|||
<div class="title">
|
||||
<%= t('.title', team: team.name) %>
|
||||
</div>
|
||||
<%
|
||||
users_excluded = if defined? project
|
||||
project.manually_assigned_users.select(:id)
|
||||
elsif protocol
|
||||
protocol.manually_assigned_users.select(:id)
|
||||
end
|
||||
%>
|
||||
<% team.users.order(full_name: :asc).where.not(id: users_excluded).each do |user| %>
|
||||
<% users_excluded_id = assignable.manually_assigned_users.select(:id) %>
|
||||
<% team.users.order(full_name: :asc).where.not(id: users_excluded_id).each do |user| %>
|
||||
<div class="name">
|
||||
<%= user.full_name %>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue