summaryrefslogtreecommitdiff
path: root/app/views/projects/_visibility_modal.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_visibility_modal.html.haml')
-rw-r--r--app/views/projects/_visibility_modal.html.haml11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/views/projects/_visibility_modal.html.haml b/app/views/projects/_visibility_modal.html.haml
index 3ef93a40137..144f726572b 100644
--- a/app/views/projects/_visibility_modal.html.haml
+++ b/app/views/projects/_visibility_modal.html.haml
@@ -7,7 +7,7 @@
.modal-header
%h3.page-title= _('Reduce this project’s visibility?')
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
- %span{ "aria-hidden": true }= sprite_icon("close", size: 16)
+ %span{ "aria-hidden": true }= sprite_icon("close")
.modal-body
%p
- if @project.group
@@ -23,8 +23,7 @@
= ("To confirm, type %{phrase_code}").html_safe % { phrase_code: '<code class="js-confirm-danger-match">%{phrase_name}</code>'.html_safe % { phrase_name: @project.full_path } }
.form-group
= text_field_tag 'confirm_path_input', '', class: 'form-control js-confirm-danger-input qa-confirm-input'
- .form-actions.clearfix
- .pull-right
- %button.btn.btn-default{ type: "button", "data-dismiss": "modal" }
- = _('Cancel')
- = submit_tag _('Reduce project visibility'), class: "btn btn-danger js-confirm-danger-submit qa-confirm-button", disabled: true
+ .form-actions.gl-display-flex.gl-justify-content-end
+ %button.btn.btn-default.gl-mr-4{ type: "button", "data-dismiss": "modal" }
+ = _('Cancel')
+ = submit_tag _('Reduce project visibility'), class: "btn btn-danger js-confirm-danger-submit qa-confirm-button", disabled: true