aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-15 18:03:10 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-11-06 12:25:34 +0000
commit917be7924e23fd4e0168927f16fa5d6e64ca4508 (patch)
tree3cdf0924c629df0dab3f6aa592ad556f7999ec4a /templates/web/base
parent660631a3ff063e6378c9838f40c1d9bfa8dcfd43 (diff)
Remove Show all pins link and on_map_list_limit.
/around will now show all reports all the time, but we are about to introduce pagination to stop that.
Diffstat (limited to 'templates/web/base')
-rwxr-xr-xtemplates/web/base/around/display_location.html8
-rw-r--r--templates/web/base/maps/google.html1
-rw-r--r--templates/web/base/maps/openlayers.html1
3 files changed, 0 insertions, 10 deletions
diff --git a/templates/web/base/around/display_location.html b/templates/web/base/around/display_location.html
index 3ed16d3d3..5d83235b1 100755
--- a/templates/web/base/around/display_location.html
+++ b/templates/web/base/around/display_location.html
@@ -61,14 +61,6 @@
[% ELSE %]
<a id='hide_pins_link' rel='nofollow' href="[% c.uri_with( { no_pins => 1 } ) %]">[% loc('Hide pins') %]</a>
[% END %]
- [% IF c.cobrand.country == 'GB' || c.cobrand.country == 'NO' %]
- <span class="hidden">|</span>
- [% IF c.req.params.all_pins %]
- <a id='all_pins_link' rel='nofollow' href="[% c.uri_with( { no_pins => undef, all_pins => undef } ) %]">[% loc('Hide old') %]</a>
- [% ELSE %]
- <a id='all_pins_link' rel='nofollow' href="[% c.uri_with( { no_pins => undef, all_pins => 1 } ) %]">[% loc('Show old') %]</a>
- [% END %]
- [% END %]
</p>
<div class="mobile-map-banner">
diff --git a/templates/web/base/maps/google.html b/templates/web/base/maps/google.html
index c86c757fb..ec9885a04 100644
--- a/templates/web/base/maps/google.html
+++ b/templates/web/base/maps/google.html
@@ -18,7 +18,6 @@ map_js = [
var fixmystreet = fixmystreet || {};
$.extend(fixmystreet, {
'area': [ [% map.area.join(',') %] ],
- 'all_pins': '[% all_pins %]',
'latitude': [% map.latitude %],
'longitude': [% map.longitude %],
[% IF map.any_zoom -%]
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html
index 568a87e7c..12ae88c05 100644
--- a/templates/web/base/maps/openlayers.html
+++ b/templates/web/base/maps/openlayers.html
@@ -9,7 +9,6 @@
[%- UNLESS c.cobrand.call_hook('hide_areas_on_reports') %]
data-area="[% map.area.join(',') %]"
[%- END %]
- data-all_pins='[% all_pins %]'
data-latitude=[% map.latitude %]
data-longitude=[% map.longitude %]
[% IF map.any_zoom -%]