summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArinde Eniola <eniolaarinde1@gmail.com>2016-04-18 12:36:15 +0100
committerArinde Eniola <eniolaarinde1@gmail.com>2016-04-18 12:36:15 +0100
commit0592112c6e9cebfcae6869c8fa273d7c13b74c16 (patch)
tree06f836280ca44b6166631185f119121735f6a1b3
parente32fc7567be2ff2cc995648e675de18133f8a066 (diff)
downloadgitlab-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.haml3
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)