mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5761 from venkat-karasani/remove-notifications-page
This commit is contained in:
commit
a22370e337
5 changed files with 0 additions and 48 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;
|
|
|
@ -325,7 +325,6 @@
|
||||||
"General": "General",
|
"General": "General",
|
||||||
"Genre": "Genre",
|
"Genre": "Genre",
|
||||||
"Genres": "Genres",
|
"Genres": "Genres",
|
||||||
"GetThePlugin": "Get the Plugin",
|
|
||||||
"GoHome": "Go Home",
|
"GoHome": "Go Home",
|
||||||
"GoogleCastUnsupported": "Google Cast Unsupported",
|
"GoogleCastUnsupported": "Google Cast Unsupported",
|
||||||
"GridView": "Grid View",
|
"GridView": "Grid View",
|
||||||
|
@ -1147,8 +1146,6 @@
|
||||||
"Normal": "Normal",
|
"Normal": "Normal",
|
||||||
"NoSubtitleSearchResultsFound": "No results found.",
|
"NoSubtitleSearchResultsFound": "No results found.",
|
||||||
"NoSubtitlesHelp": "Subtitles will not be loaded by default. They can still be turned on manually during playback.",
|
"NoSubtitlesHelp": "Subtitles will not be loaded by default. They can still be turned on manually during playback.",
|
||||||
"Notifications": "Notifications",
|
|
||||||
"NotificationsMovedMessage": "The notifications functionality has moved to the Webhook plugin.",
|
|
||||||
"NumLocationsValue": "{0} folders",
|
"NumLocationsValue": "{0} folders",
|
||||||
"Off": "Off",
|
"Off": "Off",
|
||||||
"OnApplicationStartup": "On application startup",
|
"OnApplicationStartup": "On application startup",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue