aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/admin/body_edit.html19
-rw-r--r--templates/web/default/email_sent.html44
2 files changed, 35 insertions, 28 deletions
diff --git a/templates/web/default/admin/body_edit.html b/templates/web/default/admin/body_edit.html
index 1fde716c9..1eeff9ab5 100644
--- a/templates/web/default/admin/body_edit.html
+++ b/templates/web/default/admin/body_edit.html
@@ -27,12 +27,19 @@
<input type="text" name="email" value="[% contact.email | html %]" size="30">
<p>
- <input type="checkbox" name="confirmed" value="1" id="confirmed"[% ' checked' IF contact.confirmed %]>
- <label class="inline" for="confirmed">[% loc('Confirmed' ) %]</label>
- <input type="checkbox" name="deleted" value="1" id="deleted"[% ' checked' IF contact.deleted %]>
- <label class="inline" for="deleted">[% loc('Deleted') %]</label>
- <input type="checkbox" name="non_public" value="1" id="non_public"[% ' checked' IF contact.non_public %]>
- <label class="inline" for="non_public">[% loc('Private') %]</label>
+ [% IF c.cobrand.moniker != 'zurich' %]
+ <input type="checkbox" name="confirmed" value="1" id="confirmed"[% ' checked' IF contact.confirmed %]>
+ <label class="inline" for="confirmed">[% loc('Confirmed' ) %]</label>
+ [% ELSE %]
+ <input type="hidden" name="confirmed" value="1">
+ [% END %]
+ <input type="checkbox" name="deleted" value="1" id="deleted"[% ' checked' IF contact.deleted %]>
+ <label class="inline" for="deleted">[% loc('Deleted') %]</label>
+ [% IF c.cobrand.moniker != 'zurich' %]
+ <input type="checkbox" name="non_public" value="1" id="non_public"[% ' checked' IF contact.non_public %]>
+ <label class="inline" for="non_public">[% loc('Private') %]</label>
+ [% END %]
+ </p>
<p><strong>[% loc('Note:') %] </strong><textarea name="note" rows="3" cols="40">[% contact.note | html %]</textarea>
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' %]