diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-03-07 14:27:49 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-03-07 14:27:49 +0000 |
commit | 84f1d553ae8e5fb0821d2e416538fa935bf2feaf (patch) | |
tree | 03273cba1ea40838c1233719fab3e4c73f9dc1ac | |
parent | 920691b99f8a8cb194a0bb19a2c10ce7aafc2fff (diff) |
Hide sub map links when report process started (fixes #265); bit of space under key tools in mobile environment, and fix typo.
-rw-r--r-- | templates/web/fixmystreet/report/new/fill_in_details_form.html | 2 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/base.scss | 1 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/layout.scss | 1 | ||||
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/templates/web/fixmystreet/report/new/fill_in_details_form.html b/templates/web/fixmystreet/report/new/fill_in_details_form.html index 104fe4e7d..3ccc22c2c 100644 --- a/templates/web/fixmystreet/report/new/fill_in_details_form.html +++ b/templates/web/fixmystreet/report/new/fill_in_details_form.html @@ -24,7 +24,7 @@ [% IF partial_token %] <p id="unknown">[% loc('Please note your report has <strong>not yet been sent</strong>. Choose a category and add further information below, then submit.') %]</p> [% END %] - <p>[% loc('You have located the problem at the point marked with a yellow pin on the map. If this is not the correct location, simply click on the map again. ') %]</p> + <p>[% loc('You have located the problem at the point marked with a green pin on the map. If this is not the correct location, simply click on the map again. ') %]</p> [% END %] <p> diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss index 5959eb99a..967d7422f 100644 --- a/web/cobrands/fixmystreet/base.scss +++ b/web/cobrands/fixmystreet/base.scss @@ -558,6 +558,7 @@ p.label-valid { @extend .full-width; ul#key-tools{ @include list-reset-soft; + margin-bottom: 1em; display: table; width:100%; li{ diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index 9aa9af11e..91c32c6af 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -591,6 +591,7 @@ body.twothirdswidthpage { padding-top: 3em; ul#key-tools { border-top: 0.25em solid $primary; + margin: 0; @include box-shadow(-0em 0px 1em 1em #fff); li { border:none; diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 8ee217dff..101585c07 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -461,11 +461,11 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { } } + $('#sub_map_links').hide(); if ($('html').hasClass('mobile')) { var $map_box = $('#map_box'), width = $map_box.width(), height = $map_box.height(); - $('#sub_map_links').hide(); $map_box.append( '<p id="mob_sub_map_links">' + '<a href="#" id="try_again">Try again</a>' + |