diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2011-09-27 03:07:46 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2011-09-27 03:08:08 +0200 |
commit | 12b7f6b3f220888fc5863a65dfe5f3c2865eaa83 (patch) | |
tree | 2fdbc0ee7700715ddcd7c7a55e2ef94f062435af | |
parent | 4765d8ef26f363a36cb81fb2a749189a168a3769 (diff) | |
download | sites-12b7f6b3f220888fc5863a65dfe5f3c2865eaa83.tar.gz sites-12b7f6b3f220888fc5863a65dfe5f3c2865eaa83.tar.bz2 sites-12b7f6b3f220888fc5863a65dfe5f3c2865eaa83.zip |
added unsubscibtion help pages
-rwxr-xr-x | index.py | 8 | ||||
-rw-r--r-- | static/css/main.css | 2 | ||||
-rw-r--r-- | static/img/unsubscr.gif | bin | 0 -> 20288 bytes | |||
-rw-r--r-- | templates/unsubscribe_de.html | 34 | ||||
-rw-r--r-- | templates/unsubscribe_en.html | 34 |
5 files changed, 77 insertions, 1 deletions
@@ -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 Binary files differnew file mode 100644 index 0000000..bf76ce6 --- /dev/null +++ b/static/img/unsubscr.gif 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 + +<div class="info"> + <ol> + <li> + Auf die Mailinglisten-Info-Seite der betreffenden Mailingliste + gehen.<br /> + <br /> + Auf <a href="/mailman/listinfo">dieser Übersicht</a> befindet sich + eine Liste aller öffentlichen Mailinglisten, oder man gibt direkt + die Adresse ein:<br /> + https://lists.spline.inf.fu-berlin.de/mailman/listinfo/[Mailinglistenname] + </li> + + <li> + Ganz unten auf der Seite befindet sich der Zugang zum + Austragungsformular:<br /> + <img src="/static/img/unsubscr.gif" + alt="email: _____________ [Options/Einstellungen]" /> + </li> + + <li> + Im unteren "e-mail:"-Feld die eigene e-mail Adresse eintragen und + auf "Options/Einstellungen" klicken. + </li> + + <li> + Auf "Kündigung des Abos" klicken, E-Mail abwarten, + den Link in dieser E-Mail aufrufen und fertig. + </li> + </ol> +</div> 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 + +<div class="info"> + <ol> + <li> + Go to the list info page of the mailing list you are subscribed + to.<br /> + <br /> + Here is <a href="/mailman/listinfo">a list</a> of all public + mailing lists, or go directly to the address:<br /> + http://lists.spline.de/mailman/listinfo/[mailing list name] + </li> + + <li> + At the bottom of the page, you'll find the unsubscribe + form:<br /> + <img src="/static/img/unsubscr.gif" + alt="email: _____________ [Options/Einstellungen]" /> + </li> + + <li> + Enter your e-mail address into the "e-mail" field at the bottom + of the page and click on "Options". + </li> + + <li> + Click on "Kündigung des Abos". You will get an + e-mail with a link, that you should simply open to complete the + process. + </li> + </ol> +</div> |