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">×</span></button>
|
2016-07-28 22:41:10 +08:00
|
|
|
<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">
|
2016-07-28 22:41:10 +08:00
|
|
|
<% if is_admin_of_organization(@experiment.project.organization) %>
|
|
|
|
<%= link_to t("experiments.canvas.full_zoom.modal_manage_users.invite_users_link"), organization_path(organization_id: @experiment.project.organization.id) %>
|
|
|
|
<span><%=t "experiments.canvas.full_zoom.modal_manage_users.invite_users_details", organization: @experiment.project.organization.name %></span>
|
2016-07-21 19:11:15 +08:00
|
|
|
<% else %>
|
2016-07-28 22:41:10 +08:00
|
|
|
<i><%=t "experiments.canvas.full_zoom.modal_manage_users.contact_admins", organization: @experiment.project.organization.name %></i>
|
2016-07-21 19:11:15 +08:00
|
|
|
<% end %>
|
|
|
|
</span>
|
2016-02-12 23:52:43 +08:00
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.close" %></button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|