cleanup
This commit is contained in:
parent
d1420b9976
commit
6a18c14d42
3 changed files with 63 additions and 11 deletions
|
|
@ -449,7 +449,7 @@ pandora.ui.infoView = function(data) {
|
|||
var $rightsLevel = $('<div>');
|
||||
var $div = $('<div>')
|
||||
.css({marginBottom: '4px'})
|
||||
.append('Rights Level')
|
||||
.append(formatKey('Rights Level', 'statistics'))
|
||||
.append($rightsLevel)
|
||||
.appendTo($statistics);
|
||||
pandora.createLinks($div);
|
||||
|
|
@ -562,10 +562,10 @@ pandora.ui.infoView = function(data) {
|
|||
key = Ox._('Alternative Title' + (
|
||||
data.alternativeTitles && data.alternativeTitles.length == 1 ? '' : 's'
|
||||
));
|
||||
} else if (key == 'topic') {
|
||||
key = 'topics'
|
||||
} else if (key == 'actor') {
|
||||
key = 'actors'
|
||||
} else if (key == 'Topic') {
|
||||
key = 'Topics'
|
||||
} else if (key == 'Actor') {
|
||||
key = 'Actors'
|
||||
}
|
||||
var value = Ox.toTitleCase(key)
|
||||
.replace(' Of ', ' of ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue