Browse Source

bugfix

drop_old_mail
Stephan Richter 3 years ago
parent
commit
f234cded1b
  1. 2
      pom.xml
  2. 6
      src/main/java/de/srsoftware/widerhall/web/Web.java
  3. 2
      static/templates/add_list.st
  4. 1
      static/templates/css.st

2
pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.20</version>
<version>0.2.21</version>
<build>
<plugins>
<plugin>

6
src/main/java/de/srsoftware/widerhall/web/Web.java

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

2
static/templates/add_list.st

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<script src="js"></script>
<link rel="stylesheet" href="css" />
</head>
<body>
<body id="add_list">
«navigation()»
«userinfo()»
<h1>Widerhall List Creation</h1>

1
static/templates/css.st

@ -3,6 +3,7 @@ label { @@ -3,6 +3,7 @@ label {
margin: 5px 0;
}
#add_list form,
#login form,
#register form,
#subscribe form{

Loading…
Cancel
Save