updates to movie browser (reduce number of items per page to 32, reuse poster128)
This commit is contained in:
parent
b55bc8e42e
commit
a1c57e6fad
2 changed files with 4 additions and 2 deletions
|
@ -60,7 +60,7 @@ pandora.ui.browser = function() {
|
||||||
url = '/' + data.id + '/' + (
|
url = '/' + data.id + '/' + (
|
||||||
ui.icons == 'posters'
|
ui.icons == 'posters'
|
||||||
? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon'
|
? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon'
|
||||||
) + size + '.jpg',
|
) + '128.jpg',
|
||||||
format, info, sortKey = sort[0].key;
|
format, info, sortKey = sort[0].key;
|
||||||
if (['title', 'director'].indexOf(sortKey) > -1) {
|
if (['title', 'director'].indexOf(sortKey) > -1) {
|
||||||
info = data['year'];
|
info = data['year'];
|
||||||
|
@ -95,6 +95,7 @@ pandora.ui.browser = function() {
|
||||||
max: 1,
|
max: 1,
|
||||||
min: 1,
|
min: 1,
|
||||||
orientation: 'horizontal',
|
orientation: 'horizontal',
|
||||||
|
pageLength: 32,
|
||||||
selected: [pandora.user.ui.item],
|
selected: [pandora.user.ui.item],
|
||||||
size: 64,
|
size: 64,
|
||||||
sort: ['text', 'position'].indexOf(pandora.user.ui.listSort) > -1
|
sort: ['text', 'position'].indexOf(pandora.user.ui.listSort) > -1
|
||||||
|
|
|
@ -244,7 +244,8 @@ pandora.ui.infoView = function(data) {
|
||||||
data.alternativeTitles && $('<div>')
|
data.alternativeTitles && $('<div>')
|
||||||
.css(css)
|
.css(css)
|
||||||
.html(
|
.html(
|
||||||
formatKey('Alternative Titles') + data.alternativeTitles.map(function(value) {
|
formatKey('Alternative Title' + (data.alternativeTitles.length == 1 ? '' : 's'))
|
||||||
|
+ data.alternativeTitles.map(function(value) {
|
||||||
return value[0] + (value[1] ? ' '
|
return value[0] + (value[1] ? ' '
|
||||||
+ formatLight('(' + value[1] + ')') : '');
|
+ formatLight('(' + value[1] + ')') : '');
|
||||||
}).join(', ')
|
}).join(', ')
|
||||||
|
|
Loading…
Reference in a new issue