scinote-web/app/views/user_projects/_index_edit_footer.html.erb
2018-03-09 12:08:34 +01:00

10 lines
569 B
Text

<!-- Modal footer for Manage users modal -->
<span class="pull-left">
<% if current_user.is_admin_of_team?(@project.team) %>
<%= 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>
<% end %>
</span>
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'general.close' %></button>