replaced ti-exclamation-circle and ti-user-exclamation

This commit is contained in:
dakkar 2024-06-21 16:24:29 +01:00
parent 527bbd036c
commit 5409440501
7 changed files with 9 additions and 7 deletions

View File

@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<MkWindow ref="uiWindow" :initialWidth="400" :initialHeight="500" :canResize="true" @closed="emit('closed')">
<template #header>
<i class="ph-warning-circle ph-bold ph-lg" style="margin-right: 0.5em;"></i>
<i class="ti ti-exclamation-circle" style="margin-right: 0.5em;"></i>
<I18n :src="i18n.ts.reportAbuseOf" tag="span">
<template #name>
<b><MkAcct :user="user"/></b>

View File

@ -538,7 +538,7 @@ const headerTabs = computed(() => [{
definePageMetadata(() => ({
title: user.value ? acct(user.value) : i18n.ts.userInfo,
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-user-exclamation',
}));
</script>

View File

@ -89,6 +89,6 @@ const headerTabs = computed(() => []);
definePageMetadata(() => ({
title: i18n.ts.abuseReports,
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-exclamation-circle',
}));
</script>

View File

@ -167,7 +167,7 @@ const menuDef = computed(() => [{
to: '/admin/ads',
active: currentPage.value?.route.name === 'ads',
}, {
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-exclamation-circle',
text: i18n.ts.abuseReports,
to: '/admin/abuses',
active: currentPage.value?.route.name === 'abuses',

View File

@ -129,7 +129,7 @@ export async function getNoteClipMenu(props: {
export function getAbuseNoteMenu(note: Misskey.entities.Note, text: string): MenuItem {
return {
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-exclamation-circle',
text,
action: (): void => {
const localUrl = `${url}/notes/${note.id}`;

View File

@ -159,7 +159,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
copyToClipboard(`@${user.username}@${user.host ?? host}`);
},
}, ...(iAmModerator ? [{
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-user-exclamation',
text: i18n.ts.moderation,
action: () => {
router.push(`/admin/user/${user.id}`);
@ -338,7 +338,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
}
menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-warning-circle ph-bold ph-lg',
icon: 'ti ti-exclamation-circle',
text: i18n.ts.reportAbuse,
action: reportAbuse,
}]);

View File

@ -162,6 +162,8 @@ export function getConfig(): UserConfig {
'ti ti-eye-exclamation': 'ph-eye-slash ph-bold ph-lg',
'ti ti-lock': 'ph-lock ph-bold ph-lg',
'ti ti-users': 'ph-users ph-bold ph-lg',
'ti ti-exclamation-circle': 'ph-warning-circle ph-bold ph-lg',
'ti ti-user-exclamation': 'ph-warning-circle ph-bold ph-lg',
},
}),
...process.env.NODE_ENV === 'production'