change the link color of the target branch in a merge rquest
This commit is contained in:
parent
e32fc7567b
commit
0592112c6e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue