replaced ti-users

This commit is contained in:
dakkar 2024-06-21 16:19:13 +01:00
parent 84fd5822bc
commit 527bbd036c
17 changed files with 19 additions and 18 deletions

View file

@ -112,7 +112,7 @@ const menuDef = computed(() => [{
to: '/admin/overview',
active: currentPage.value?.route.name === 'overview',
}, {
icon: 'ph-users ph-bold ph-lg',
icon: 'ti ti-users',
text: i18n.ts.users,
to: '/admin/users',
active: currentPage.value?.route.name === 'users',

View file

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkLoading v-if="fetching"/>
<div v-else :class="$style.root">
<div class="item _panel users">
<div class="icon"><i class="ph-users ph-bold ph-lg"></i></div>
<div class="icon"><i class="ti ti-users"></i></div>
<div class="body">
<div class="value">
<MkNumber :value="stats.originalUsersCount" style="margin-right: 0.5em;"/>

View file

@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkSelect>
<MkSelect v-model="role.target" :readonly="readonly">
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._role.assignTarget }}</template>
<template #label><i class="ti ti-users"></i> {{ i18n.ts._role.assignTarget }}</template>
<template #caption><div v-html="i18n.ts._role.descriptionOfAssignTarget.replaceAll('\n', '<br>')"></div></template>
<option value="manual">{{ i18n.ts._role.manual }}</option>
<option value="conditional">{{ i18n.ts._role.conditional }}</option>

View file

@ -19,7 +19,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<XEditor :modelValue="role" readonly/>
</MkFolder>
<MkFolder v-if="role.target === 'manual'" defaultOpen>
<template #icon><i class="ph-users ph-bold ph-lg"></i></template>
<template #icon><i class="ti ti-users"></i></template>
<template #label>{{ i18n.ts.users }}</template>
<template #suffix>{{ role.usersCount }}</template>
<div class="_gaps">

View file

@ -140,7 +140,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.users,
icon: 'ph-users ph-bold ph-lg',
icon: 'ti ti-users',
}));
</script>

View file

@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkButton v-else v-tooltip="i18n.ts.favorite" asLike class="button" rounded :class="$style.favorite" @click="favorite()"><i class="ti ti-star"></i></MkButton>
<div :style="{ backgroundImage: channel.bannerUrl ? `url(${channel.bannerUrl})` : undefined }" :class="$style.banner">
<div :class="$style.bannerStatus">
<div><i class="ph-users ph-bold ph-lg"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
<div><i class="ti ti-users ti-fw"></i><I18n :src="i18n.ts._channel.usersCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.usersCount }}</b></template></I18n></div>
<div><i class="ti ti-pencil ti-fw"></i><I18n :src="i18n.ts._channel.notesCount" tag="span" style="margin-left: 4px;"><template #n><b>{{ channel.notesCount }}</b></template></I18n></div>
</div>
<div v-if="channel.isSensitive" :class="$style.sensitiveIndicator">{{ i18n.ts.sensitive }}</div>

View file

@ -52,7 +52,7 @@ const headerTabs = computed(() => [{
title: i18n.ts.featured,
}, {
key: 'users',
icon: 'ph-users ph-bold ph-lg',
icon: 'ti ti-users',
title: i18n.ts.users,
}, {
key: 'roles',

View file

@ -278,7 +278,7 @@ const headerTabs = computed(() => [{
}, {
key: 'users',
title: i18n.ts.users,
icon: 'ph-users ph-bold ph-lg',
icon: 'ti ti-users',
}, {
key: 'raw',
title: 'Raw',

View file

@ -85,7 +85,7 @@ const users = computed(() => ({
const headerTabs = computed(() => [{
key: 'users',
icon: 'ph-users ph-bold ph-lg',
icon: 'ti ti-users',
title: i18n.ts.users,
}, {
key: 'timeline',

View file

@ -49,7 +49,7 @@ const headerTabs = computed(() => [{
}, {
key: 'user',
title: i18n.ts.users,
icon: 'ph-users ph-bold ph-lg',
icon: 'ti ti-users',
}]);
definePageMetadata(() => ({

View file

@ -108,7 +108,7 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.accounts,
icon: 'ph-users ph-bold ph-lg',
icon: 'ti ti-users',
}));
</script>

View file

@ -45,7 +45,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</MkFolder>
</FormSection>
<FormSection>
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.followingList }}</template>
<template #label><i class="ti ti-users"></i> {{ i18n.ts._exportOrImport.followingList }}</template>
<div class="_gaps_s">
<MkFolder>
<template #label>{{ i18n.ts.export }}</template>
@ -71,7 +71,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</FormSection>
<FormSection>
<template #label><i class="ph-users ph-bold ph-lg"></i> {{ i18n.ts._exportOrImport.userLists }}</template>
<template #label><i class="ti ti-users"></i> {{ i18n.ts._exportOrImport.userLists }}</template>
<div class="_gaps_s">
<MkFolder>
<template #label>{{ i18n.ts.export }}</template>

View file

@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<XNotes :user="user"/>
</MkFoldableSection>
<MkFoldableSection class="item">
<template #header><i class="ph-users ph-bold ph-lg"></i> Following</template>
<template #header><i class="ti ti-users"></i> Following</template>
<XFollowing :user="user"/>
</MkFoldableSection>
<MkFoldableSection class="item">