mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update tabs
This commit is contained in:
parent
d808aced1d
commit
9ceaf21b80
37 changed files with 565 additions and 345 deletions
|
@ -62,13 +62,27 @@
|
|||
});
|
||||
}
|
||||
|
||||
$(document).on('pageshow', "#notificationSettingsPage", function () {
|
||||
function getTabs() {
|
||||
return [
|
||||
{
|
||||
href: 'notificationsettings.html',
|
||||
name: Globalize.translate('TabNotifications')
|
||||
},
|
||||
{
|
||||
href: 'appservices.html?context=notifications',
|
||||
name: Globalize.translate('TabServices')
|
||||
}];
|
||||
}
|
||||
|
||||
var page = this;
|
||||
return function (view, params) {
|
||||
|
||||
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
reload(page);
|
||||
view.addEventListener('viewshow', function () {
|
||||
|
||||
LibraryMenu.setTabs('notifications', 0, getTabs);
|
||||
|
||||
require(['paper-fab', 'paper-item-body', 'paper-icon-item'], function () {
|
||||
reload(view);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue