Add more types to the charging stations theme, better merge if translations already exist

This commit is contained in:
Pieter Vander Vennet 2021-09-22 20:12:53 +02:00
parent e18eb06f14
commit 204b431df0
6 changed files with 851 additions and 38 deletions

View file

@ -258,7 +258,7 @@ export class InitUiElements {
new Combine([
"Error: could not parse the custom layout:",
e,
new FixedUiElement(""+e).SetClass("alert"),
new SubtleButton("./assets/svg/mapcomplete_logo.svg",
"Go back to the theme overview",
{url: window.location.protocol+"//"+ window.location.hostname+"/index.html", newTab: false})