aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/email_sent.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/email_sent.html')
-rw-r--r--templates/web/default/email_sent.html44
1 files changed, 22 insertions, 22 deletions
diff --git a/templates/web/default/email_sent.html b/templates/web/default/email_sent.html
index a18a73888..9afddf2bd 100644
--- a/templates/web/default/email_sent.html
+++ b/templates/web/default/email_sent.html
@@ -1,34 +1,34 @@
-[% INCLUDE 'header.html', title => loc('Create a report') %]
-
-[%
- messages = {
- problem => {
- action => loc('your problem will not be posted'),
- worry => loc("we'll hang on to your problem report while you're checking your email."),
- },
- update => {
- action => loc('your update will not be posted'),
- worry => loc("we'll hang on to your update while you're checking your email."),
- },
- alert => {
- action => loc('your alert will not be activated'),
- worry => loc("we'll hang on to your alert while you're checking your email."),
- },
- }
-%]
+[% INCLUDE 'header.html', title = loc('Create a report') %]
<h1>[% loc("Nearly Done! Now check your email...") %]</h1>
[% IF c.cobrand.moniker != 'zurich' %]
-<p>[% loc("The confirmation email <strong>may</strong> take a few minutes to arrive &mdash; <em>please</em> be patient.") %]</p>
+ <p>[% loc("The confirmation email <strong>may</strong> take a few minutes to arrive &mdash; <em>please</em> be patient.") %]</p>
[% END %]
<p>[% loc("If you use web-based email or have 'junk mail' filters, you may wish to check your bulk/spam mail folders: sometimes, our messages are marked that way.") %]</p>
-<p>[% tprintf( loc("You must now click the link in the email we've just sent you &mdash; if you do not, %s."), messages.$email_type.action ) %].</p>
-
[% IF c.cobrand.moniker != 'zurich' %]
-<p>[% tprintf( loc("(Don't worry &mdash; %s)"), messages.$email_type.worry ) %]</p>
+ <p>
+ [% loc("You must now click the link in the email we've just sent you.") %]
+ [% IF email_type == 'problem' %]
+ [% loc("If you do not, your problem will not be posted.") %]
+ [% ELSIF email_type == 'update' %]
+ [% loc("If you do not, your update will not be posted.") %]
+ [% ELSIF email_type == 'alert' %]
+ [% loc("If you do not, your alert will not be activated.") %]
+ [% END %]
+ </p>
+
+ <p>
+ [% IF email_type == 'problem' %]
+ [% loc("(Don't worry &mdash; we'll hang on to your problem report while you're checking your email.)") %]
+ [% ELSIF email_type == 'update' %]
+ [% loc("(Don't worry &mdash; we'll hang on to your update while you're checking your email.)") %]
+ [% ELSIF email_type == 'alert' %]
+ [% loc("(Don't worry &mdash; we'll hang on to your alert while you're checking your email.)") %]
+ [% END %]
+ </p>
[% END %]
[% INCLUDE 'footer.html' %]