Commit 624d0361 authored by Constance Okoghenun's avatar Constance Okoghenun

Resolved CE -> EE conflicts for issue board card redesign

parent bb3b62cc
...@@ -3,10 +3,7 @@ import { GlTooltipDirective } from '@gitlab-org/gitlab-ui'; ...@@ -3,10 +3,7 @@ import { GlTooltipDirective } from '@gitlab-org/gitlab-ui';
import { sprintf, __ } from '~/locale'; import { sprintf, __ } from '~/locale';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import TooltipOnTruncate from '~/vue_shared/components/tooltip_on_truncate.vue'; import TooltipOnTruncate from '~/vue_shared/components/tooltip_on_truncate.vue';
<<<<<<< HEAD
import IssueCardWeight from 'ee/boards/components/issue_card_weight.vue'; import IssueCardWeight from 'ee/boards/components/issue_card_weight.vue';
=======
>>>>>>> upstream/master
import UserAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue'; import UserAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue';
import eventHub from '../eventhub'; import eventHub from '../eventhub';
import IssueDueDate from './issue_due_date.vue'; import IssueDueDate from './issue_due_date.vue';
...@@ -19,10 +16,7 @@ export default { ...@@ -19,10 +16,7 @@ export default {
UserAvatarLink, UserAvatarLink,
TooltipOnTruncate, TooltipOnTruncate,
IssueDueDate, IssueDueDate,
<<<<<<< HEAD
IssueCardWeight, IssueCardWeight,
=======
>>>>>>> upstream/master
IssueTimeEstimate, IssueTimeEstimate,
}, },
directives: { directives: {
...@@ -222,13 +216,10 @@ export default { ...@@ -222,13 +216,10 @@ export default {
/><issue-time-estimate /><issue-time-estimate
v-if="issue.timeEstimate" v-if="issue.timeEstimate"
:estimate="issue.timeEstimate" :estimate="issue.timeEstimate"
<<<<<<< HEAD
/><issue-card-weight /><issue-card-weight
v-if="issue.weight" v-if="issue.weight"
:weight="issue.weight" :weight="issue.weight"
@click="filterByWeight(issue.weight)" @click="filterByWeight(issue.weight)"
=======
>>>>>>> upstream/master
/> />
</span> </span>
</div> </div>
......
...@@ -41,12 +41,7 @@ export default { ...@@ -41,12 +41,7 @@ export default {
placement="bottom" placement="bottom"
class="js-issue-time-estimate" class="js-issue-time-estimate"
> >
<<<<<<< HEAD
<span class="bold">{{ __('Time estimate') }}</span>
<br />
=======
<span class="bold d-block">{{ __('Time estimate') }}</span> <span class="bold d-block">{{ __('Time estimate') }}</span>
>>>>>>> upstream/master
{{ title }} {{ title }}
</gl-tooltip> </gl-tooltip>
</span> </span>
......
...@@ -722,7 +722,6 @@ ...@@ -722,7 +722,6 @@
} }
} }
<<<<<<< HEAD
.boards-switcher { .boards-switcher {
padding-right: 10px; padding-right: 10px;
} }
...@@ -766,8 +765,6 @@ ...@@ -766,8 +765,6 @@
} }
} }
=======
>>>>>>> upstream/master
.board-card-info { .board-card-info {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
white-space: nowrap; white-space: nowrap;
......
...@@ -105,21 +105,7 @@ module Boards ...@@ -105,21 +105,7 @@ module Boards
end end
def serialize_as_json(resource) def serialize_as_json(resource)
<<<<<<< HEAD
resource.as_json(
only: [:id, :iid, :project_id, :title, :confidential, :due_date, :relative_position, :weight, :time_estimate],
labels: true,
issue_endpoints: true,
include_full_project_path: board.group_board?,
include: {
project: { only: [:id, :path] },
assignees: { only: [:id, :name, :username], methods: [:avatar_url] },
milestone: { only: [:id, :title] }
}
)
=======
serializer.represent(resource, serializer: 'board', include_full_project_path: board.group_board?) serializer.represent(resource, serializer: 'board', include_full_project_path: board.group_board?)
>>>>>>> upstream/master
end end
def whitelist_query_limiting def whitelist_query_limiting
......
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