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">
|
2017-01-25 19:01:23 +08:00
|
|
|
<% if is_admin_of_team(@experiment.project.team) %>
|
2017-02-23 21:45:00 +08:00
|
|
|
<%= 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>
|
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>
|