mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
cleanup: Remove the intermediate notifications dashboard page.
This commit is contained in:
parent
a2e2c68f66
commit
50d7ce860c
4 changed files with 0 additions and 45 deletions
|
@ -1,5 +1,4 @@
|
||||||
import Article from '@mui/icons-material/Article';
|
import Article from '@mui/icons-material/Article';
|
||||||
import EditNotifications from '@mui/icons-material/EditNotifications';
|
|
||||||
import ExpandLess from '@mui/icons-material/ExpandLess';
|
import ExpandLess from '@mui/icons-material/ExpandLess';
|
||||||
import ExpandMore from '@mui/icons-material/ExpandMore';
|
import ExpandMore from '@mui/icons-material/ExpandMore';
|
||||||
import Extension from '@mui/icons-material/Extension';
|
import Extension from '@mui/icons-material/Extension';
|
||||||
|
@ -64,14 +63,6 @@ const AdvancedDrawerSection = () => {
|
||||||
<ListItemText primary={globalize.translate('TabLogs')} />
|
<ListItemText primary={globalize.translate('TabLogs')} />
|
||||||
</ListItemLink>
|
</ListItemLink>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem disablePadding>
|
|
||||||
<ListItemLink to='/dashboard/notifications'>
|
|
||||||
<ListItemIcon>
|
|
||||||
<EditNotifications />
|
|
||||||
</ListItemIcon>
|
|
||||||
<ListItemText primary={globalize.translate('Notifications')} />
|
|
||||||
</ListItemLink>
|
|
||||||
</ListItem>
|
|
||||||
<ListItem disablePadding>
|
<ListItem disablePadding>
|
||||||
<ListItemLink to='/dashboard/plugins' selected={false}>
|
<ListItemLink to='/dashboard/plugins' selected={false}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
|
|
|
@ -2,7 +2,6 @@ import { AsyncRouteType, type AsyncRoute } from 'components/router/AsyncRoute';
|
||||||
|
|
||||||
export const ASYNC_ADMIN_ROUTES: AsyncRoute[] = [
|
export const ASYNC_ADMIN_ROUTES: AsyncRoute[] = [
|
||||||
{ path: 'activity', type: AsyncRouteType.Dashboard },
|
{ path: 'activity', type: AsyncRouteType.Dashboard },
|
||||||
{ path: 'notifications', type: AsyncRouteType.Dashboard },
|
|
||||||
{ path: 'users', type: AsyncRouteType.Dashboard },
|
{ path: 'users', type: AsyncRouteType.Dashboard },
|
||||||
{ path: 'users/access', type: AsyncRouteType.Dashboard },
|
{ path: 'users/access', type: AsyncRouteType.Dashboard },
|
||||||
{ path: 'users/add', type: AsyncRouteType.Dashboard },
|
{ path: 'users/add', type: AsyncRouteType.Dashboard },
|
||||||
|
|
|
@ -21,7 +21,6 @@ export const REDIRECTS: Redirect[] = [
|
||||||
{ from: 'metadataimages.html', to: '/dashboard/libraries/metadata' },
|
{ from: 'metadataimages.html', to: '/dashboard/libraries/metadata' },
|
||||||
{ from: 'metadatanfo.html', to: '/dashboard/libraries/nfo' },
|
{ from: 'metadatanfo.html', to: '/dashboard/libraries/nfo' },
|
||||||
{ from: 'networking.html', to: '/dashboard/networking' },
|
{ from: 'networking.html', to: '/dashboard/networking' },
|
||||||
{ from: 'notificationsettings.html', to: '/dashboard/notifications' },
|
|
||||||
{ from: 'playbackconfiguration.html', to: '/dashboard/playback/resume' },
|
{ from: 'playbackconfiguration.html', to: '/dashboard/playback/resume' },
|
||||||
{ from: 'repositories.html', to: '/dashboard/plugins/repositories' },
|
{ from: 'repositories.html', to: '/dashboard/plugins/repositories' },
|
||||||
{ from: 'scheduledtask.html', to: '/dashboard/tasks/edit' },
|
{ from: 'scheduledtask.html', to: '/dashboard/tasks/edit' },
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
import Alert from '@mui/material/Alert/Alert';
|
|
||||||
import Box from '@mui/material/Box/Box';
|
|
||||||
import Button from '@mui/material/Button/Button';
|
|
||||||
import React from 'react';
|
|
||||||
import { Link } from 'react-router-dom';
|
|
||||||
|
|
||||||
import Page from 'components/Page';
|
|
||||||
import globalize from 'scripts/globalize';
|
|
||||||
|
|
||||||
const NotificationsPage = () => (
|
|
||||||
<Page
|
|
||||||
id='notificationSettingPage'
|
|
||||||
title={globalize.translate('Notifications')}
|
|
||||||
className='mainAnimatedPage type-interior'
|
|
||||||
>
|
|
||||||
<div className='content-primary'>
|
|
||||||
<h2>{globalize.translate('Notifications')}</h2>
|
|
||||||
|
|
||||||
<Alert severity='info'>
|
|
||||||
<Box sx={{ marginBottom: 2 }}>
|
|
||||||
{globalize.translate('NotificationsMovedMessage')}
|
|
||||||
</Box>
|
|
||||||
<Button
|
|
||||||
component={Link}
|
|
||||||
to='/dashboard/plugins/add?name=Webhook&guid=71552a5a5c5c4350a2aeebe451a30173'
|
|
||||||
>
|
|
||||||
{globalize.translate('GetThePlugin')}
|
|
||||||
</Button>
|
|
||||||
</Alert>
|
|
||||||
</div>
|
|
||||||
</Page>
|
|
||||||
);
|
|
||||||
|
|
||||||
export default NotificationsPage;
|
|
Loading…
Add table
Add a link
Reference in a new issue