diff --git a/pom.xml b/pom.xml index 875c21e..dd221c3 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.2.16 + 0.2.17 diff --git a/src/main/java/de/srsoftware/widerhall/web/Web.java b/src/main/java/de/srsoftware/widerhall/web/Web.java index 617fef5..937eab8 100644 --- a/src/main/java/de/srsoftware/widerhall/web/Web.java +++ b/src/main/java/de/srsoftware/widerhall/web/Web.java @@ -26,6 +26,7 @@ public class Web extends TemplateServlet { public static final String WEB_ROOT = "/web"; private static final String ADD_LIST = "add_list"; private static final String CONFIRM = "confirm"; + private static final String CSS = "css"; private static final Logger LOG = LoggerFactory.getLogger(Web.class); private static final String ADMIN = "admin"; private static final String INSPECT = "inspect"; @@ -197,9 +198,10 @@ public class Web extends TemplateServlet { loadTemplates(); data.put(NOTES,t("Templates have been reloaded")); path = INDEX; - case "css": - case INDEX: case UNSUBSCRIBE: + data.put(LIST,list.email()); + case CSS: + case INDEX: return loadTemplate(path,data,resp); case SUBSCRIBE: if (list.isOpenFor(user)) { diff --git a/static/templates/unsubscribe.st b/static/templates/unsubscribe.st index 1719e26..9e0673f 100644 --- a/static/templates/unsubscribe.st +++ b/static/templates/unsubscribe.st @@ -12,9 +12,8 @@ «messages()»

Widerhall Subscription

-
- Un-subscribe from "«data.list.email.prefix»@«data.list.email.domain»" + Un-subscribe from "«data.list»"