fix version author
This commit is contained in:
parent
ba4b3a1c8b
commit
53ceb888c7
3 changed files with 8 additions and 2 deletions
|
|
@ -425,6 +425,9 @@ pandora.ui.documentInfoView = function(data) {
|
|||
function formatKey(key, mode) {
|
||||
var item = Ox.getObjectById(pandora.site.itemKeys, key);
|
||||
key = Ox._(item ? item.title : key);
|
||||
if (key == 'versionauthor') {
|
||||
key == 'version author';
|
||||
}
|
||||
mode = mode || 'text';
|
||||
return mode == 'text'
|
||||
? '<span style="font-weight: bold">' + Ox.toTitleCase(key) + ':</span> '
|
||||
|
|
|
|||
|
|
@ -402,6 +402,9 @@ pandora.ui.infoView = function(data) {
|
|||
function formatKey(key, mode) {
|
||||
var item = Ox.getObjectById(pandora.site.itemKeys, key);
|
||||
key = Ox._(item ? item.title : key);
|
||||
if (key == 'versionauthor') {
|
||||
key == 'version author';
|
||||
}
|
||||
mode = mode || 'text';
|
||||
return mode == 'text'
|
||||
? '<span style="font-weight: bold">' + Ox.toTitleCase(key) + ':</span> '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue