add collectives

This commit is contained in:
pandora 2018-03-08 08:19:27 +00:00
commit e4abced594
3 changed files with 16 additions and 5 deletions

View file

@ -281,7 +281,7 @@ pandora.ui.home = function() {
});
}
$features.append($footer);
$features.append($support);
//$features.append($support);
$features.animate({opacity: 1}, 250);
});
}

View file

@ -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(', ');
}