Move modal copy and design fix [SCI-6248] (#3663)

This commit is contained in:
artoscinote 2021-11-15 12:50:50 +01:00 committed by GitHub
parent 4ce0c53d36
commit 945fd31538
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,10 +15,10 @@
<h4 class="modal-title" id="move-experiment-modal-label"><%= t("experiments.move.modal_title", experiment: @experiment.name ) %></h5> <h4 class="modal-title" id="move-experiment-modal-label"><%= t("experiments.move.modal_title", experiment: @experiment.name ) %></h5>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<%= t("experiments.move.notice") %> <p><small><%= t("experiments.move.notice") %></small></p>
<% if @projects.any? && can_manage_all_experiment_my_modules?(@experiment) %> <% if @projects.any? && can_manage_all_experiment_my_modules?(@experiment) %>
<%= f.select :project_id, options_for_select(@projects.collect { |p| [ p.name, p.id ] }), <%= f.select :project_id, options_for_select(@projects.collect { |p| [ p.name, p.id ] }),
{}, { class: "form-control selectpicker", "data-role" => "clear" } %> { label: t("experiments.move.target_project") }, { class: "form-control selectpicker", "data-role" => "clear" } %>
<% else %> <% else %>
<div class="warning-message"> <div class="warning-message">
<i class="fas fa-exclamation-triangle"></i> <i class="fas fa-exclamation-triangle"></i>