|
|
|
@ -26,6 +26,7 @@ public class Web extends TemplateServlet {
@@ -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 {
@@ -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)) { |
|
|
|
|