forked from MapComplete/MapComplete
Refactoring: port reviews to svelte
This commit is contained in:
parent
6edcd7d73c
commit
6d5f5d54f8
41 changed files with 683 additions and 462 deletions
|
@ -149,7 +149,6 @@
|
|||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"level",
|
||||
{
|
||||
"question": {
|
||||
"nl": "Wat is de naam van deze eetgelegenheid?",
|
||||
|
@ -213,6 +212,7 @@
|
|||
"email",
|
||||
"phone",
|
||||
"payment-options",
|
||||
"level",
|
||||
"wheelchair-access",
|
||||
{
|
||||
"question": {
|
||||
|
|
|
@ -182,6 +182,16 @@
|
|||
"then": "<img textmode='\uD83D\uDC15' alt='dogs are allowed' src='./assets/layers/questions/dogs_allowed.svg'>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "rating",
|
||||
"labels": [
|
||||
"defaults"
|
||||
],
|
||||
"icon": {
|
||||
"class": "w-20 mx-1 flex items-center"
|
||||
},
|
||||
"render": "{rating()}"
|
||||
}
|
||||
],
|
||||
"mapRendering": null
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
"id": "reviews",
|
||||
"description": "Shows the reviews module (including the possibility to leave a review)",
|
||||
"render": {
|
||||
"*": "{reviews()}"
|
||||
"*": "{create_review()}{list_reviews()}"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue