implemented renaming of routes

This commit is contained in:
Stephan Richter
2020-09-16 23:53:55 +02:00
parent b28027bd4c
commit d7239ffb7a
3 changed files with 37 additions and 6 deletions

View File

@@ -75,7 +75,7 @@ public abstract class Tile {
new Tag("h4").content(t("Routes using this tile:")).addTo(form);
Tag routeList = new Tag("ul");
for (Route route : routes) {
new Tag("li").clazz("link").attr("onclick","openRoute('"+route.id()+"')").content(route.id()).addTo(routeList);
new Tag("li").clazz("link").attr("onclick","openRoute('"+route.id()+"')").content(route.name()).addTo(routeList);
}
routeList.addTo(form);
}