add annotation separator option

This commit is contained in:
rolux 2018-09-12 18:48:18 +02:00
parent 3dd51b9d10
commit e07bcb482e
2 changed files with 7 additions and 2 deletions

View file

@ -10,10 +10,14 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
{ {
/* /*
"annotations" configures the annotation panel. "annotations" configures the annotation panel.
"separator" is the character, string or HTML tag that separates
annotations of type "string"
"showUsers": If true, include list of users in menu, so that "showUsers": If true, include list of users in menu, so that
annotations by specific users can be turned on and off annotations by specific users can be turned on and off
*/ */
"annotations": { "annotations": {
"separator": ";",
"showUsers": false "showUsers": false
}, },
/* /*
@ -102,7 +106,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"clipLayers": ["publicnotes", "keywords", "subtitles"], "clipLayers": ["publicnotes", "keywords", "subtitles"],
/* /*
"documentKeys" defines the metadata associated with each document. Required keys "documentKeys" defines the metadata associated with each document. Required keys
are "*", "id" and "title". are "*", "id" and "title".
A documentKey must have the following properties: A documentKey must have the following properties:
"id": The unique id of the key (as used by the server) "id": The unique id of the key (as used by the server)
"title": The title of the key (as displayed by the client) "title": The title of the key (as displayed by the client)
@ -936,7 +940,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
*/ */
"media": { "media": {
"importPosters": false, "importPosters": false,
"importFrames": false "importFrames": false
}, },
/* /*
"menuExtras" can be used to add extra functionality to the main menu bar. "menuExtras" can be used to add extra functionality to the main menu bar.

View file

@ -9,6 +9,7 @@ pandora.ui.editor = function(data) {
annotationsCalendarSize: ui.annotationsCalendarSize, annotationsCalendarSize: ui.annotationsCalendarSize,
annotationsMapSize: ui.annotationsMapSize, annotationsMapSize: ui.annotationsMapSize,
annotationsRange: ui.annotationsRange, annotationsRange: ui.annotationsRange,
annotationsSeparator: pandora.site.annotations.separator,
annotationsSize: ui.annotationsSize, annotationsSize: ui.annotationsSize,
annotationsSort: ui.annotationsSort, annotationsSort: ui.annotationsSort,
annotationsTooltip: Ox._('annotations') annotationsTooltip: Ox._('annotations')