add tags
This commit is contained in:
parent
7e838d21c6
commit
a420ecb530
3 changed files with 23 additions and 1 deletions
20
config.jsonc
20
config.jsonc
|
@ -45,6 +45,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"canAddItems": {"member": true, "staff": true, "admin": true},
|
"canAddItems": {"member": true, "staff": true, "admin": true},
|
||||||
"canAddDocuments": {"member": true, "staff": true, "admin": true},
|
"canAddDocuments": {"member": true, "staff": true, "admin": true},
|
||||||
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||||
|
"canDownloadSource": {"guest": -1, "member": -1, "staff": 4, "admin": 4},
|
||||||
"canEditAnnotations": {"staff": true, "admin": true},
|
"canEditAnnotations": {"staff": true, "admin": true},
|
||||||
"canEditDocuments": {"staff": true, "admin": true},
|
"canEditDocuments": {"staff": true, "admin": true},
|
||||||
"canEditEntities": {"staff": true, "admin": true},
|
"canEditEntities": {"staff": true, "admin": true},
|
||||||
|
@ -309,6 +310,15 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sort": true,
|
"sort": true,
|
||||||
"columnWidth": 256
|
"columnWidth": 256
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "tags",
|
||||||
|
"title": "Tags",
|
||||||
|
"type": ["string"],
|
||||||
|
"columnWidth": 180,
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "matches",
|
"id": "matches",
|
||||||
"operator": "-",
|
"operator": "-",
|
||||||
|
@ -615,6 +625,16 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "tags",
|
||||||
|
"title": "Tags",
|
||||||
|
"type": ["string"],
|
||||||
|
"autocomplete": true,
|
||||||
|
"columnWidth": 180,
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "notes",
|
"id": "notes",
|
||||||
"title": "Notes",
|
"title": "Notes",
|
||||||
|
|
|
@ -239,7 +239,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
renderGroup(['author', 'editor', 'date', 'type']);
|
renderGroup(['author', 'editor', 'date', 'type']);
|
||||||
renderGroup(['publisher', 'place', 'series', 'edition', 'language']);
|
renderGroup(['publisher', 'place', 'series', 'edition', 'language']);
|
||||||
|
|
||||||
Ox.getObjectById(pandora.site.documentKeys, 'keywords') && renderGroup(['keywords'])
|
renderGroup(['tags']);
|
||||||
|
|
||||||
// Render any remaing keys defined in config
|
// Render any remaing keys defined in config
|
||||||
|
|
||||||
|
|
|
@ -253,6 +253,8 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
|
|
||||||
renderGroup(['editor', 'featuring']);
|
renderGroup(['editor', 'featuring']);
|
||||||
|
|
||||||
|
renderGroup(['tags']);
|
||||||
|
|
||||||
// Render any remaing keys defined in config
|
// Render any remaing keys defined in config
|
||||||
|
|
||||||
renderRemainingKeys();
|
renderRemainingKeys();
|
||||||
|
|
Loading…
Reference in a new issue