diff options
author | Struan Donald <struan@exo.org.uk> | 2019-03-28 12:20:52 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-04-04 10:50:52 +0100 |
commit | 0c5a6cd5e2b67d09862433100c9f99677fbf15a6 (patch) | |
tree | 7004049b8bbf3f1e5263170edc587f86347c30aa /templates | |
parent | a7f88e7cb5eb124843aea2dad9a9435067eeab1e (diff) |
[Northamptonshire] prevent reports unless clicking on an asset
Prevent the user from making a report unless they have clicked on an
asset.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/northamptonshire/report/new/roads_message.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/web/northamptonshire/report/new/roads_message.html b/templates/web/northamptonshire/report/new/roads_message.html new file mode 100644 index 000000000..a6185a668 --- /dev/null +++ b/templates/web/northamptonshire/report/new/roads_message.html @@ -0,0 +1,19 @@ +<div id="js-roads-responsibility" class="box-warning hidden"> + <div id="js-not-an-asset" class="hidden js-responsibility-message"> + <p>Please select <span id="js-roads-asset">an item</span> from the map on which to make a report.</p> + </div> + <div id="js-not-a-speedhump" class="hidden js-responsibility-message"> + <p>Please select <b>a speed hump</b> from the map on which to make a report.</p> + </div> + <div id="js-not-a-ped-barrier" class="hidden js-responsibility-message"> + <p>Please select <b>a pedestrian barrier</b> from the map on which to make a report.</p> + </div> + <div id="js-not-a-prow" class="hidden js-responsibility-message"> + <p>The location you have selected doesn't appear to be on a right of way.</p> + <p>Please select a right of way on which to make a report.</p> + </div> + <div id="js-not-a-road" class="hidden js-responsibility-message"> + <p>The location you have selected doesn't appear to be on a road.</p> + <p>Please select a road on which to make a report.</p> + </div> +</div> |