Commit 1fbd6a96 authored by Fatih Acet's avatar Fatih Acet

Added new Conflicts tab and conflicts placeholder to MRs page.

parent 774434f4
......@@ -61,6 +61,10 @@
= link_to diffs_namespace_project_merge_request_path(@project.namespace, @project, @merge_request), data: {target: 'div#diffs', action: 'diffs', toggle: 'tab'} do
Changes
%span.badge= @merge_request.diff_size
%li.conflicts-tab
= link_to conflicts_namespace_project_merge_request_path(@project.namespace, @project, @merge_request), data: {target: 'div#conflicts', action: 'conflicts', toggle: 'tab'} do
Conflicts
%span.badge 3
.tab-content
#notes.notes.tab-pane.voting_notes
......@@ -78,6 +82,9 @@
- # This tab is always loaded via AJAX
#diffs.diffs.tab-pane
- # This tab is always loaded via AJAX
#conflicts.conflicts.tab-pane
- # This tab is always loaded via AJAX
= render 'projects/merge_requests/show/conflicts'
.mr-loading-status
= spinner
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment