Fix MR css for accept MR block

This commit is contained in:
Dmitriy Zaporozhets 2012-12-31 18:35:38 +02:00
parent e5ff5c2869
commit 22ec3fa14c
2 changed files with 7 additions and 6 deletions

View file

@ -47,6 +47,7 @@
}
label {
color: #444;
text-align: left
}
}

View file

@ -9,19 +9,19 @@
%span
= form_for [:automerge, @project, @merge_request], remote: true, method: :get do |f|
%p
You can accept this request automatically.
If you still want to do it manually -
You can accept this request automatically.
If you still want to do it manually -
%strong= link_to "click here", "#", class: "how_to_merge_link vlink", title: "How To Merge"
for instructions
.accept_group
= f.submit "Accept Merge Request", class: "btn small success accept_merge_request"
- unless @project.root_ref? @merge_request.source_branch
= f.submit "Accept Merge Request", class: "btn success accept_merge_request"
- unless @project.root_ref? @merge_request.source_branch
.remove_branch_holder
= label_tag :should_remove_source_branch, class: "checkbox" do
= label_tag :should_remove_source_branch, class: "checkbox" do
= check_box_tag :should_remove_source_branch
Remove source-branch
.clearfix
.automerge_widget.cannot_be_merged{style: "display:none"}
.alert.alert-info