diff options
Diffstat (limited to 'templates/web/base')
-rw-r--r-- | templates/web/base/contact/submit.html | 7 | ||||
-rw-r--r-- | templates/web/base/next_steps.html | 5 | ||||
-rw-r--r-- | templates/web/base/questionnaire/completed.html | 22 | ||||
-rw-r--r-- | templates/web/base/tokens/confirm_alert.html | 2 | ||||
-rw-r--r-- | templates/web/base/tokens/confirm_problem.html | 7 | ||||
-rw-r--r-- | templates/web/base/tokens/confirm_update.html | 7 |
6 files changed, 31 insertions, 19 deletions
diff --git a/templates/web/base/contact/submit.html b/templates/web/base/contact/submit.html index fc416c2d7..ce57f648f 100644 --- a/templates/web/base/contact/submit.html +++ b/templates/web/base/contact/submit.html @@ -1,13 +1,12 @@ -[% INCLUDE 'header.html', title = loc('Contact Us'), bodyclass = 'fullwidthpage' %] +[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Contact Us') %] <h1>[% loc('Contact the team') %]</h1> - + [% IF success %] <p> [% loc("Thanks for your feedback. We'll get back to you as soon as we can!") %] </p> - [% display_crosssell_advert( em, form_name, 'emailunvalidated', 1 ) %] [% ELSE %] @@ -17,4 +16,6 @@ [% END %] +[% INCLUDE next_steps.html %] + [% INCLUDE 'footer.html' %] diff --git a/templates/web/base/next_steps.html b/templates/web/base/next_steps.html new file mode 100644 index 000000000..9d5b22c80 --- /dev/null +++ b/templates/web/base/next_steps.html @@ -0,0 +1,5 @@ +[%# +Override this file in your cobrand to show promotions or suggested next steps +to your users after they perform major interactions like confirming or updating +problem reports, setting up local area alerts, or signing out. +%] diff --git a/templates/web/base/questionnaire/completed.html b/templates/web/base/questionnaire/completed.html index 4d848a63c..1373a084f 100644 --- a/templates/web/base/questionnaire/completed.html +++ b/templates/web/base/questionnaire/completed.html @@ -1,28 +1,24 @@ -[% - INCLUDE 'header.html', title = loc('Questionnaire') -%] +[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Questionnaire') %] [% advert_outcome = 1 %] [% IF been_fixed == 'Unknown' %] - -[% loc('<p>Thank you very much for filling in our questionnaire; if you -get some more information about the status of your problem, please come back to the -site and leave an update.</p>') %] + [% loc('<p>Thank you very much for filling in our questionnaire; if you + get some more information about the status of your problem, please come back to the + site and leave an update.</p>') %] [% ELSIF new_state == 'confirmed' OR (!new_state AND problem.is_open) OR (!new_state AND problem.is_closed) %] - -[% INCLUDE 'questionnaire/completed-open.html' %] -[% advert_outcome = 0 %] + [% INCLUDE 'questionnaire/completed-open.html' %] + [% advert_outcome = 0 %] [% ELSIF been_fixed == 'Yes' %] - -[% loc('<p style="font-size:150%">Thank you very much for filling in our questionnaire; glad to hear it’s been fixed.</p>') %] + [% loc('<p style="font-size:150%">Thank you very much for filling in our questionnaire; glad to hear it’s been fixed.</p>') %] [% END %] [% IF advert_outcome %] - [% display_crosssell_advert( problem.user.email, problem.name, 'council', problem.bodies_str ) %] + [% INCLUDE next_steps.html %] + [% END %] [% INCLUDE 'footer.html' %] diff --git a/templates/web/base/tokens/confirm_alert.html b/templates/web/base/tokens/confirm_alert.html index a33f7e92a..d7fbe4d7c 100644 --- a/templates/web/base/tokens/confirm_alert.html +++ b/templates/web/base/tokens/confirm_alert.html @@ -15,6 +15,6 @@ </div> -[% display_crosssell_advert( alert.user.email, alert.user.name ) %] +[% INCLUDE next_steps.html %] [% INCLUDE 'footer.html' %] diff --git a/templates/web/base/tokens/confirm_problem.html b/templates/web/base/tokens/confirm_problem.html index 8c92c874a..3346ce287 100644 --- a/templates/web/base/tokens/confirm_problem.html +++ b/templates/web/base/tokens/confirm_problem.html @@ -35,6 +35,11 @@ </div> -[% display_crosssell_advert( problem.user.email, problem.name ) %] +[% INCLUDE + next_steps.html, + just_interacted = 1, + share_url = c.cobrand.base_url_for_report(problem) _ problem.url, + twitter_comment = 'I just reported a problem on @fixmystreet' +%] [% INCLUDE 'footer.html' %] diff --git a/templates/web/base/tokens/confirm_update.html b/templates/web/base/tokens/confirm_update.html index 21fcfc4ff..a89da8555 100644 --- a/templates/web/base/tokens/confirm_update.html +++ b/templates/web/base/tokens/confirm_update.html @@ -19,6 +19,11 @@ </div> -[% display_crosssell_advert( update.user.email, update.name ) %] +[% INCLUDE + next_steps.html, + just_interacted = 1, + share_url = c.cobrand.base_url_for_report(update.problem) _ update.problem.url, + twitter_comment = 'I just updated a problem on @fixmystreet' +%] [% INCLUDE 'footer.html' %] |