diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2017-05-26 12:30:54 +0100 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2017-06-09 13:38:33 +0100 |
commit | 1cd7ae49a7dca3f06fff92a8b5eb3b1e9dc6f3e1 (patch) | |
tree | b3c32bf9cb527896457b6fb66e1109b5cdfdd992 /templates | |
parent | 6161ebc5ecd9893133e7d57a8f37f9ed6e47d66d (diff) |
Allow cobrands to define pin colour for new reports
Previously, a green marker would be used for reports as they were being
created. Now, cobrands can override `pin_new_report_colour` to show a
different pin image when users are creating a new report.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/maps/openlayers.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/web/base/maps/openlayers.html b/templates/web/base/maps/openlayers.html index 215b69d26..e8d6c2e06 100644 --- a/templates/web/base/maps/openlayers.html +++ b/templates/web/base/maps/openlayers.html @@ -17,6 +17,7 @@ data-zoom=[% map.zoom %] [%- END %] data-pin_prefix='[% c.config.ADMIN_BASE_URL IF admin %][% c.cobrand.path_to_pin_icons %]', + data-pin_new_report_colour='[% c.cobrand.pin_new_report_colour %]', data-numZoomLevels=[% map.numZoomLevels %] data-zoomOffset=[% map.zoomOffset %] data-map_type="[% map.map_type %]" |