diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-31 17:27:18 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-31 17:27:18 +0000 |
commit | 69f59d98735e951ffe7845e05448fa5f226cbfe5 (patch) | |
tree | fd32f3e22e42aa211c085834d907c93b6a4ee3fc | |
parent | 444788477e7c8a71a4765f9b658cf88405d41da7 (diff) |
Show unconfirmed email specially, rather than confirmed (fixes a12).
-rw-r--r-- | templates/web/zurich/admin/report_edit-sdm.html | 2 | ||||
-rw-r--r-- | templates/web/zurich/admin/report_edit.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/zurich/admin/report_edit-sdm.html b/templates/web/zurich/admin/report_edit-sdm.html index ec65046cb..cbf28470b 100644 --- a/templates/web/zurich/admin/report_edit-sdm.html +++ b/templates/web/zurich/admin/report_edit-sdm.html @@ -29,7 +29,7 @@ <li>[% loc('Category:') %] [% problem.category | html %] </li> <li>[% loc('Name:') %] [% problem.name | html %] <li>[% loc('Email:') %] [% problem.user.email | html %] -[% IF problem.extra.email_confirmed %][% loc('Confirmed') %][% END %] +[% IF NOT problem.extra.email_confirmed %]<span class="error">[% loc('Unconfirmed') %]</span>[% END %] <li>[% loc('Phone:') %] [% IF problem.user.phone %][% problem.user.phone | html %][% ELSE %]<em>[% loc('None') %]</em>[% END %]</li> <li>[% loc('Created:') %] [% PROCESS format_time time=problem.created %]</li> diff --git a/templates/web/zurich/admin/report_edit.html b/templates/web/zurich/admin/report_edit.html index 8e9a52ab5..176c0d620 100644 --- a/templates/web/zurich/admin/report_edit.html +++ b/templates/web/zurich/admin/report_edit.html @@ -49,7 +49,7 @@ <li>[% loc('Name:') %] [% problem.name | html %] <input type='hidden' name='name' id='name' value='[% problem.name | html %]'></li> <li>[% loc('Email:') %] [% problem.user.email | html %] <input type='hidden' id='email' name='email' value='[% problem.user.email | html %]'> -[% IF problem.extra.email_confirmed %][% loc('Confirmed') %][% END %] +[% IF NOT problem.extra.email_confirmed %]<span class="error">[% loc('Unconfirmed') %]</span>[% END %] </li> <li>[% loc('Phone:') %] [% IF problem.user.phone %][% problem.user.phone | html %][% ELSE %]<em>[% loc('None') %]</em>[% END %]</li> <li>[% loc('Created:') %] [% PROCESS format_time time=problem.created %]</li> |