Fix a bug with team page not working from user task modal

This commit is contained in:
Luka Murn 2017-02-23 14:45:00 +01:00
parent 98e2a56670
commit dc89c160be

View file

@ -9,7 +9,7 @@
<div class="modal-footer"> <div class="modal-footer">
<span class="pull-left"> <span class="pull-left">
<% if is_admin_of_team(@experiment.project.team) %> <% if is_admin_of_team(@experiment.project.team) %>
<%= link_to t("experiments.canvas.full_zoom.modal_manage_users.invite_users_link"), team_path(team_id: @experiment.project.team.id) %> <%= 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> <span><%=t "experiments.canvas.full_zoom.modal_manage_users.invite_users_details", team: @experiment.project.team.name %></span>
<% else %> <% else %>
<i><%=t "experiments.canvas.full_zoom.modal_manage_users.contact_admins", team: @experiment.project.team.name %></i> <i><%=t "experiments.canvas.full_zoom.modal_manage_users.contact_admins", team: @experiment.project.team.name %></i>