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">
|
2018-02-14 23:15:42 +08:00
|
|
|
<% if current_user.is_admin_of_team?(@experiment.project.team) %>
|
2018-03-07 00:56:01 +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>
|
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>
|