Fix invite users link on task card [SCI-2055]

This commit is contained in:
Oleksii Kriuchykhin 2018-03-06 17:56:01 +01:00
parent bb21f6543c
commit 186780e68f

View file

@ -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>