1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update tabs

This commit is contained in:
Luke Pulverenti 2016-04-13 01:28:45 -04:00
parent d808aced1d
commit 9ceaf21b80
37 changed files with 565 additions and 345 deletions

View file

@ -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);
});
});
});
};
});