add filming locations

This commit is contained in:
j 2018-08-10 10:26:01 +01:00
commit 09b68b9f6f
2 changed files with 11 additions and 17 deletions

View file

@ -313,23 +313,7 @@ pandora.ui.infoView = function(data) {
]);
renderGroup(['actor']);
data.cast && $('<div>')
.addClass('OxSelectable')
.css(css)
.html(
formatKey('cast') + data.cast.map(function(value) {
// FIXME: 'uncredited' should be removed on the backend
value.character = value.character.replace('(uncredited)', '').trim();
return formatValue(value.actor, 'name')
+ (
canSeeAllMetadata && value.character
? ' ' + formatLight('(' + value.character + ')')
: ''
);
}).join(', ')
)
.appendTo($text);
renderGroup(['filmingLocations']);
renderGroup(['imdbId', 'genre']);