aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/questionnaire
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/questionnaire')
-rw-r--r--templates/web/default/questionnaire/completed-open.html11
-rw-r--r--templates/web/default/questionnaire/completed.html28
-rw-r--r--templates/web/default/questionnaire/creator_fixed.html23
-rw-r--r--templates/web/default/questionnaire/index.html123
4 files changed, 0 insertions, 185 deletions
diff --git a/templates/web/default/questionnaire/completed-open.html b/templates/web/default/questionnaire/completed-open.html
deleted file mode 100644
index c860b7341..000000000
--- a/templates/web/default/questionnaire/completed-open.html
+++ /dev/null
@@ -1,11 +0,0 @@
-[% IF c.cobrand.is_council %]
-<p style="font-size: 150%">
-Thank you very much for filling in our questionnaire.
-</p>
-[% ELSE %]
-[% loc('<p style="font-size:150%">We&rsquo;re sorry to hear that. We have two
-suggestions: why not try writing to your local representatives or, if
-it&rsquo;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>') %]
-[% END %]
diff --git a/templates/web/default/questionnaire/completed.html b/templates/web/default/questionnaire/completed.html
deleted file mode 100644
index 4d848a63c..000000000
--- a/templates/web/default/questionnaire/completed.html
+++ /dev/null
@@ -1,28 +0,0 @@
-[%
- INCLUDE 'header.html', 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>') %]
-
-[% 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 %]
-
-[% ELSIF been_fixed == 'Yes' %]
-
-[% loc('<p style="font-size:150%">Thank you very much for filling in our questionnaire; glad to hear it&rsquo;s been fixed.</p>') %]
-
-[% END %]
-
-[% IF advert_outcome %]
- [% display_crosssell_advert( problem.user.email, problem.name, 'council', problem.bodies_str ) %]
-[% END %]
-
-[% INCLUDE 'footer.html' %]
diff --git a/templates/web/default/questionnaire/creator_fixed.html b/templates/web/default/questionnaire/creator_fixed.html
deleted file mode 100644
index 5b6d1254a..000000000
--- a/templates/web/default/questionnaire/creator_fixed.html
+++ /dev/null
@@ -1,23 +0,0 @@
-[% INCLUDE 'header.html', title = loc('Confirmation') %]
-
-<form method="post" action="/questionnaire/submit" id="questionnaire">
-<input type="hidden" name="problem" value="[% problem_id | html %]">
-
-[% INCLUDE 'errors.html' %]
-
-<p>
-[% loc("Thanks, glad to hear it's been fixed! Could we just ask if you have ever reported a problem to a council before?") %]
-</p>
-
-<p align="center">
-<input type="radio" name="reported" id="reported_yes" value="Yes"[% ' checked' IF reported == 'Yes' %]>
-<label class="inline" for="reported_yes">[% loc('Yes') %]</label>
-<input type="radio" name="reported" id="reported_no" value="No"[% ' checked' IF reported == 'No' %]>
-<label class="inline" for="reported_no">[% loc('No') %]</label>
-</p>
-
-<p><input type="submit" name="submit" value="[% loc('Submit') %]"></p>
-
-</form>
-
-[% INCLUDE 'footer.html' %]
diff --git a/templates/web/default/questionnaire/index.html b/templates/web/default/questionnaire/index.html
deleted file mode 100644
index 6783bca57..000000000
--- a/templates/web/default/questionnaire/index.html
+++ /dev/null
@@ -1,123 +0,0 @@
-[%
- pre_map = INCLUDE 'report/_main.html';
- PROCESS "maps/${map.type}.html";
- INCLUDE 'header.html', title = loc('Questionnaire')
-%]
-
-[% map_html %]
-
-[% INCLUDE 'report/updates.html' %]
-
-</div>
-<div id="side">
-
-<h1>[% loc('Questionnaire') %]</h1>
-
-<form method="post" action="/questionnaire/submit" id="questionnaire"
-[%- IF c.cobrand.allow_photo_upload -%]
- enctype="multipart/form-data"
-[%- END -%]
->
-
-<input type="hidden" name="token" value="[% token | html %]">
-
-[% IF c.cobrand.moniker == 'emptyhomes' %]
-[% IF num_questionnaire == 1 %]
-[% loc('<p>Getting empty homes back into use can be difficult. You shouldn&rsquo;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>
-') %]
-[% ELSE %]
-[% 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&rsquo;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>
-') %]
-[% END %]
-[% END %]
-
-<p>
-[% loc('The details of your problem are available on the right hand side of this page.') %]
-[% loc('Please take a look at the updates that have been left.') IF updates %]
-</p>
-
-[% IF errors %]
-<ul class="error">
-<li>[% errors.join("</li>\n<li>") %]</li>
-</ul>
-[% END %]
-
-<p>
-[% loc('An update marked this problem as fixed.') IF problem.is_fixed %]
-[% loc('Has this problem been fixed?') %]
-</p>
-
-<p>
-<input type="radio" name="been_fixed" id="been_fixed_yes" value="Yes"[% ' checked' IF been_fixed == 'Yes' %]>
-<label for="been_fixed_yes">[% loc('Yes') %]</label>
-<input type="radio" name="been_fixed" id="been_fixed_no" value="No"[% ' checked' IF been_fixed == 'No' %]>
-<label for="been_fixed_no">[% loc('No') %]</label>
-<input type="radio" name="been_fixed" id="been_fixed_unknown" value="Unknown"[% ' checked' IF been_fixed == 'Unknown' %]>
-<label for="been_fixed_unknown">[% loc('Don&rsquo;t know') %]</label>
-</p>
-
-[% UNLESS answered_ever_reported %]
-<p>[% loc('Have you ever reported a problem to a council before, or is this your first time?') %]</p>
-<p>
-<input type="radio" name="reported" id="reported_yes" value="Yes"[% ' checked' IF reported == 'Yes' %]>
-<label for="reported_yes">[% loc('Reported before') %]</label>
-<input type="radio" name="reported" id="reported_no" value="No"[% ' checked' IF reported == 'No' %]>
-<label for="reported_no">[% loc('First time') %]</label>
-</p>
-[% END %]
-
-[% IF c.cobrand.moniker == 'southampton' %]
-<p>Add a public update (please note it will not be sent to the council)</p>
-[% ELSE %]
-<p>[% loc('If you wish to leave a public update on the problem, please enter it here
-(please note it will not be sent to the council). For example, what was
-your experience of getting the problem fixed?') %]</p>
-[% END %]
-
-<p><textarea name="update" style="max-width:90%" rows="7" cols="30">[% update | html %]</textarea></p>
-
-[% IF c.cobrand.allow_photo_upload %]
-<div id="fileupload_normalUI">
- [% IF upload_fileid %]
- <p>[% loc('You have already attached a photo to this report, attaching another one will replace it.') %]</p>
- <input type="hidden" name="upload_fileid" value="[% upload_fileid %]">
- [% END %]
- <label for="form_photo">[% loc('Photo:') %]</label>
- <input type="file" name="photo" id="form_photo">
-</div>
-[% END %]
-
-[% IF c.cobrand.moniker != 'emptyhomes' %]
-<div id="another_qn">
- <p>[% loc('Would you like to receive another questionnaire in 4 weeks, reminding you to check the status?') %]</p>
- <p>
- <input type="radio" name="another" id="another_yes" value="Yes"[% ' checked' IF another == 'Yes' %]>
- <label for="another_yes">[% loc('Yes') %]</label>
- <input type="radio" name="another" id="another_no" value="No"[% ' checked' IF another == 'No' %]>
- <label for="another_no">[% loc('No') %]</label>
- </p>
-</div>
-[% END %]
-
-<p><input type="submit" name="submit" value="[% loc('Submit questionnaire') %]"></p>
-
-</form>
-
-</div>
-
-[% INCLUDE 'footer.html' %]
-