scinote-web/app/views/user_projects/_index_edit_footer.html.erb

11 lines
555 B
Plaintext
Raw Normal View History

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) %>
<%= link_to t('projects.index.modal_manage_users.invite_users_link'), team_path(@project.team.id) %>
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>