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},
|
||||
"canAddDocuments": {"member": true, "staff": true, "admin": true},
|
||||
"canDownloadVideo": {"guest": 1, "member": 1, "staff": 4, "admin": 4},
|
||||
"canDownloadSource": {"guest": -1, "member": -1, "staff": 4, "admin": 4},
|
||||
"canEditAnnotations": {"staff": true, "admin": true},
|
||||
"canEditDocuments": {"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,
|
||||
"columnWidth": 256
|
||||
},
|
||||
{
|
||||
"id": "tags",
|
||||
"title": "Tags",
|
||||
"type": ["string"],
|
||||
"columnWidth": 180,
|
||||
"filter": true,
|
||||
"find": true,
|
||||
"sort": true
|
||||
},
|
||||
{
|
||||
"id": "matches",
|
||||
"operator": "-",
|
||||
|
@ -615,6 +625,16 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
|||
"type": "text",
|
||||
"find": true
|
||||
},
|
||||
{
|
||||
"id": "tags",
|
||||
"title": "Tags",
|
||||
"type": ["string"],
|
||||
"autocomplete": true,
|
||||
"columnWidth": 180,
|
||||
"filter": true,
|
||||
"find": true,
|
||||
"sort": true
|
||||
},
|
||||
{
|
||||
"id": "notes",
|
||||
"title": "Notes",
|
||||
|
|
|
@ -239,7 +239,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
|||
renderGroup(['author', 'editor', 'date', 'type']);
|
||||
renderGroup(['publisher', 'place', 'series', 'edition', 'language']);
|
||||
|
||||
Ox.getObjectById(pandora.site.documentKeys, 'keywords') && renderGroup(['keywords'])
|
||||
renderGroup(['tags']);
|
||||
|
||||
// Render any remaing keys defined in config
|
||||
|
||||
|
|
|
@ -253,6 +253,8 @@ pandora.ui.infoView = function(data, isMixed) {
|
|||
|
||||
renderGroup(['editor', 'featuring']);
|
||||
|
||||
renderGroup(['tags']);
|
||||
|
||||
// Render any remaing keys defined in config
|
||||
|
||||
renderRemainingKeys();
|
||||
|
|
Loading…
Reference in a new issue