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
9ceaf21b80
commit
8de0aadb57
36 changed files with 267 additions and 36 deletions
|
@ -146,6 +146,22 @@
|
|||
}
|
||||
};
|
||||
|
||||
function getTabs() {
|
||||
return [
|
||||
{
|
||||
href: 'about.html',
|
||||
name: Globalize.translate('TabAbout')
|
||||
},
|
||||
{
|
||||
href: 'log.html',
|
||||
name: Globalize.translate('TabLogs')
|
||||
},
|
||||
{
|
||||
href: 'supporterkey.html',
|
||||
name: Globalize.translate('TabEmbyPremiere')
|
||||
}];
|
||||
}
|
||||
|
||||
$(document).on('pageinit', "#supporterKeyPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
@ -156,6 +172,9 @@
|
|||
$('.benefits', page).html(Globalize.translate('HeaderSupporterBenefit', '<a href="http://emby.media/premiere" target="_blank">', '</a>'));
|
||||
|
||||
}).on('pageshow', "#supporterKeyPage", function () {
|
||||
|
||||
LibraryMenu.setTabs('helpadmin', 2, getTabs);
|
||||
|
||||
var page = this;
|
||||
loadUserInfo(page);
|
||||
load(page);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue