links
This commit is contained in:
parent
4833681e28
commit
80ba23b5aa
1 changed files with 4 additions and 0 deletions
|
@ -554,6 +554,10 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
|||
var ret;
|
||||
if (key == 'date' && (!value || value.split('-').length < 4)) {
|
||||
ret = pandora.formatDate(value);
|
||||
} else if (key == 'links') {
|
||||
ret = value.split(', ').map(function(link) {
|
||||
return '<a href="' + link + '">' + Ox.parseURL(link).host + '</a>';
|
||||
}).join(', ');
|
||||
} else if (nameKeys.indexOf(key) > -1) {
|
||||
ret = formatLink(value.split(', '), key);
|
||||
} else if (listKeys.indexOf(key) > -1) {
|
||||
|
|
Loading…
Reference in a new issue