]> git.ipfire.org Git - ipfire.org.git/commitdiff
lists: added pages to un- subscribe from mailing lists
authorRico Hoppe <rico.hoppe@ipfire.org>
Thu, 7 Mar 2024 12:01:38 +0000 (12:01 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 3 Jun 2024 14:04:05 +0000 (14:04 +0000)
src/templates/lists/subscribe.html [new file with mode: 0644]
src/templates/lists/unsubscribe.html [new file with mode: 0644]

diff --git a/src/templates/lists/subscribe.html b/src/templates/lists/subscribe.html
new file mode 100644 (file)
index 0000000..28e31e1
--- /dev/null
@@ -0,0 +1,27 @@
+{% extends "../base.html" %}\r
+\r
+{% block title %}{{ _("Subscribe To %s") }} % {{ list }}{% end block %}\r
+\r
+{% block container %}\r
+       <div class="columns is-centered">\r
+               <div class="column is-one-third-desktop">\r
+                       <div class="notification my-auto">\r
+                               <h5 class="title is-5">{{ _("Subscribe To %s") }} % {{ list }}</h5>\r
+\r
+                               <div class="content">\r
+                                       <p>\r
+                                               {{ _("Subscribe and you will receive emails concerning %s!") }} % {{ list }}\r
+                                       </p>\r
+\r
+                    {% if list.description %}\r
+                        <p>\r
+                            {{ list.description }}\r
+                        </p>\r
+                    {% end %}\r
+                               </div>\r
+\r
+                               <!-- Hier sollte dann wahrscheinlich noch ein Button zum subscriben bzw. unsubscriben hin -->\r
+                       </div>\r
+               </div>\r
+       </div>\r
+{% end block %}\r
diff --git a/src/templates/lists/unsubscribe.html b/src/templates/lists/unsubscribe.html
new file mode 100644 (file)
index 0000000..b2d9a4d
--- /dev/null
@@ -0,0 +1,28 @@
+{% extends "../base.html" %}\r
+\r
+{% block title %}{{ _("Unsubscribe from %s") }} % {{ list }}{% end block %}\r
+\r
+{% block container %}\r
+       <div class="columns is-centered">\r
+               <div class="column is-one-third-desktop">\r
+                       <div class="notification my-auto">\r
+                               <h5 class="title is-5">{{ _("We'd Be Sorry To See You Go") }}</h5>\r
+\r
+                               <div class="content">\r
+                                       <p>\r
+                                               {{ _("If you unsubscribe, you will no longer receive important emails concerning %s") }} % {{ list }}\r
+                                               {{ _("There are plenty of benefits to remain subscribed:") }}\r
+                                       </p>\r
+\r
+                    {% if list.description %}\r
+                        <p>\r
+                            {{ list.description }}\r
+                        </p>\r
+                    {% end %}\r
+                               </div>\r
+\r
+                <!-- Hier sollte dann wahrscheinlich noch ein Button zum subscriben bzw. unsubscriben hin -->\r
+                       </div>\r
+               </div>\r
+       </div>\r
+{% end block %}\r