Add notices system to Servers (#3502)

* Servers notices

* Refresh on unassign
This commit is contained in:
Prospector
2025-04-12 22:00:22 -07:00
committed by GitHub
parent 56520572b2
commit 59edc8d618
16 changed files with 1065 additions and 7 deletions

View File

@@ -298,6 +298,12 @@
link: '/admin/user_email',
shown: isAdmin(auth.user),
},
{
id: 'servers-notices',
color: 'primary',
link: '/admin/servers/notices',
shown: isAdmin(auth.user),
},
]"
>
<ModrinthIcon aria-hidden="true" />
@@ -305,6 +311,9 @@
<template #review-projects> <ScaleIcon aria-hidden="true" /> Review projects </template>
<template #review-reports> <ReportIcon aria-hidden="true" /> Reports </template>
<template #user-lookup> <UserIcon aria-hidden="true" /> Lookup by email </template>
<template #servers-notices>
<IssuesIcon aria-hidden="true" /> Manage server notices
</template>
</OverflowMenu>
</ButtonStyled>
<ButtonStyled type="transparent">