diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/waste/bin_days.html | 6 | ||||
-rw-r--r-- | templates/web/base/waste/enquiry.html | 2 | ||||
-rw-r--r-- | templates/web/bromley/report/_updates_disallowed_message.html | 4 | ||||
-rw-r--r-- | templates/web/bromley/waste/services.html | 8 |
4 files changed, 10 insertions, 10 deletions
diff --git a/templates/web/base/waste/bin_days.html b/templates/web/base/waste/bin_days.html index e852507fb..54c21ae0c 100644 --- a/templates/web/base/waste/bin_days.html +++ b/templates/web/base/waste/bin_days.html @@ -80,7 +80,7 @@ <div class="aside-download"> <h3>Download your collection schedule</h3> <ul> - <li><a href="[% c.uri_for_action('waste/calendar', [ uprn ]) %]">Add to your calendar (.ics file)</a></li> + <li><a href="[% c.uri_for_action('waste/calendar', [ property.id ]) %]">Add to your calendar (.ics file)</a></li> </ul> </div> [% IF any_report_allowed OR any_request_allowed %] @@ -88,10 +88,10 @@ <h3>More services</h3> <ul> [% IF any_report_allowed %] - <li><a href="[% c.uri_for_action('waste/report', [ uprn ]) %]">Report a missed collection</a></li> + <li><a href="[% c.uri_for_action('waste/report', [ property.id ]) %]">Report a missed collection</a></li> [% END %] [% IF any_request_allowed %] - <li><a href="[% c.uri_for_action('waste/request', [ uprn ]) %]">Request a new container</a></li> + <li><a href="[% c.uri_for_action('waste/request', [ property.id ]) %]">Request a new container</a></li> [% END %] </ul> </div> diff --git a/templates/web/base/waste/enquiry.html b/templates/web/base/waste/enquiry.html index 8993b0fd8..06c8f7f76 100644 --- a/templates/web/base/waste/enquiry.html +++ b/templates/web/base/waste/enquiry.html @@ -15,7 +15,7 @@ <dd class="waste__address__property">[% services.$service_id.service_name %]</dd> </dl> -<form method="get" action="[% c.uri_for_action('waste/enquiry', [ uprn ]) %]"> +<form method="get" action="[% c.uri_for_action('waste/enquiry', [ property.id ]) %]"> <div class="govuk-form-group"> [% PROCESS radio field = { id = 'category', diff --git a/templates/web/bromley/report/_updates_disallowed_message.html b/templates/web/bromley/report/_updates_disallowed_message.html index 059b92494..25e3a57c4 100644 --- a/templates/web/bromley/report/_updates_disallowed_message.html +++ b/templates/web/bromley/report/_updates_disallowed_message.html @@ -1,8 +1,8 @@ [% IF c.cobrand.updates_disallowed(problem) == 'waste'; - SET uprn = problem.get_extra_field_value('uprn'); + SET property_id = problem.get_extra_field_value('property_id'); %] <p> - <a href="/waste[% IF uprn %]/uprn/[% uprn %][% END %]">See your bin collections</a>. + <a href="/waste[% IF property_id %]/[% property_id %][% END %]">See your bin collections</a>. </p> <div class="bromley-waste-credits"> diff --git a/templates/web/bromley/waste/services.html b/templates/web/bromley/waste/services.html index 121c6a2a3..6fc654f07 100644 --- a/templates/web/bromley/waste/services.html +++ b/templates/web/bromley/waste/services.html @@ -8,7 +8,7 @@ </span> [% ELSIF unit.report_allowed %] [% any_report_allowed = 1 %] - <form method="post" action="[% c.uri_for_action('waste/report', [ uprn ]) %]"> + <form method="post" action="[% c.uri_for_action('waste/report', [ property.id ]) %]"> <input type="hidden" name="token" value="[% csrf_token %]"> <input type="hidden" name="service-[% unit.service_id %]" value="1"> <input type="submit" value="Report a [% unit.service_name FILTER lower %] collection as missed" class="waste-service-descriptor waste-service-link"> @@ -18,7 +18,7 @@ [% ELSE %] <span class="waste-service-descriptor">Please note that missed collections can only be reported within 2 working days of your scheduled collection day.</span> [% END %] - <a href="[% c.uri_for_action('waste/enquiry', [ uprn ]) %]?template=problem&service_id=[% unit.service_id %]" class="waste-service-link waste-service-descriptor">Report a problem with a [% unit.service_name FILTER lower %] collection</a> + <a href="[% c.uri_for_action('waste/enquiry', [ property.id ]) %]?template=problem&service_id=[% unit.service_id %]" class="waste-service-link waste-service-descriptor">Report a problem with a [% unit.service_name FILTER lower %] collection</a> [% IF unit.request_open %] <span class="waste-service-descriptor"> A new [% unit.service_name FILTER lower %] container request has been made @@ -26,13 +26,13 @@ </span> [% ELSIF unit.request_allowed %] [% any_request_allowed = 1 %] - <form method="post" action="[% c.uri_for_action('waste/request', [ uprn ]) %]"> + <form method="post" action="[% c.uri_for_action('waste/request', [ property.id ]) %]"> <input type="hidden" name="token" value="[% csrf_token %]"> <input type="hidden" name="container-[% unit.request_containers.0 %]" value="1"> <input type="submit" value="Request a new [% unit.service_name FILTER lower %] container" class="waste-service-descriptor waste-service-link"> </form> [% END %] - <form method="get" action="[% c.uri_for_action('waste/enquiry', [ uprn ]) %]"> + <form method="get" action="[% c.uri_for_action('waste/enquiry', [ property.id ]) %]"> <input type="hidden" name="service_id" value="[% unit.service_id %]"> <input type="hidden" name="category" id="category" value="General Enquiry"> <input type="submit" value="Contact us about a [% unit.service_name FILTER lower %] collection" class="waste-service-descriptor waste-service-link"> |