scinote-web/app/views/my_modules/modals/_manage_users_modal.html.erb

23 lines
1.3 KiB
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<div class="modal" id="manage-module-users-modal" tabindex="-1" role="dialog" aria-labelledby="manage-module-users-modal-label">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="manage-module-users-modal-label"><%= t("experiments.canvas.full_zoom.modal_manage_users.modal_title") %> <span id="manage-module-users-modal-module"></span></h4>
2016-02-12 23:52:43 +08:00
</div>
<div class="modal-body"></div>
<div class="modal-footer">
2016-07-21 19:11:15 +08:00
<span class="pull-left">
<% if can_manage_team_users(@experiment.project.team) %>
<%= link_to t("experiments.canvas.full_zoom.modal_manage_users.invite_users_link"), team_path(@experiment.project.team.id) %>
2017-01-25 19:01:23 +08:00
<span><%=t "experiments.canvas.full_zoom.modal_manage_users.invite_users_details", team: @experiment.project.team.name %></span>
2016-07-21 19:11:15 +08:00
<% else %>
2017-01-25 19:01:23 +08:00
<i><%=t "experiments.canvas.full_zoom.modal_manage_users.contact_admins", team: @experiment.project.team.name %></i>
2016-07-21 19:11:15 +08:00
<% end %>
</span>
2020-01-07 23:13:34 +08:00
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%=t "general.close" %></button>
2016-02-12 23:52:43 +08:00
</div>
</div>
</div>
</div>