From 6c9262e2666dd6e56b7b34f759104f3b030c970e Mon Sep 17 00:00:00 2001 From: Regis Date: Mon, 6 Mar 2017 11:25:01 -0700 Subject: structure html to handle single or double merge states with new style changes --- app/views/projects/merge_requests/widget/_merged.html.haml | 2 +- .../merge_requests/widget/open/_merge_when_pipeline_succeeds.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/projects/merge_requests/widget/_merged.html.haml b/app/views/projects/merge_requests/widget/_merged.html.haml index be62842fecd..adc3bbc37f3 100644 --- a/app/views/projects/merge_requests/widget/_merged.html.haml +++ b/app/views/projects/merge_requests/widget/_merged.html.haml @@ -49,4 +49,4 @@ %span The changes were merged into #{link_to @merge_request.target_branch, namespace_project_commits_path(@project.namespace, @project, @merge_request.target_branch), class: "label-branch"}. - = render 'projects/merge_requests/widget/merged_buttons' + = render 'projects/merge_requests/widget/merged_buttons' diff --git a/app/views/projects/merge_requests/widget/open/_merge_when_pipeline_succeeds.html.haml b/app/views/projects/merge_requests/widget/open/_merge_when_pipeline_succeeds.html.haml index e897a5a8581..6f50c517a6c 100644 --- a/app/views/projects/merge_requests/widget/open/_merge_when_pipeline_succeeds.html.haml +++ b/app/views/projects/merge_requests/widget/open/_merge_when_pipeline_succeeds.html.haml @@ -9,7 +9,7 @@ %li %span = succeed '.' do - The changes will be merged into #{@merge_request.target_branch} + The changes will be merged into #{link_to @merge_request.target_branch, namespace_project_commits_path(@project.namespace, @project, @merge_request.target_branch), class: "label-branch"}. - if @merge_request.remove_source_branch? %li %span -- cgit v1.2.1