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,
|
||||
borderRadius = ui.icons == 'posters' ? 0 : iconSize / 8,
|
||||
margin = 16,
|
||||
nameKeys = ['director', 'cinematographer', 'featuring'],
|
||||
listKeys = nameKeys.concat(['language', 'tag', 'category', 'groups']),
|
||||
nameKeys = pandora.site.itemKeys.filter(function(key) {
|
||||
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,
|
||||
|
||||
$bar = Ox.Bar({size: 16})
|
||||
|
|
Loading…
Reference in a new issue