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 02:02:07 -04:00
parent 9ceaf21b80
commit 8de0aadb57
36 changed files with 267 additions and 36 deletions

View file

@ -243,6 +243,18 @@
return html;
}
function getTabs() {
return [
{
href: 'plugins.html',
name: Globalize.translate('TabMyPlugins')
},
{
href: 'plugincatalog.html',
name: Globalize.translate('TabCatalog')
}];
}
$(document).on('pageinit', "#pluginCatalogPage", function () {
var page = this;
@ -261,6 +273,7 @@
}).on('pageshow', "#pluginCatalogPage", function () {
LibraryMenu.setTabs('plugins', 1, getTabs);
var page = this;
reloadList(page);