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 + '/' + (
|
||||
ui.icons == 'posters'
|
||||
? (ui.showSitePoster ? 'siteposter' : 'poster') : 'icon'
|
||||
) + size + '.jpg',
|
||||
) + '128.jpg',
|
||||
format, info, sortKey = sort[0].key;
|
||||
if (['title', 'director'].indexOf(sortKey) > -1) {
|
||||
info = data['year'];
|
||||
|
@ -95,6 +95,7 @@ pandora.ui.browser = function() {
|
|||
max: 1,
|
||||
min: 1,
|
||||
orientation: 'horizontal',
|
||||
pageLength: 32,
|
||||
selected: [pandora.user.ui.item],
|
||||
size: 64,
|
||||
sort: ['text', 'position'].indexOf(pandora.user.ui.listSort) > -1
|
||||
|
|
|
@ -244,7 +244,8 @@ pandora.ui.infoView = function(data) {
|
|||
data.alternativeTitles && $('<div>')
|
||||
.css(css)
|
||||
.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] ? ' '
|
||||
+ formatLight('(' + value[1] + ')') : '');
|
||||
}).join(', ')
|
||||
|
|
Loading…
Reference in a new issue