add option to switch preview between poster and player
This commit is contained in:
parent
5a5c8af5ae
commit
a1cca04a53
1 changed files with 7 additions and 0 deletions
|
|
@ -212,6 +212,8 @@ pandora.ui.mainMenu = function() {
|
|||
set.itemView = value;
|
||||
}
|
||||
pandora.UI.set(set);
|
||||
} else if (data.id == 'previewtype') {
|
||||
pandora.UI.set({preview: value});
|
||||
} else if (data.id == 'viewicons') {
|
||||
pandora.UI.set({icons: value});
|
||||
} else if (data.id.slice(0, 8) == 'viewlist') {
|
||||
|
|
@ -1689,6 +1691,11 @@ pandora.ui.mainMenu = function() {
|
|||
{},
|
||||
{ id: 'resetfilters', title: Ox._('Reset Filters') }
|
||||
] },
|
||||
{ id: 'preview', title: Ox._('Preview'), items: [
|
||||
{ group: 'previewtype', min: 1, max: 1, items: ['poster', 'player'].map(function(preview) {
|
||||
return {id: preview, title: Ox._(Ox.toTitleCase(preview)), checked: ui.preview == preview};
|
||||
}) },
|
||||
] },
|
||||
{},
|
||||
{ id: 'item', title: [
|
||||
Ox._('Open {0}', [Ox._(pandora.site.itemName.singular)]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue