2016-07-21 19:11:15 +08:00
|
|
|
<!-- Modal footer for Manage users modal -->
|
|
|
|
<span class="pull-left">
|
2017-01-25 19:01:23 +08:00
|
|
|
<% if is_admin_of_team(@project.team) %>
|
2017-12-14 18:22:28 +08:00
|
|
|
<%= link_to t('projects.index.modal_manage_users.invite_users_link'),
|
|
|
|
"/settings/teams/#{@project.team.id}",
|
|
|
|
data: { turbolinks: false } %>
|
2017-01-25 19:01:23 +08:00
|
|
|
<span><%=t 'projects.index.modal_manage_users.invite_users_details', team: @project.team.name %></span>
|
2016-07-21 19:11:15 +08:00
|
|
|
<% else %>
|
2017-01-25 19:01:23 +08:00
|
|
|
<i><%=t 'projects.index.modal_manage_users.contact_admins', team: @project.team.name %></i>
|
2016-07-21 19:11:15 +08:00
|
|
|
<% end %>
|
|
|
|
</span>
|
2017-01-25 19:01:23 +08:00
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'general.close' %></button>
|