Commit f3185151 authored by Valery Sizov's avatar Valery Sizov

CE->EE Conflict resolving

parent d93d3c81
...@@ -310,20 +310,15 @@ class Projects::MergeRequestsController < Projects::ApplicationController ...@@ -310,20 +310,15 @@ class Projects::MergeRequestsController < Projects::ApplicationController
if @merge_request.valid? if @merge_request.valid?
redirect_to([@merge_request.target_project.namespace.becomes(Namespace), @merge_request.target_project, @merge_request]) redirect_to([@merge_request.target_project.namespace.becomes(Namespace), @merge_request.target_project, @merge_request])
else else
set_suggested_approvers
render :edit render :edit
end end
end end
<<<<<<< HEAD
else
set_suggested_approvers
render "edit"
=======
format.json do format.json do
render json: @merge_request.to_json(include: { milestone: {}, assignee: { methods: :avatar_url }, labels: { methods: :text_color } }, methods: [:task_status, :task_status_short]) render json: @merge_request.to_json(include: { milestone: {}, assignee: { methods: :avatar_url }, labels: { methods: :text_color } }, methods: [:task_status, :task_status_short])
end end
>>>>>>> 7733f285aca97d444382a59eda0ea3e303539c26
end end
rescue ActiveRecord::StaleObjectError rescue ActiveRecord::StaleObjectError
render_conflict_response render_conflict_response
......
...@@ -82,7 +82,6 @@ ...@@ -82,7 +82,6 @@
%span.dropdown-label-box{ style: 'background: {{color}}' } %span.dropdown-label-box{ style: 'background: {{color}}' }
%span.label-title.js-data-value %span.label-title.js-data-value
{{title}} {{title}}
<<<<<<< HEAD
- if type == :issues - if type == :issues
#js-dropdown-weight.dropdown-menu{ data: { icon: 'balance-scale', hint: 'weight', tag: 'weight' } } #js-dropdown-weight.dropdown-menu{ data: { icon: 'balance-scale', hint: 'weight', tag: 'weight' } }
%ul{ 'data-dropdown' => true } %ul{ 'data-dropdown' => true }
...@@ -98,12 +97,8 @@ ...@@ -98,12 +97,8 @@
%li.filter-dropdown-item{ 'data-value' => "#{weight}" } %li.filter-dropdown-item{ 'data-value' => "#{weight}" }
%button.btn.btn-link= weight %button.btn.btn-link= weight
.pull-right
= render 'shared/sort_dropdown', type: local_assigns[:type]
=======
.pull-right.filter-dropdown-container .pull-right.filter-dropdown-container
= render 'shared/sort_dropdown' = render 'shared/sort_dropdown'
>>>>>>> 7733f285aca97d444382a59eda0ea3e303539c26
- if @bulk_edit - if @bulk_edit
.issues_bulk_update.hide .issues_bulk_update.hide
......
...@@ -609,11 +609,8 @@ module API ...@@ -609,11 +609,8 @@ module API
SlackService, SlackService,
MattermostService, MattermostService,
TeamcityService, TeamcityService,
<<<<<<< HEAD
JenkinsService, JenkinsService,
JenkinsDeprecatedService JenkinsDeprecatedService
=======
>>>>>>> 7733f285aca97d444382a59eda0ea3e303539c26
] ]
if Rails.env.development? if Rails.env.development?
......
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