use itemKey title in padma info page
This commit is contained in:
parent
e84b5c1ca3
commit
498213f222
1 changed files with 2 additions and 0 deletions
|
@ -578,6 +578,8 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
|
||||
function formatKey(key, isStatistics) {
|
||||
var item = Ox.getObjectById(pandora.site.itemKeys, key);
|
||||
key = item ? item.title : key;
|
||||
return isStatistics
|
||||
? $('<div>').css({marginBottom: '4px', fontWeight: 'bold'})
|
||||
.html(Ox.toTitleCase(key).replace(' Per ', ' per '))
|
||||
|
|
Loading…
Reference in a new issue