name/list keys
This commit is contained in:
parent
a11999fe44
commit
15358a290b
1 changed files with 10 additions and 2 deletions
|
@ -18,8 +18,16 @@ pandora.ui.infoView = function(data) {
|
||||||
iconLeft = iconSize == 256 ? Math.floor((iconSize - iconWidth) / 2) : 0,
|
iconLeft = iconSize == 256 ? Math.floor((iconSize - iconWidth) / 2) : 0,
|
||||||
borderRadius = ui.icons == 'posters' ? 0 : iconSize / 8,
|
borderRadius = ui.icons == 'posters' ? 0 : iconSize / 8,
|
||||||
margin = 16,
|
margin = 16,
|
||||||
nameKeys = ['director', 'cinematographer', 'featuring'],
|
nameKeys = pandora.site.itemKeys.filter(function(key) {
|
||||||
listKeys = nameKeys.concat(['language', 'tag', 'category', 'groups']),
|
return key.sortType == 'person';
|
||||||
|
}).map(function(key) {
|
||||||
|
return key.id;
|
||||||
|
}),
|
||||||
|
listKeys = pandora.site.itemKeys.filter(function(key) {
|
||||||
|
return Ox.isArray(key.type);
|
||||||
|
}).map(function(key){
|
||||||
|
return key.id;
|
||||||
|
}),
|
||||||
statisticsWidth = 128,
|
statisticsWidth = 128,
|
||||||
|
|
||||||
$bar = Ox.Bar({size: 16})
|
$bar = Ox.Bar({size: 16})
|
||||||
|
|
Loading…
Reference in a new issue