dynamic header logo
parent
b6b810a3b1
commit
4cad0b891b
|
@ -59,6 +59,32 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "shx-Logo-Texte",
|
||||||
|
"settings": [
|
||||||
|
{
|
||||||
|
"type": "image_picker",
|
||||||
|
"id": "shx_logo_texte",
|
||||||
|
"label": "t:settings_schema.logo.settings.logo_image.label"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "range",
|
||||||
|
"id": "shx_logo_texte_width",
|
||||||
|
"min": 50,
|
||||||
|
"max": 300,
|
||||||
|
"step": 10,
|
||||||
|
"default": 100,
|
||||||
|
"unit": "px",
|
||||||
|
"label": "t:settings_schema.logo.settings.logo_width.label"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "image_picker",
|
||||||
|
"id": "shx_favicon_texte",
|
||||||
|
"label": "t:settings_schema.logo.settings.favicon.label",
|
||||||
|
"info": "t:settings_schema.logo.settings.favicon.info"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "t:settings_schema.colors.name",
|
"name": "t:settings_schema.colors.name",
|
||||||
"settings": [
|
"settings": [
|
||||||
|
|
|
@ -187,7 +187,7 @@
|
||||||
if shx_current_page contains "texte"
|
if shx_current_page contains "texte"
|
||||||
assign shx_header_logo = settings.shx_logo2 | image_url
|
assign shx_header_logo = settings.shx_logo2 | image_url
|
||||||
elsif shx_current_page contains "figuren"
|
elsif shx_current_page contains "figuren"
|
||||||
assign shx_header_logo = settings.shx_logo2 | image_url
|
assign shx_header_logo = settings.shx_logo_figuren | image_url
|
||||||
endif
|
endif
|
||||||
%}
|
%}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue