aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Jackson <nick@nickjackson.me>2015-08-13 10:26:18 +0100
committerNick Jackson <nick@nickjackson.me>2015-08-13 10:26:18 +0100
commit60b3ea26baca8010486fc00c9e60034295e495fd (patch)
treeeabdef0d0181c9ac99e42767c5f868aa811b92dc
parent68afd4edf9aeea5dd57cfd754c0cbe56399c8fbd (diff)
parent4c8c7cdde4d5148884d4e7dfd6fdc1b6ab73f29d (diff)
Merge branch 'remove-research-survey'
-rw-r--r--templates/web/fixmystreet.com/footer_extra.html3
-rw-r--r--templates/web/fixmystreet.com/research/survey_link.html3
-rw-r--r--templates/web/fixmystreet.com/tokens/_extras_confirm.html1
3 files changed, 0 insertions, 7 deletions
diff --git a/templates/web/fixmystreet.com/footer_extra.html b/templates/web/fixmystreet.com/footer_extra.html
deleted file mode 100644
index ba32a5534..000000000
--- a/templates/web/fixmystreet.com/footer_extra.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<script type="text/javascript">
- (function(){var e=0.6;var t=null;var n=document.cookie.split(";");for(var r=0;r<n.length;r++){var i=n[r];while(i.charAt(0)==" "){i=i.substring(1,i.length)}if(i.indexOf("ms_srv_t=")==0){var t=i.substring("ms_srv_t=".length,i.length)}if(i.indexOf("ms_srv_r=")==0){var s=i.substring("ms_srv_r=".length,i.length)}}if(t==null){if(Math.random()<e){var o=Math.round((new Date).getTime()/1e3);document.cookie="ms_srv_t="+o+"; path=/";document.cookie="ms_srv_r="+document.referrer+"; path=/";t=o;s=document.referrer}else{document.cookie="ms_srv_t=X; path=/";t="X"}}if(t!="X"&&!!document.getElementById("ms_srv_wrapper")){var u=Math.round((new Date).getTime()/1e3)-t;var a=!!document.getElementById("user-meta");var f=document.getElementById("ms_srv_link");data={ms_time:u,ms_referrer:s||null,ms_registered:a,ms_transaction:f.getAttribute("data-transaction")};var l=[];for(var c in data){l.push(encodeURIComponent(c)+"="+encodeURIComponent(data[c]))}f.href=f.href+"?"+l.join("&");document.getElementById("ms_srv_wrapper").style.display=""}})()
-</script>
diff --git a/templates/web/fixmystreet.com/research/survey_link.html b/templates/web/fixmystreet.com/research/survey_link.html
deleted file mode 100644
index 7357249d8..000000000
--- a/templates/web/fixmystreet.com/research/survey_link.html
+++ /dev/null
@@ -1,3 +0,0 @@
-<div id="ms_srv_wrapper" style="display:none">
- <p><a href="https://www.surveygizmo.co.uk/s3/1907419/FMS-2014" id="ms_srv_link" data-transaction="report">We&rsquo;re running a short survey to help us understand how well FixMyStreet works. If you&rsquo;d like to take it, click here.</a></p>
-</div>
diff --git a/templates/web/fixmystreet.com/tokens/_extras_confirm.html b/templates/web/fixmystreet.com/tokens/_extras_confirm.html
deleted file mode 100644
index c27383f42..000000000
--- a/templates/web/fixmystreet.com/tokens/_extras_confirm.html
+++ /dev/null
@@ -1 +0,0 @@
-[% INCLUDE 'research/survey_link.html' %]