Skip to content

Commit a2a935f

Browse files
Merge pull request #122 from companieshouse/feature/satisfy_link
Add "Satisfy" link to all outstanding charges
2 parents fc64201 + 66bccf2 commit a2a935f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

appconfig.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,5 @@ max_memory_usage: <MAX_MEMORY_USAGE>
127127
shared_memory_percentage: <SHARED_MEMORY_PERCENTAGE>
128128

129129
use_fine_grain_scopes_model: <USE_FINE_GRAIN_SCOPES_MODEL>
130+
131+
webfiling_login_url: <WEBFILING_LOGIN_URL>

templates/company/mortgages/view_content.html.tx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
</h2>
2222
% }
2323

24+
% if ($charge.status == 'outstanding' || $charge.status == 'part-satisfied') {
25+
<h2 class="heading-small" align="right">
26+
<a href=<% $c.config.webfiling_login_url %> class="float-right">Satisfy<span class="visually-hidden"> <% if defined $charge.charge_code {$charge.charge_code} else { $charge.classification.description } %></span></a>
27+
</h2>
28+
% }
29+
2430
<div class="grid-row">
2531
% if defined $charge.created_on {
2632
<dl class="column-quarter">

0 commit comments

Comments
 (0)