From 12b7f6b3f220888fc5863a65dfe5f3c2865eaa83 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 27 Sep 2011 03:07:46 +0200 Subject: added unsubscibtion help pages --- index.py | 8 ++++++++ static/css/main.css | 2 +- static/img/unsubscr.gif | Bin 0 -> 20288 bytes templates/unsubscribe_de.html | 34 ++++++++++++++++++++++++++++++++++ templates/unsubscribe_en.html | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 static/img/unsubscr.gif create mode 100644 templates/unsubscribe_de.html create mode 100644 templates/unsubscribe_en.html diff --git a/index.py b/index.py index 367b5a5..8fcd58d 100755 --- a/index.py +++ b/index.py @@ -8,6 +8,7 @@ urls = ( '/neu.*', 'new', '/new', 'new', '/help/spam.*', 'spam', + '/help/unsubscribe\.([a-z]+).*', 'unsubscribe', ) render = template.render('templates/', base='layout'); @@ -30,6 +31,13 @@ class spam: def GET(self): return render.spam() +class unsubscribe: + def GET(self, lang): + if (lang.startswith('de')): + return render.unsubscribe_de() + else: + return render.unsubscribe_en() + class new: def GET(self): form = create_form() diff --git a/static/css/main.css b/static/css/main.css index 8a8df82..1fb5688 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -75,7 +75,7 @@ div#status span { font-size: 2em; } -div.create li { +div.create li, div.info ol li { margin: 1em 0; } diff --git a/static/img/unsubscr.gif b/static/img/unsubscr.gif new file mode 100644 index 0000000..bf76ce6 Binary files /dev/null and b/static/img/unsubscr.gif differ diff --git a/templates/unsubscribe_de.html b/templates/unsubscribe_de.html new file mode 100644 index 0000000..fb02c0d --- /dev/null +++ b/templates/unsubscribe_de.html @@ -0,0 +1,34 @@ +$var title: Mailinglisten +$var headline: + Wie trage ich mich aus einer Mailingliste aus + +
+
    +
  1. + Auf die Mailinglisten-Info-Seite der betreffenden Mailingliste + gehen.
    +
    + Auf dieser Übersicht befindet sich + eine Liste aller öffentlichen Mailinglisten, oder man gibt direkt + die Adresse ein:
    + https://lists.spline.inf.fu-berlin.de/mailman/listinfo/[Mailinglistenname] +
  2. + +
  3. + Ganz unten auf der Seite befindet sich der Zugang zum + Austragungsformular:
    + email: _____________ [Options/Einstellungen] +
  4. + +
  5. + Im unteren "e-mail:"-Feld die eigene e-mail Adresse eintragen und + auf "Options/Einstellungen" klicken. +
  6. + +
  7. + Auf "Kündigung des Abos" klicken, E-Mail abwarten, + den Link in dieser E-Mail aufrufen und fertig. +
  8. +
+
diff --git a/templates/unsubscribe_en.html b/templates/unsubscribe_en.html new file mode 100644 index 0000000..2a13fd3 --- /dev/null +++ b/templates/unsubscribe_en.html @@ -0,0 +1,34 @@ +$var title: Mailinglisten +$var headline: + How to unsubscribe from a mailing list + +
+
    +
  1. + Go to the list info page of the mailing list you are subscribed + to.
    +
    + Here is a list of all public + mailing lists, or go directly to the address:
    + http://lists.spline.de/mailman/listinfo/[mailing list name] +
  2. + +
  3. + At the bottom of the page, you'll find the unsubscribe + form:
    + email: _____________ [Options/Einstellungen] +
  4. + +
  5. + Enter your e-mail address into the "e-mail" field at the bottom + of the page and click on "Options". +
  6. + +
  7. + Click on "Kündigung des Abos". You will get an + e-mail with a link, that you should simply open to complete the + process. +
  8. +
+
-- cgit v1.2.3-1-g7c22