diff options
author | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-18 12:36:15 +0100 |
---|---|---|
committer | Arinde Eniola <eniolaarinde1@gmail.com> | 2016-04-18 12:36:15 +0100 |
commit | 0592112c6e9cebfcae6869c8fa273d7c13b74c16 (patch) | |
tree | 06f836280ca44b6166631185f119121735f6a1b3 | |
parent | e32fc7567be2ff2cc995648e675de18133f8a066 (diff) | |
download | gitlab-ce-0592112c6e9cebfcae6869c8fa273d7c13b74c16.tar.gz |
change the link color of the target branch in a merge rquestchange_target_branch_link_color
-rw-r--r-- | app/views/projects/merge_requests/_show.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/_show.html.haml b/app/views/projects/merge_requests/_show.html.haml index 285ad26316c..7125d7d9d1c 100644 --- a/app/views/projects/merge_requests/_show.html.haml +++ b/app/views/projects/merge_requests/_show.html.haml @@ -31,7 +31,8 @@ %span Request to merge %span.label-branch= source_branch_with_namespace(@merge_request) %span into - = link_to @merge_request.target_branch, namespace_project_commits_path(@project.namespace, @project, @merge_request.target_branch), class: "label-branch" + %span.label-branch + = link_to @merge_request.target_branch, namespace_project_commits_path(@project.namespace, @project, @merge_request.target_branch) - if @merge_request.open? && @merge_request.diverged_from_target_branch? %span (#{pluralize(@merge_request.diverged_commits_count, 'commit')} behind) |