mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
rework nav drawer
This commit is contained in:
parent
52f247c51a
commit
ff8014a721
66 changed files with 5861 additions and 6234 deletions
|
@ -199,21 +199,14 @@
|
|||
|
||||
var context = getParameterByName('context');
|
||||
|
||||
$('.syncTabs', page).hide();
|
||||
$('.pluginTabs', page).hide();
|
||||
$('.livetvTabs', page).hide();
|
||||
$('.notificationsTabs', page).hide();
|
||||
|
||||
if (context == 'sync') {
|
||||
$('.syncTabs', page).show();
|
||||
|
||||
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Sync');
|
||||
Dashboard.setPageTitle(Globalize.translate('TitleSync'));
|
||||
}
|
||||
else if (context == 'livetv') {
|
||||
|
||||
$('.livetvTabs', page).show();
|
||||
|
||||
Dashboard.setPageTitle(Globalize.translate('TitleLiveTV'));
|
||||
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Live%20TV');
|
||||
}
|
||||
|
@ -225,8 +218,6 @@
|
|||
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Notifications');
|
||||
}
|
||||
else {
|
||||
$('.pluginTabs', page).show();
|
||||
|
||||
page.setAttribute('data-helpurl', 'https://github.com/MediaBrowser/Wiki/wiki/Plugins');
|
||||
Dashboard.setPageTitle(Globalize.translate('TitlePlugins'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue