diff options
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/questionnaire/completed.html | 10 | ||||
-rw-r--r-- | templates/web/default/questionnaire/index.html | 14 |
2 files changed, 11 insertions, 13 deletions
diff --git a/templates/web/default/questionnaire/completed.html b/templates/web/default/questionnaire/completed.html index 0dbd2828d..afac7aa29 100644 --- a/templates/web/default/questionnaire/completed.html +++ b/templates/web/default/questionnaire/completed.html @@ -8,21 +8,21 @@ site and leave an update.</p>') %] [% ELSIF new_state == 'confirmed' OR (!new_state AND problem.state == 'confirmed') %] -[% tprintf( loc('<p style="font-size:150%%">We're sorry to hear that. We have two suggestions: why not try +[% tprintf( loc('<p style="font-size:150%%">We’re sorry to hear that. We have two suggestions: why not try <a href="%s">writing direct to your councillor(s)</a> -or, if it's a problem that could be fixed by local people working together, +or, if it’s a problem that could be fixed by local people working together, why not <a href="http://www.pledgebank.com/new">make and publicise a pledge</a>? -</p>'), c.cobrand.writetothem_url || http://www.writetothem.com %] +</p>'), c.cobrand.writetothem_url || 'http://www.writetothem.com/' ) %] [% advert_outcome = 0 %] [% ELSE %] -[% 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.council } ) %] + [% display_crosssell_advert( problem.user.email, problem.name, council, problem.council ) %] [% END %] diff --git a/templates/web/default/questionnaire/index.html b/templates/web/default/questionnaire/index.html index 6d102bac9..d463ff2f9 100644 --- a/templates/web/default/questionnaire/index.html +++ b/templates/web/default/questionnaire/index.html @@ -24,28 +24,26 @@ [% c.cobrand.form_elements('questionnaireForm') %] [% IF c.cobrand.moniker == 'emptyhomes' %] -[% IF num_questionnaires == 1 %] - _(<<EOF); -<p>Getting empty homes back into use can be difficult. You shouldn't expect +[% IF num_questionnaire == 1 %] +[% loc('<p>Getting empty homes back into use can be difficult. You shouldn’t expect the property to be back into use yet. But a good council will have started work and should have reported what they have done on the website. If you are not satisfied with progress or information from the council, now is the right time to say. You may also want to try contacting some other people who may be able to help. For advice on how to do this and other useful information please go to <a href="http://www.emptyhomes.com/getinvolved/campaign.html">http://www.emptyhomes.com/getinvolved/campaign.html</a>.</p> -EOF +') %] [% ELSE %] - _(<<EOF); -<p>Getting empty homes back into use can be difficult, but by now a good council +[% loc('<p>Getting empty homes back into use can be difficult, but by now a good council will have made a lot of progress and reported what they have done on the website. Even so properties can remain empty for many months if the owner is unwilling or the property is in very poor repair. If nothing has happened or you are not satisfied with the progress the council is making, now is the right -time to say so. We think it's a good idea to contact some other people who +time to say so. We think it’s a good idea to contact some other people who may be able to help or put pressure on the council For advice on how to do this and other useful information please go to <a href="http://www.emptyhomes.com/getinvolved/campaign.html">http://www.emptyhomes.com/getinvolved/campaign.html</a>.</p> -EOF +') %] [% END %] [% END %] |