<% if is_admin_of_team(@project.team) %>
<%= link_to t('projects.index.modal_manage_users.invite_users_link'),
"/settings/teams/#{@project.team.id}",
data: { turbolinks: false } %>
<%=t 'projects.index.modal_manage_users.invite_users_details', team: @project.team.name %>
<% else %>
<%=t 'projects.index.modal_manage_users.contact_admins', team: @project.team.name %>
<% end %>