feature: add displayStartEndDates poll option
This commit is contained in:
parent
3c93bc191b
commit
3127336a9f
@ -548,10 +548,17 @@ On `config.json`:
|
||||
"pollRangeTags": "http://server.url/tags/",
|
||||
"pollRangeCircles": "http://server.url/circles/",
|
||||
"uploads": "http://server.url/upload/"
|
||||
},
|
||||
"parameters": {
|
||||
"displayStartEndDates": false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Where:
|
||||
|
||||
* `parameters.displayStartEndDates` display or not the start and the end date of polls
|
||||
|
||||
### Project
|
||||
|
||||
Project are a private group chat including Customer and Business Provider management.
|
||||
|
@ -48,7 +48,7 @@ if componentSet.has("notification")
|
||||
//- script(type="module" src="/lib/sib-notifications/index.js" defer)
|
||||
|
||||
if componentSet.has("polls")
|
||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-poll@3.0" defer)
|
||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-poll@3.1" defer)
|
||||
//- script(type="module" src="/lib/solid-poll/index.js" defer)
|
||||
|
||||
if componentSet.has("profileDirectory")
|
||||
|
@ -4,5 +4,6 @@ solid-poll(
|
||||
range-tags=component.endpoints.pollRangeTags
|
||||
range-circles=component.endpoints.pollRangeCircles
|
||||
upload-dir=component.endpoints.uploads
|
||||
display-start-end-date=component.parameters.displayStartEndDates
|
||||
uniq=component.uniq
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user