summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-12-19 13:00:06 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-12-19 13:00:06 -0500
commit34dc4967c2ccfcf108fe29f7390e189e09315853 (patch)
treeaff91b6a1548ffc017fdf23748972f363b59363a
parent725ce6c03464688e9b7d018e914beab3ef695f97 (diff)
downloadgitlab-ce-25225-fix-inconsistent-merge-button-styles.tar.gz
Set “Remove branch” button to default size25225-fix-inconsistent-merge-button-styles
-rw-r--r--app/views/projects/merge_requests/widget/_merged_buttons.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/widget/_merged_buttons.haml b/app/views/projects/merge_requests/widget/_merged_buttons.haml
index 81abb543d57..9eef011b591 100644
--- a/app/views/projects/merge_requests/widget/_merged_buttons.haml
+++ b/app/views/projects/merge_requests/widget/_merged_buttons.haml
@@ -5,7 +5,7 @@
- if can_remove_source_branch || mr_can_be_reverted || mr_can_be_cherry_picked
.clearfix.merged-buttons
- if can_remove_source_branch
- = link_to namespace_project_branch_path(@merge_request.source_project.namespace, @merge_request.source_project, @merge_request.source_branch), remote: true, method: :delete, class: "btn btn-default btn-sm remove_source_branch" do
+ = link_to namespace_project_branch_path(@merge_request.source_project.namespace, @merge_request.source_project, @merge_request.source_branch), remote: true, method: :delete, class: "btn btn-default remove_source_branch" do
= icon('trash-o')
Remove Source Branch
- if mr_can_be_reverted