Themes: add 'lock' and 'key' icon to toilets, fix #2094

This commit is contained in:
Pieter Vander Vennet 2024-08-25 00:03:44 +02:00
parent 1485ea9d36
commit 577b596e7a
3 changed files with 26 additions and 0 deletions

View file

@ -51,6 +51,23 @@
{
"if": "opening_hours~*",
"then": "icons.isOpen"
},
{
"if": {
"or": [
"access=no",
"access=private"
]
},
"then": "lock"
},
{
"if": "access=key",
"then": "key"
},
{
"if": "access=customers",
"then": "key:gray"
}
],
"location": [
@ -203,6 +220,7 @@
},
{
"if": "access=no",
"alsoShowIf": "access=private",
"then": {
"en": "Not accessible",
"de": "Der Zugang ist nicht erlaubt oder nicht möglich",