0xDB info view: make studios depend on canSeeAllMetadata
This commit is contained in:
parent
f230236fa3
commit
2734eb93f2
1 changed files with 10 additions and 8 deletions
|
@ -422,7 +422,8 @@ pandora.ui.infoView = function(data) {
|
||||||
)
|
)
|
||||||
.appendTo($text);
|
.appendTo($text);
|
||||||
|
|
||||||
data.productionCompany && $('<div>')
|
if (data.productionCompany && canSeeAllMetadata) {
|
||||||
|
$('<div>')
|
||||||
.addClass('OxSelectable')
|
.addClass('OxSelectable')
|
||||||
.css(css)
|
.css(css)
|
||||||
.html(
|
.html(
|
||||||
|
@ -430,6 +431,7 @@ pandora.ui.infoView = function(data) {
|
||||||
+ formatValue(data.productionCompany, 'productionCompany')
|
+ formatValue(data.productionCompany, 'productionCompany')
|
||||||
)
|
)
|
||||||
.appendTo($text);
|
.appendTo($text);
|
||||||
|
}
|
||||||
|
|
||||||
if (data.genre || (data.keyword && canSeeAllMetadata)) {
|
if (data.genre || (data.keyword && canSeeAllMetadata)) {
|
||||||
$div = $('<div>')
|
$div = $('<div>')
|
||||||
|
|
Loading…
Reference in a new issue