Fix manage project users modal bug

Closes SCI-1026.
This commit is contained in:
Luka Murn 2017-02-16 15:29:58 +01:00
parent d097f0dd15
commit ce617894c5

View file

@ -1,7 +1,7 @@
<!-- Modal footer for Manage users modal -->
<span class="pull-left">
<% if is_admin_of_team(@project.team) %>
<%= link_to t('projects.index.modal_manage_users.invite_users_link'), team_path(team_id: @project.team.id) %>
<%= link_to t('projects.index.modal_manage_users.invite_users_link'), team_path(@project.team.id) %>
<span><%=t 'projects.index.modal_manage_users.invite_users_details', team: @project.team.name %></span>
<% else %>
<i><%=t 'projects.index.modal_manage_users.contact_admins', team: @project.team.name %></i>