0xDB info view: make studios depend on canSeeAllMetadata

This commit is contained in:
rolux 2013-08-01 14:56:37 +00:00
parent f230236fa3
commit 2734eb93f2

View file

@ -422,14 +422,16 @@ pandora.ui.infoView = function(data) {
)
.appendTo($text);
data.productionCompany && $('<div>')
.addClass('OxSelectable')
.css(css)
.html(
formatKey('studio')
+ formatValue(data.productionCompany, 'productionCompany')
)
.appendTo($text);
if (data.productionCompany && canSeeAllMetadata) {
$('<div>')
.addClass('OxSelectable')
.css(css)
.html(
formatKey('studio')
+ formatValue(data.productionCompany, 'productionCompany')
)
.appendTo($text);
}
if (data.genre || (data.keyword && canSeeAllMetadata)) {
$div = $('<div>')