mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
replaced ti-exclamation-circle and ti-user-exclamation
This commit is contained in:
parent
527bbd036c
commit
5409440501
7 changed files with 9 additions and 7 deletions
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template>
|
<template>
|
||||||
<MkWindow ref="uiWindow" :initialWidth="400" :initialHeight="500" :canResize="true" @closed="emit('closed')">
|
<MkWindow ref="uiWindow" :initialWidth="400" :initialHeight="500" :canResize="true" @closed="emit('closed')">
|
||||||
<template #header>
|
<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">
|
<I18n :src="i18n.ts.reportAbuseOf" tag="span">
|
||||||
<template #name>
|
<template #name>
|
||||||
<b><MkAcct :user="user"/></b>
|
<b><MkAcct :user="user"/></b>
|
||||||
|
|
|
@ -538,7 +538,7 @@ const headerTabs = computed(() => [{
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: user.value ? acct(user.value) : i18n.ts.userInfo,
|
title: user.value ? acct(user.value) : i18n.ts.userInfo,
|
||||||
icon: 'ph-warning-circle ph-bold ph-lg',
|
icon: 'ti ti-user-exclamation',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,6 @@ const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(() => ({
|
definePageMetadata(() => ({
|
||||||
title: i18n.ts.abuseReports,
|
title: i18n.ts.abuseReports,
|
||||||
icon: 'ph-warning-circle ph-bold ph-lg',
|
icon: 'ti ti-exclamation-circle',
|
||||||
}));
|
}));
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -167,7 +167,7 @@ const menuDef = computed(() => [{
|
||||||
to: '/admin/ads',
|
to: '/admin/ads',
|
||||||
active: currentPage.value?.route.name === 'ads',
|
active: currentPage.value?.route.name === 'ads',
|
||||||
}, {
|
}, {
|
||||||
icon: 'ph-warning-circle ph-bold ph-lg',
|
icon: 'ti ti-exclamation-circle',
|
||||||
text: i18n.ts.abuseReports,
|
text: i18n.ts.abuseReports,
|
||||||
to: '/admin/abuses',
|
to: '/admin/abuses',
|
||||||
active: currentPage.value?.route.name === 'abuses',
|
active: currentPage.value?.route.name === 'abuses',
|
||||||
|
|
|
@ -129,7 +129,7 @@ export async function getNoteClipMenu(props: {
|
||||||
|
|
||||||
export function getAbuseNoteMenu(note: Misskey.entities.Note, text: string): MenuItem {
|
export function getAbuseNoteMenu(note: Misskey.entities.Note, text: string): MenuItem {
|
||||||
return {
|
return {
|
||||||
icon: 'ph-warning-circle ph-bold ph-lg',
|
icon: 'ti ti-exclamation-circle',
|
||||||
text,
|
text,
|
||||||
action: (): void => {
|
action: (): void => {
|
||||||
const localUrl = `${url}/notes/${note.id}`;
|
const localUrl = `${url}/notes/${note.id}`;
|
||||||
|
|
|
@ -159,7 +159,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
|
||||||
copyToClipboard(`@${user.username}@${user.host ?? host}`);
|
copyToClipboard(`@${user.username}@${user.host ?? host}`);
|
||||||
},
|
},
|
||||||
}, ...(iAmModerator ? [{
|
}, ...(iAmModerator ? [{
|
||||||
icon: 'ph-warning-circle ph-bold ph-lg',
|
icon: 'ti ti-user-exclamation',
|
||||||
text: i18n.ts.moderation,
|
text: i18n.ts.moderation,
|
||||||
action: () => {
|
action: () => {
|
||||||
router.push(`/admin/user/${user.id}`);
|
router.push(`/admin/user/${user.id}`);
|
||||||
|
@ -338,7 +338,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
|
||||||
}
|
}
|
||||||
|
|
||||||
menu = menu.concat([{ type: 'divider' }, {
|
menu = menu.concat([{ type: 'divider' }, {
|
||||||
icon: 'ph-warning-circle ph-bold ph-lg',
|
icon: 'ti ti-exclamation-circle',
|
||||||
text: i18n.ts.reportAbuse,
|
text: i18n.ts.reportAbuse,
|
||||||
action: reportAbuse,
|
action: reportAbuse,
|
||||||
}]);
|
}]);
|
||||||
|
|
|
@ -162,6 +162,8 @@ export function getConfig(): UserConfig {
|
||||||
'ti ti-eye-exclamation': 'ph-eye-slash ph-bold ph-lg',
|
'ti ti-eye-exclamation': 'ph-eye-slash ph-bold ph-lg',
|
||||||
'ti ti-lock': 'ph-lock ph-bold ph-lg',
|
'ti ti-lock': 'ph-lock ph-bold ph-lg',
|
||||||
'ti ti-users': 'ph-users 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'
|
...process.env.NODE_ENV === 'production'
|
||||||
|
|
Loading…
Reference in a new issue