diff options
Diffstat (limited to 'src/pages/widgets/switches.pug')
-rw-r--r-- | src/pages/widgets/switches.pug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pages/widgets/switches.pug b/src/pages/widgets/switches.pug index 390c414d..7054ea72 100644 --- a/src/pages/widgets/switches.pug +++ b/src/pages/widgets/switches.pug @@ -1,6 +1,9 @@ each val, service in services div(class=service + " some-block") a(class="title" href=services[service].url) - img(src="../../assets/images/"+service+"-icon."+services[service].imageType) + if services[service].imageType == 'svgMono' + img(src=`../../assets/images/${service}-icon.svg`) + else + img(src=`../../assets/images/${service}-icon.${services[service].imageType}`) h4(data-localise="__MSG_"+service+"__")=services[service].name input(class=service + "-enabled" type="checkbox") \ No newline at end of file |