External projects moderator database (#5692)
* Begin external projects moderator database frontend * add copy link button * begin project page permissions settings * MEL database backend routes * include filename in external files * Hook up frontend external license page to backend * more work on user-facing external projects stuff * put user-facing stuff behind feature flag * prepr * clippy --------- Co-authored-by: aecsocket <aecsocket@tutanota.com>
This commit is contained in:
@@ -323,6 +323,11 @@
|
||||
color: 'orange',
|
||||
link: '/moderation/reports',
|
||||
},
|
||||
{
|
||||
id: 'external-projects',
|
||||
color: 'orange',
|
||||
link: '/moderation/external-projects',
|
||||
},
|
||||
{
|
||||
divider: true,
|
||||
},
|
||||
@@ -377,6 +382,9 @@
|
||||
<template #review-reports>
|
||||
<ReportIcon aria-hidden="true" /> {{ formatMessage(messages.reports) }}
|
||||
</template>
|
||||
<template #external-projects>
|
||||
<GlobeIcon aria-hidden="true" /> {{ formatMessage(messages.externalProjects) }}
|
||||
</template>
|
||||
<template #user-lookup>
|
||||
<UserSearchIcon aria-hidden="true" /> {{ formatMessage(messages.lookupByEmail) }}
|
||||
</template>
|
||||
@@ -705,6 +713,7 @@ import {
|
||||
DropdownIcon,
|
||||
FileIcon,
|
||||
GlassesIcon,
|
||||
GlobeIcon,
|
||||
HamburgerIcon,
|
||||
HomeIcon,
|
||||
IssuesIcon,
|
||||
@@ -880,6 +889,10 @@ const messages = defineMessages({
|
||||
id: 'layout.action.reports',
|
||||
defaultMessage: 'Review reports',
|
||||
},
|
||||
externalProjects: {
|
||||
id: 'layout.action.external-projects',
|
||||
defaultMessage: 'External projects',
|
||||
},
|
||||
lookupByEmail: {
|
||||
id: 'layout.action.lookup-by-email',
|
||||
defaultMessage: 'Lookup by email',
|
||||
|
||||
Reference in New Issue
Block a user