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

fix block by inherited tags

This commit is contained in:
Luke Pulverenti 2016-04-14 22:39:39 -04:00
parent 2300b96924
commit 8a5107f748
5 changed files with 28 additions and 7 deletions

View file

@ -1,4 +1,4 @@
<div id="librarySettingsPage" data-role="page" class="page type-interior librarySectionPage" data-require="emby-collapsible,scripts/librarysettings,paper-input,paper-checkbox"> <div id="librarySettingsPage" data-role="page" class="page type-interior librarySectionPage withTabs" data-require="emby-collapsible,scripts/librarysettings,paper-input,paper-checkbox">
<div data-role="content"> <div data-role="content">
<div class="content-primary"> <div class="content-primary">

View file

@ -121,9 +121,14 @@
{ {
href: 'librarypathmapping.html', href: 'librarypathmapping.html',
name: Globalize.translate('TabPathSubstitution') name: Globalize.translate('TabPathSubstitution')
},
{
href: 'librarysettings.html',
name: Globalize.translate('TabAdvanced')
}]; }];
} }
$(document).on('pageinit', "#libraryPathMappingPage", function () { $(document).on('pageinit', "#libraryPathMappingPage", function () {
var page = this; var page = this;

View file

@ -164,8 +164,25 @@
return false; return false;
} }
function getTabs() {
return [
{
href: 'library.html',
name: Globalize.translate('TabFolders')
},
{
href: 'librarypathmapping.html',
name: Globalize.translate('TabPathSubstitution')
},
{
href: 'librarysettings.html',
name: Globalize.translate('TabAdvanced')
}];
}
$(document).on('pageshow', "#librarySettingsPage", function () { $(document).on('pageshow', "#librarySettingsPage", function () {
LibraryMenu.setTabs('librarysetup', 2, getTabs);
Dashboard.showLoadingMsg(); Dashboard.showLoadingMsg();
var page = this; var page = this;

View file

@ -222,7 +222,7 @@
} }
function editImages(page, virtualFolder) { function editImages(page, virtualFolder) {
require(['components/imageeditor/imageeditor'], function (ImageEditor) { require(['components/imageeditor/imageeditor'], function (ImageEditor) {
ImageEditor.show(virtualFolder.ItemId, { ImageEditor.show(virtualFolder.ItemId, {
@ -462,6 +462,10 @@
{ {
href: 'librarypathmapping.html', href: 'librarypathmapping.html',
name: Globalize.translate('TabPathSubstitution') name: Globalize.translate('TabPathSubstitution')
},
{
href: 'librarysettings.html',
name: Globalize.translate('TabAdvanced')
}]; }];
} }

View file

@ -757,11 +757,6 @@ var Dashboard = {
href: "metadatasubtitles.html", href: "metadatasubtitles.html",
pageIds: ['metadataSubtitlesPage'], pageIds: ['metadataSubtitlesPage'],
icon: 'closed-caption' icon: 'closed-caption'
}, {
name: Globalize.translate('TabAdvanced'),
href: "librarysettings.html",
pageIds: ['librarySettingsPage'],
icon: 'settings'
}, { }, {
name: Globalize.translate('TabPlayback'), name: Globalize.translate('TabPlayback'),
icon: 'play-circle-filled', icon: 'play-circle-filled',