debian-mirror-gitlab/app/assets/javascripts/profile/components/followers_tab.vue

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

25 lines
442 B
Vue
Raw Normal View History

2023-04-23 21:23:45 +05:30
<script>
2023-05-27 22:25:52 +05:30
import { GlBadge, GlTab } from '@gitlab/ui';
2023-04-23 21:23:45 +05:30
import { s__ } from '~/locale';
export default {
i18n: {
title: s__('UserProfile|Followers'),
},
2023-05-27 22:25:52 +05:30
components: {
GlBadge,
GlTab,
},
inject: ['followers'],
2023-04-23 21:23:45 +05:30
};
</script>
<template>
2023-05-27 22:25:52 +05:30
<gl-tab>
<template #title>
<span>{{ $options.i18n.title }}</span>
<gl-badge size="sm" class="gl-ml-2">{{ followers }}</gl-badge>
</template>
2023-04-23 21:23:45 +05:30
</gl-tab>
</template>