add collectives
This commit is contained in:
parent
f0ea939b3e
commit
e4abced594
3 changed files with 16 additions and 5 deletions
14
config.jsonc
14
config.jsonc
|
@ -480,6 +480,14 @@
|
|||
"filter": true,
|
||||
"find": true
|
||||
},
|
||||
{
|
||||
"id": "collectives",
|
||||
"title": "Groups and Collectives",
|
||||
"type": ["string"],
|
||||
"autocomplete": true,
|
||||
"filter": true,
|
||||
"find": true
|
||||
},
|
||||
{
|
||||
"id": "language",
|
||||
"title": "Language",
|
||||
|
@ -763,6 +771,7 @@
|
|||
"hasEvents": true,
|
||||
"hasPlaces": true,
|
||||
"item": "Keyword",
|
||||
"autocomplete": true,
|
||||
"overlap": true,
|
||||
"type": "string"
|
||||
},
|
||||
|
@ -833,6 +842,7 @@
|
|||
"id": "bakma",
|
||||
"name": "bak.ma",
|
||||
"url": "bak.ma",
|
||||
"public": false,
|
||||
"videoprefix": ""
|
||||
},
|
||||
"sitePages": [
|
||||
|
@ -923,7 +933,7 @@
|
|||
{"id": "category", "sort": [{"key": "name", "operator": "+"}]},
|
||||
{"id": "tag", "sort": [{"key": "items", "operator": "-"}]},
|
||||
{"id": "keywords", "sort": [{"key": "items", "operator": "-"}]},
|
||||
{"id": "timeofday", "sort": [{"key": "items", "operator": "-"}]}
|
||||
{"id": "collectives", "sort": [{"key": "items", "operator": "-"}]}
|
||||
],
|
||||
"filtersSize": 176,
|
||||
"find": {"conditions": [], "operator": "&"},
|
||||
|
@ -1024,7 +1034,7 @@
|
|||
},
|
||||
"userLevels": ["guest", "member", "staff", "admin"],
|
||||
"video": {
|
||||
"torrent": true,
|
||||
"torrent": false,
|
||||
"formats": ["webm", "mp4"],
|
||||
"previewRatio": 1.3333333333,
|
||||
//supported resolutions are
|
||||
|
|
|
@ -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…
Reference in a new issue