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.
"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
annotations by specific users can be turned on and off
*/
"annotations": {
"separator": ";",
"showUsers": false
},
/*

View file

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