add collectives
This commit is contained in:
parent
f0ea939b3e
commit
e4abced594
3 changed files with 16 additions and 5 deletions
|
|
@ -281,7 +281,7 @@ pandora.ui.home = function() {
|
|||
});
|
||||
}
|
||||
$features.append($footer);
|
||||
$features.append($support);
|
||||
//$features.append($support);
|
||||
$features.animate({opacity: 1}, 250);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -302,6 +302,8 @@ pandora.ui.infoView = function(data) {
|
|||
|
||||
renderGroup(['category', 'name']);
|
||||
|
||||
renderGroup(['collectives']);
|
||||
|
||||
renderGroup(['tag']);
|
||||
|
||||
// Summary -------------------------------------------------------------
|
||||
|
|
@ -538,10 +540,9 @@ pandora.ui.infoView = function(data) {
|
|||
}
|
||||
|
||||
function formatLink(key, value, linkValue) {
|
||||
linkValue = linkValue || value;
|
||||
return (Ox.isArray(value) ? value : [value]).map(function(value) {
|
||||
return key
|
||||
? '<a href="/' + key + '=' + linkValue + '">' + value + '</a>'
|
||||
? '<a href="/' + key + '=' + pandora.escapeQueryValue(linkValue ? linkValue : value) + '">' + value + '</a>'
|
||||
: value;
|
||||
}).join(', ');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue