diff --git a/pom.xml b/pom.xml index eb15dfe..c2a2917 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.2.20 + 0.2.21 diff --git a/src/main/java/de/srsoftware/widerhall/web/Web.java b/src/main/java/de/srsoftware/widerhall/web/Web.java index dee9a47..ffac30f 100644 --- a/src/main/java/de/srsoftware/widerhall/web/Web.java +++ b/src/main/java/de/srsoftware/widerhall/web/Web.java @@ -197,8 +197,6 @@ public class Web extends TemplateServlet { loadTemplates(); data.put(NOTES,t("Templates have been reloaded")); path = INDEX; - case UNSUBSCRIBE: - data.put(LIST,list.email()); case CSS: case INDEX: return loadTemplate(path,data,resp); @@ -224,6 +222,10 @@ public class Web extends TemplateServlet { case "jquery": resp.setContentType("text/javascript"); return loadFile("jquery-3.6.0.min.js",resp); + case UNSUBSCRIBE: + data.put(LIST,list.email()); + return loadTemplate(path,data,resp); + } if (user != null){ diff --git a/static/templates/add_list.st b/static/templates/add_list.st index 00ba212..41a4a3e 100644 --- a/static/templates/add_list.st +++ b/static/templates/add_list.st @@ -6,7 +6,7 @@ - + «navigation()» «userinfo()»

Widerhall List Creation

diff --git a/static/templates/css.st b/static/templates/css.st index d44e55a..2fce79b 100644 --- a/static/templates/css.st +++ b/static/templates/css.st @@ -3,6 +3,7 @@ label { margin: 5px 0; } +#add_list form, #login form, #register form, #subscribe form{