indiancinema info view: 'keyword' -> 'keywords'
This commit is contained in:
parent
d19e4bd799
commit
d41e8eb858
1 changed files with 3 additions and 1 deletions
|
@ -509,9 +509,11 @@ pandora.ui.infoView = function(data) {
|
||||||
key = item ? item.title : key;
|
key = item ? item.title : key;
|
||||||
mode = mode || 'text'
|
mode = mode || 'text'
|
||||||
if (key == 'alternativeTitles') {
|
if (key == 'alternativeTitles') {
|
||||||
key = 'Alternative Title' + (
|
key = 'alternative title' + (
|
||||||
data.alternativeTitles && data.alternativeTitles.length == 1 ? '' : 's'
|
data.alternativeTitles && data.alternativeTitles.length == 1 ? '' : 's'
|
||||||
);
|
);
|
||||||
|
} else if (key == 'keyword') {
|
||||||
|
key = 'keywords'
|
||||||
}
|
}
|
||||||
return mode == 'text'
|
return mode == 'text'
|
||||||
? '<span style="font-weight: bold">' + Ox.toTitleCase(key) + ':</span> '
|
? '<span style="font-weight: bold">' + Ox.toTitleCase(key) + ':</span> '
|
||||||
|
|
Loading…
Reference in a new issue