Commit 8826962d authored by George Tsiolis's avatar George Tsiolis

Update `gitlab` npm namespace

parent f2521567
<script> <script>
import { GlTooltipDirective } from '@gitlab-org/gitlab-ui'; import { GlTooltipDirective } from '@gitlab/ui';
export default { export default {
directives: { directives: {
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
<template> <template>
<span v-if="count === 50" class="events-info float-right"> <span v-if="count === 50" class="events-info float-right">
<i <i
v-gl-tooltip.top v-gl-tooltip
:title=" :title="
n__('Limited to showing %d event at most', 'Limited to showing %d events at most', 50) n__('Limited to showing %d event at most', 'Limited to showing %d events at most', 50)
" "
......
...@@ -4,7 +4,7 @@ import { mapActions, mapGetters } from 'vuex'; ...@@ -4,7 +4,7 @@ import { mapActions, mapGetters } from 'vuex';
import ClipboardButton from '~/vue_shared/components/clipboard_button.vue'; import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import Icon from '~/vue_shared/components/icon.vue'; import Icon from '~/vue_shared/components/icon.vue';
import FileIcon from '~/vue_shared/components/file_icon.vue'; import FileIcon from '~/vue_shared/components/file_icon.vue';
import { GlTooltipDirective } from '@gitlab-org/gitlab-ui'; import { GlTooltipDirective } from '@gitlab/ui';
import { truncateSha } from '~/lib/utils/text_utility'; import { truncateSha } from '~/lib/utils/text_utility';
import { __, s__, sprintf } from '~/locale'; import { __, s__, sprintf } from '~/locale';
import EditButton from './edit_button.vue'; import EditButton from './edit_button.vue';
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
<a <a
v-if="diffFile.external_url" v-if="diffFile.external_url"
v-gl-tooltip v-gl-tooltip.hover
:href="diffFile.external_url" :href="diffFile.external_url"
:title="`View on ${diffFile.formatted_external_url}`" :title="`View on ${diffFile.formatted_external_url}`"
target="_blank" target="_blank"
......
<script> <script>
import { GlTooltipDirective } from '@gitlab-org/gitlab-ui'; import { GlTooltipDirective } from '@gitlab/ui';
import timeagoMixin from '../mixins/timeago'; import timeagoMixin from '../mixins/timeago';
import '../../lib/utils/datetime_utility'; import '../../lib/utils/datetime_utility';
...@@ -35,6 +35,7 @@ export default { ...@@ -35,6 +35,7 @@ export default {
v-gl-tooltip="{ placement: tooltipPlacement }" v-gl-tooltip="{ placement: tooltipPlacement }"
:class="cssClass" :class="cssClass"
:title="tooltipTitle(time)" :title="tooltipTitle(time)"
v-text="timeFormated(time)"> v-text="timeFormated(time)"
>
</time> </time>
</template> </template>
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