diff options
Diffstat (limited to 'templates')
4 files changed, 0 insertions, 79 deletions
diff --git a/templates/web/fixmystreet.com/around/_report_banner.html b/templates/web/fixmystreet.com/around/_report_banner.html deleted file mode 100755 index fb2134020..000000000 --- a/templates/web/fixmystreet.com/around/_report_banner.html +++ /dev/null @@ -1,10 +0,0 @@ -[%# Same as parent, with variant green banner text %] -<h1 class="big-green-banner variant1"> - Click map to request a fix -</h1> -<h1 class="big-green-banner variant0"> - [% loc( 'Click map to report a problem' ) %] -</h1> -<a id="skip-this-step" href="[% url_skip %]" rel="nofollow"> - [% loc("Can't see the map? <em>Skip this step</em>") %] -</a> diff --git a/templates/web/fixmystreet.com/around/intro.html b/templates/web/fixmystreet.com/around/intro.html deleted file mode 100644 index 5b756cd31..000000000 --- a/templates/web/fixmystreet.com/around/intro.html +++ /dev/null @@ -1,9 +0,0 @@ -[%# Same as parent, with variant heading text %] -<div class="variant1"> - <h1>Get things fixed in your local community</h1> - <h2>(like blocked pavements, parks and playgrounds in need of maintenance)</h2> -</div> -<div class="variant0"> - <h1>[% loc('Report, view, or discuss local problems') %]</h1> - <h2>[% loc('(like graffiti, fly tipping, broken paving slabs, or street lighting)') %]</h2> -</div> diff --git a/templates/web/fixmystreet.com/header_extra.html b/templates/web/fixmystreet.com/header_extra.html index 4ea87a5e1..dc0f86693 100644 --- a/templates/web/fixmystreet.com/header_extra.html +++ b/templates/web/fixmystreet.com/header_extra.html @@ -16,22 +16,4 @@ })(document); </script> -[%# We are conducting an A/B experiment %] -[% IF c.config.BASE_URL == "https://www.fixmystreet.com" AND not admin AND NOT c.req.header('User-Agent').match('Google Page Speed') %] -<script src="//www.google-analytics.com/cx/api.js?experiment=ZwMlZkAhSbK_tP_QG64QrQ"></script> -<script nonce="[% csp_nonce %]"> -var variation = typeof cxApi !== "undefined" ? cxApi.chooseVariation() : 0, - docElement = document.documentElement, - className = docElement.className; -if (!/about\/council/.test(location.pathname)) { - docElement.className = className + ' variant' + variation; -} -</script> -[% END %] -<style> -html .variant1 { display: none !important; } -html.variant1 .variant0 { display: none !important; } -html.variant1 .variant1 { display: block !important; } -</style> - [% INCLUDE 'tracking_code.html' %] diff --git a/templates/web/fixmystreet.com/report/new/extra_name.html b/templates/web/fixmystreet.com/report/new/extra_name.html deleted file mode 100644 index dbd971d74..000000000 --- a/templates/web/fixmystreet.com/report/new/extra_name.html +++ /dev/null @@ -1,42 +0,0 @@ -[%# Same as parent, with added gender question %] - -[% IF (page == 'around' OR page == 'new') AND c.cobrand.ask_gender_question %] -<p> -We’re conducting research to make sure our site is good for everyone; -please help us out by providing your gender. <em>This will not be -shared with the council or displayed publicly.</em> -</p> - -[% SET gender = report.get_extra_metadata('gender') %] -<p class="segmented-control segmented-control--radio" style="font-size: 80%"> - <input type="radio" name="gender" id="gender_female" value="female"[% ' checked' IF gender == 'female' %]> - <label class="btn" for="gender_female">Female</label> - <input type="radio" name="gender" id="gender_male" value="male"[% ' checked' IF gender == 'male' %]> - <label class="btn" for="gender_male">Male</label> - <input type="radio" name="gender" id="gender_other" value="other"[% ' checked' IF gender == 'other' %]> - <label class="btn" for="gender_other">Other</label> - <input type="radio" name="gender" id="gender_unknown" value="unknown"[% ' checked' IF gender == 'unknown' %]> - <label class="btn" for="gender_unknown">Prefer not to say</label> -</p> -[% END %] - -<input type="hidden" name="variant" value="0"> - -[% IF extra_name_info %] -<label for="form_fms_extra_title">Title</label> -[% IF field_errors.fms_extra_title %] - <p class='form-error'>[% field_errors.fms_extra_title %]</p> -[% END %] -[% title = '' %] -[% IF fms_extra_title %][% title = fms_extra_title | upper %] -[% ELSIF c.user && c.user.title %][% title = c.user.title | upper %][% END %] -<select class="form-control form-focus-trigger required js-form-name" id="form_fms_extra_title" - name="fms_extra_title"> - <option></option> - <option value="MR"[% ' selected' IF title == 'MR' %]>Mr</option> - <option value="MISS"[% ' selected' IF title == 'MISS' %]>Miss</option> - <option value="MRS"[% ' selected' IF title == 'MRS' %]>Mrs</option> - <option value="MS"[% ' selected' IF title == 'MS' %]>Ms</option> - <option value="DR"[% ' selected' IF title == 'DR' %]>Dr</option> -</select> -[% END %] |