Commit 5a109128 authored by Luke Bennett's avatar Luke Bennett

Merge branch 'ce-to-ee-2018-01-11' of https://gitlab.com/gitlab-org/gitlab-ee...

Merge branch 'ce-to-ee-2018-01-11' of https://gitlab.com/gitlab-org/gitlab-ee into ce-to-ee-2018-01-11
parents 103c7a0b 3a817056
...@@ -57,13 +57,7 @@ ...@@ -57,13 +57,7 @@
<a <a
:href="commit.commitUrl" :href="commit.commitUrl"
class="commit-hash-link commit-sha" class="commit-hash-link commit-sha"
<<<<<<< HEAD
>
{{ commit.shortSha }}
</a>
=======
>{{ commit.shortSha }}</a> >{{ commit.shortSha }}</a>
>>>>>>> upstream/master
{{ s__('FirstPushedBy|pushed by') }} {{ s__('FirstPushedBy|pushed by') }}
<a <a
:href="commit.author.webUrl" :href="commit.author.webUrl"
......
...@@ -46,13 +46,7 @@ ...@@ -46,13 +46,7 @@
<a <a
:href="mergeRequest.url" :href="mergeRequest.url"
class="issue-link" class="issue-link"
<<<<<<< HEAD
>
!{{ mergeRequest.iid }}
</a>
=======
>!{{ mergeRequest.iid }}</a> >!{{ mergeRequest.iid }}</a>
>>>>>>> upstream/master
&middot; &middot;
<span> <span>
{{ s__('OpenedNDaysAgo|Opened') }} {{ s__('OpenedNDaysAgo|Opened') }}
......
...@@ -63,12 +63,8 @@ ...@@ -63,12 +63,8 @@
</a> </a>
<span <span
class="icon-branch" class="icon-branch"
<<<<<<< HEAD
v-html="iconBranch">
=======
v-html="iconBranch" v-html="iconBranch"
> >
>>>>>>> upstream/master
</span> </span>
<a <a
:href="build.commitUrl" :href="build.commitUrl"
......
...@@ -80,24 +80,14 @@ ...@@ -80,24 +80,14 @@
</span> </span>
<a <a
:href="build.commitUrl" :href="build.commitUrl"
<<<<<<< HEAD
class="commit-sha"
>
=======
class="commit-sha"> class="commit-sha">
>>>>>>> upstream/master
{{ build.shortSha }} {{ build.shortSha }}
</a> </a>
</h5> </h5>
<span> <span>
<a <a
:href="build.url" :href="build.url"
<<<<<<< HEAD
class="issue-date"
>
=======
class="issue-date"> class="issue-date">
>>>>>>> upstream/master
{{ build.date }} {{ build.date }}
</a> </a>
</span> </span>
......
...@@ -72,12 +72,8 @@ ...@@ -72,12 +72,8 @@
<span v-html="playIconSvg"></span> <span v-html="playIconSvg"></span>
<i <i
class="fa fa-caret-down" class="fa fa-caret-down"
<<<<<<< HEAD
aria-hidden="true">
=======
aria-hidden="true" aria-hidden="true"
> >
>>>>>>> upstream/master
</i> </i>
<loading-icon v-if="isLoading" /> <loading-icon v-if="isLoading" />
</span> </span>
...@@ -86,12 +82,7 @@ ...@@ -86,12 +82,7 @@
<ul class="dropdown-menu dropdown-menu-align-right"> <ul class="dropdown-menu dropdown-menu-align-right">
<li <li
v-for="(action, i) in actions" v-for="(action, i) in actions"
<<<<<<< HEAD
:key="i"
>
=======
:key="i"> :key="i">
>>>>>>> upstream/master
<button <button
type="button" type="button"
class="js-manual-action-link no-btn btn" class="js-manual-action-link no-btn btn"
......
...@@ -3,21 +3,6 @@ ...@@ -3,21 +3,6 @@
import { s__ } from '../../locale'; import { s__ } from '../../locale';
/** /**
<<<<<<< HEAD
* Renders the external url link in environments table.
*/
export default {
directives: {
tooltip,
},
props: {
externalUrl: {
type: String,
required: true,
},
},
=======
* Renders the external url link in environments table. * Renders the external url link in environments table.
*/ */
export default { export default {
...@@ -30,7 +15,6 @@ ...@@ -30,7 +15,6 @@
required: true, required: true,
}, },
}, },
>>>>>>> upstream/master
computed: { computed: {
title() { title() {
......
...@@ -56,11 +56,7 @@ export default { ...@@ -56,11 +56,7 @@ export default {
eventHub.$on('fetchPage', this.fetchPage); eventHub.$on('fetchPage', this.fetchPage);
eventHub.$on('toggleChildren', this.toggleChildren); eventHub.$on('toggleChildren', this.toggleChildren);
<<<<<<< HEAD
eventHub.$on('leaveGroup', this.leaveGroup);
=======
eventHub.$on('showLeaveGroupModal', this.showLeaveGroupModal); eventHub.$on('showLeaveGroupModal', this.showLeaveGroupModal);
>>>>>>> upstream/master
eventHub.$on('updatePagination', this.updatePagination); eventHub.$on('updatePagination', this.updatePagination);
eventHub.$on('updateGroups', this.updateGroups); eventHub.$on('updateGroups', this.updateGroups);
}, },
...@@ -70,11 +66,7 @@ export default { ...@@ -70,11 +66,7 @@ export default {
beforeDestroy() { beforeDestroy() {
eventHub.$off('fetchPage', this.fetchPage); eventHub.$off('fetchPage', this.fetchPage);
eventHub.$off('toggleChildren', this.toggleChildren); eventHub.$off('toggleChildren', this.toggleChildren);
<<<<<<< HEAD
eventHub.$off('leaveGroup', this.leaveGroup);
=======
eventHub.$off('showLeaveGroupModal', this.showLeaveGroupModal); eventHub.$off('showLeaveGroupModal', this.showLeaveGroupModal);
>>>>>>> upstream/master
eventHub.$off('updatePagination', this.updatePagination); eventHub.$off('updatePagination', this.updatePagination);
eventHub.$off('updateGroups', this.updateGroups); eventHub.$off('updateGroups', this.updateGroups);
}, },
......
<script> <script>
<<<<<<< HEAD
import { s__ } from '~/locale';
import tooltip from '~/vue_shared/directives/tooltip';
import icon from '~/vue_shared/components/icon.vue';
import modal from '~/vue_shared/components/modal.vue';
import eventHub from '../event_hub';
import { COMMON_STR } from '../constants';
export default {
components: {
icon,
modal,
=======
import tooltip from '~/vue_shared/directives/tooltip'; import tooltip from '~/vue_shared/directives/tooltip';
import icon from '~/vue_shared/components/icon.vue'; import icon from '~/vue_shared/components/icon.vue';
import eventHub from '../event_hub'; import eventHub from '../event_hub';
...@@ -29,57 +16,19 @@ export default { ...@@ -29,57 +16,19 @@ export default {
type: Object, type: Object,
required: false, required: false,
default: () => ({}), default: () => ({}),
>>>>>>> upstream/master
}, },
directives: { group: {
tooltip, type: Object,
required: true,
}, },
<<<<<<< HEAD
props: {
parentGroup: {
type: Object,
required: false,
default: () => ({}),
},
group: {
type: Object,
required: true,
},
=======
}, },
computed: { computed: {
leaveBtnTitle() { leaveBtnTitle() {
return COMMON_STR.LEAVE_BTN_TITLE; return COMMON_STR.LEAVE_BTN_TITLE;
>>>>>>> upstream/master
},
data() {
return {
modalStatus: false,
};
},
<<<<<<< HEAD
computed: {
leaveBtnTitle() {
return COMMON_STR.LEAVE_BTN_TITLE;
},
editBtnTitle() {
return COMMON_STR.EDIT_BTN_TITLE;
},
leaveConfirmationMessage() {
return s__(`GroupsTree|Are you sure you want to leave the "${this.group.fullName}" group?`);
},
}, },
methods: { editBtnTitle() {
onLeaveGroup() { return COMMON_STR.EDIT_BTN_TITLE;
this.modalStatus = true;
},
leaveGroup() {
this.modalStatus = false;
eventHub.$emit('leaveGroup', this.group, this.parentGroup);
},
}, },
};
=======
}, },
methods: { methods: {
onLeaveGroup() { onLeaveGroup() {
...@@ -87,7 +36,6 @@ export default { ...@@ -87,7 +36,6 @@ export default {
}, },
}, },
}; };
>>>>>>> upstream/master
</script> </script>
<template> <template>
......
...@@ -30,19 +30,11 @@ ...@@ -30,19 +30,11 @@
default: 'bottom', default: 'bottom',
}, },
/** /**
<<<<<<< HEAD
* value could either be number or string * value could either be number or string
* as `memberCount` is always passed as string * as `memberCount` is always passed as string
* while `subgroupCount` & `projectCount` * while `subgroupCount` & `projectCount`
* are always number * are always number
*/ */
=======
* value could either be number or string
* as `memberCount` is always passed as string
* while `subgroupCount` & `projectCount`
* are always number
*/
>>>>>>> upstream/master
value: { value: {
type: [Number, String], type: [Number, String],
required: false, required: false,
......
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