debian-mirror-gitlab/app/assets/javascripts/members/components/table/member_source.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
535 B
Vue
Raw Normal View History

2021-01-03 14:25:43 +05:30
<script>
import { GlTooltipDirective } from '@gitlab/ui';
export default {
name: 'MemberSource',
directives: {
GlTooltip: GlTooltipDirective,
},
props: {
memberSource: {
type: Object,
required: true,
},
isDirectMember: {
type: Boolean,
required: true,
},
},
};
</script>
<template>
<span v-if="isDirectMember">{{ __('Direct member') }}</span>
<a v-else v-gl-tooltip.hover :title="__('Inherited')" :href="memberSource.webUrl">{{
2021-03-08 18:12:59 +05:30
memberSource.fullName
2021-01-03 14:25:43 +05:30
}}</a>
</template>