mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-21 15:36:22 +08:00
Fix invite users link on task card [SCI-2055]
This commit is contained in:
parent
bb21f6543c
commit
186780e68f
|
@ -9,9 +9,7 @@
|
|||
<div class="modal-footer">
|
||||
<span class="pull-left">
|
||||
<% if current_user.is_admin_of_team?(@experiment.project.team) %>
|
||||
<%= link_to t("experiments.canvas.full_zoom.modal_manage_users.invite_users_link"),
|
||||
"/settings/teams/#{@experiment.project.team.id}",
|
||||
data: { turbolinks: false } %>
|
||||
<%= link_to t("experiments.canvas.full_zoom.modal_manage_users.invite_users_link"), team_path(@experiment.project.team.id) %>
|
||||
<span><%=t "experiments.canvas.full_zoom.modal_manage_users.invite_users_details", team: @experiment.project.team.name %></span>
|
||||
<% else %>
|
||||
<i><%=t "experiments.canvas.full_zoom.modal_manage_users.contact_admins", team: @experiment.project.team.name %></i>
|
||||
|
|
Loading…
Reference in a new issue