-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sutton] Remove link to order new bins from each bin
Request for Sutton only change to remove the link for ordering a new bin from each bin and have reworded link in the sidebar https://mysocietysupport.freshdesk.com/a/tickets/3540
- Loading branch information
1 parent
029f38d
commit 63bd03a
Showing
3 changed files
with
75 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
[% PROCESS 'waste/_service_missed.html' %] | ||
|
||
[% IF unit.requests_open.size %] | ||
<span class="waste-service-descriptor"> | ||
A [% unit.service_name FILTER lower %] container request has been made | ||
</span> | ||
[% ELSIF unit.request_allowed %] | ||
[% any_request_allowed = 1 %] | ||
[% ELSIF unit.garden_waste AND NOT waste_features.garden_modify_disabled AND NOT unit.garden_due AND (c.cobrand.moniker == 'kingston' OR unit.garden_container != 28) %] | ||
<form method="post" action="[% c.uri_for_action('waste/garden_modify', [ property.id ]) %]"> | ||
<input type="hidden" name="token" value="[% csrf_token %]"> | ||
<input type="submit" value="Change the number of [% unit.service_name FILTER lower %] containers" class="waste-service-descriptor waste-service-link"> | ||
</form> | ||
[% END %] | ||
|
||
[% IF unit.garden_waste %] | ||
|
||
<dl class="govuk-summary-list"> | ||
<div class="govuk-summary-list__row"> | ||
<dt class="govuk-summary-list__key">Subscription</dt> | ||
<dd class="govuk-summary-list__value"> | ||
[% IF unit.garden_container == 28 %] | ||
£[% tprintf('%.2f', unit.garden_cost) %] per year | ||
[% ELSE %] | ||
£[% tprintf('%.2f', unit.garden_cost) %] per year ([% unit.garden_bins %] [% nget('bin', 'bins', unit.garden_bins) %]) | ||
[% END %] | ||
</dd> | ||
</div> | ||
<div class="govuk-summary-list__row"> | ||
<dt class="govuk-summary-list__key">Renewal</dt> | ||
<dd class="govuk-summary-list__value | ||
[%~ ' renewal-status' IF current_payment_method != 'direct_debit' AND unit.garden_due AND NOT waste_features.garden_renew_disabled ~%] | ||
">[% date.format(unit.end_date _ ' 00:00:00', '%d %B %Y') %] | ||
[%~ ' Cancellation in progress' IF pending_cancellation %] | ||
[%~ ', soon due for renewal.' IF unit.garden_due AND NOT waste_features.garden_renew_disabled ~%] | ||
</dd> | ||
</div> | ||
</dl> | ||
|
||
[% IF ( unit.garden_due && current_payment_method != 'direct_debit' ) %] | ||
[% IF current_payment_method == 'direct_debit' %] | ||
<p>This property may have an existing direct debit subscription which will renew automatically, please check before renewing.</p> | ||
[% END %] | ||
[% IF NOT waste_features.garden_renew_disabled %] | ||
<form method="post" action="[% c.uri_for_action('waste/garden_renew', [ property.id ]) %]"> | ||
<input type="hidden" name="token" value="[% csrf_token %]"> | ||
<input type="submit" value="Renew your [% unit.service_name FILTER lower %] subscription" class="waste-service-descriptor waste-service-link"> | ||
</form> | ||
[% END %] | ||
[% END %] | ||
|
||
[% IF NOT pending_cancellation %] | ||
[% IF NOT unit.garden_due AND NOT waste_features.garden_modify_disabled AND (c.cobrand.moniker == 'kingston' OR unit.garden_container != 28) %] | ||
<form method="post" action="[% c.uri_for_action('waste/garden_modify', [ property.id ]) %]"> | ||
<input type="hidden" name="token" value="[% csrf_token %]"> | ||
[% IF c.cobrand.moniker == 'kingston' AND (slwp_garden_sacks AND unit.garden_container == 28) %] | ||
<input type="submit" value="Order more garden sacks" class="waste-service-descriptor waste-service-link"> | ||
[% ELSE %] | ||
<input type="submit" value="Modify your [% unit.service_name FILTER lower %] subscription" class="waste-service-descriptor waste-service-link"> | ||
[% END %] | ||
</form> | ||
[% END %] | ||
[% IF c.cobrand.call_hook('waste_garden_allow_cancellation') == 'staff' AND is_staff %] | ||
<form method="post" action="[% c.uri_for_action('waste/garden_cancel', [ property.id ]) %]"> | ||
<input type="hidden" name="token" value="[% csrf_token %]"> | ||
<input type="submit" value="Cancel your [% unit.service_name FILTER lower %] subscription" class="waste-service-descriptor waste-service-link"> | ||
</form> | ||
[% END %] | ||
[% END %] | ||
[% END %] |