summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-29 10:54:42 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-29 10:54:42 +0000
commit6325d4f389591d4f849b8d7ecb35887852de3ba2 (patch)
tree82d86b1abd03a8e117960cb336b519cce28bdfee
parentef062eaf9df456ccd573fa8f3933adb8804f09da (diff)
sympa: add sigrequest.tt2 template file
Template updated to give correct informations about unsubscription when user is not logged in.
-rw-r--r--sigrequest.tt234
1 files changed, 34 insertions, 0 deletions
diff --git a/sigrequest.tt2 b/sigrequest.tt2
new file mode 100644
index 0000000..069728d
--- /dev/null
+++ b/sigrequest.tt2
@@ -0,0 +1,34 @@
+<!-- $Id: sigrequest.tt2 6099 2009-08-13 08:31:02Z olivier.salaun $ -->
+
+ [% IF status == 'user.email' %]
+ [%|loc(list)%]You asked to be unsubscribed from list %1[%END%]. <br />[%|loc%]To confirm
+ your request, please click the button below:[%END%]<br />
+ <br />
+
+ <form action="[% path_cgi %]" method="post">
+ <fieldset>
+ <input type="hidden" name="list" value="[% list %]" />
+ <input type="hidden" name="email" value="[% user.email %]" />
+ <input class="MainMenuLinks" type="submit" name="action_signoff" value="[%|loc(list)%]I unsubscribe from list %1[%END%]" />
+ </fieldset>
+ </form>
+
+ [% ELSIF not_subscriber %]
+
+ [%|loc(list,email)%]You are not subscribed to list %1 with e-mail address %2[%END%].
+ <br /><br />
+ [%|loc%]You might have subscribed with another address.
+ Please contact the list owner to help you unsubscribe:[%END%]
+ <a href="mailto:[% list %]-request@[% conf.host %]">[% list %]-request@[% conf.host %]</a>
+
+ [% ELSIF ! email %]
+ [%|loc(list)%]We need to check your identity before validating your unsubscription request for list %1. You should login to this website using your email and password before you can unsubscribe. If you forgot your password, you can update it on <a href="https://identity.mageia.org/forgot_password">identity.mageia.org</a>.[%END%]
+
+ [% ELSE %]
+
+ [%|loc%]We've sent you an email including a validation link. You should check your mailbox to read this email and use this validation link.[%END%] <br /><br />
+
+
+ [% END %]
+<!-- end sigrequest.tt2 -->
+