mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
26 lines
666 B
JavaScript
26 lines
666 B
JavaScript
define([], function () {
|
|
|
|
function getTabs() {
|
|
return [
|
|
{
|
|
href: 'about.html',
|
|
name: Globalize.translate('TabAbout')
|
|
},
|
|
{
|
|
href: 'supporterkey.html',
|
|
name: Globalize.translate('TabEmbyPremiere')
|
|
}];
|
|
}
|
|
|
|
return function (view, params) {
|
|
|
|
var self = this;
|
|
|
|
view.addEventListener('viewbeforeshow', function (e) {
|
|
LibraryMenu.setTabs('helpadmin', 0, getTabs);
|
|
var elem = view.querySelector('#appVersionNumber');
|
|
|
|
elem.innerHTML = elem.innerHTML.replace('{0}', ConnectionManager.appVersion());
|
|
});
|
|
}
|
|
}); |