Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! [Kingston] New wording on container reque…
Browse files Browse the repository at this point in the history
…st emails; link to status page for request
  • Loading branch information
MorayMySoc committed May 7, 2024
1 parent be22e85 commit a05637b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 0 additions & 3 deletions templates/email/default/alert-update.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
<th style="[% td_style %][% primary_column_style %]" id="primary_column">
[% start_padded_box | safe %]
<h1 style="[% h1_style %]">New updates on <a href="[% problem_url %]">[% title %]</a></h1>
[% IF cobrand.moniker == 'kingston' AND report.category == 'Request new container' %]
<a style="[% button_style %]" href="[% cobrand.feature('waste_features').track_request_url %]?client_ref=RBK-[% report.id %]">Track your request</a>
[% END %]
[%~ INCLUDE '_email_comment_list.html' %]
[% TRY %][% INCLUDE '_alert_update_after_updates.html' %][% CATCH file %][% END %]
[% IF unsubscribe_url %]
Expand Down
4 changes: 0 additions & 4 deletions templates/email/default/alert-update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ Subject: New [% site_name %] updates on report: '[% report.title %]'
You asked us to send you an email every time an update was made to the
[% site_name %] report: [% report.title %].

[% IF cobrand.moniker == 'kingston' AND report.category == 'Request new container' %]
Track your request - [% cobrand.feature('waste_features').track_request_url %]?client_ref=RBK-[% report.id %]
[% END %]

The following updates have been left on this report:

[% INCLUDE '_email_comment_list.txt' %]
Expand Down
3 changes: 3 additions & 0 deletions templates/email/kingston/alert-update.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<th style="[% td_style %][% primary_column_style %]" id="primary_column">
[% start_padded_box | safe %]
<h1 style="[% h1_style %]">New updates</h1>
[% IF report.category == 'Request new container' %]
<a style="[% button_style %]" href="[% cobrand.feature('waste_features').track_request_url %]?client_ref=RBK-[% report.id %]">Track your request</a>
[% END %]
[%~ INCLUDE '_email_comment_list.html' %]
[% TRY %][% INCLUDE '_alert_update_after_updates.html' %][% CATCH file %][% END %]
[% IF unsubscribe_url %]
Expand Down
4 changes: 4 additions & 0 deletions templates/email/kingston/alert-update.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ Subject: Update on report, reference RBK-[% report.id %]

The following updates have been left on this report:

[% IF report.category == 'Request new container' %]
Track your request - [% cobrand.feature('waste_features').track_request_url %]?client_ref=RBK-[% report.id %]
[% END %]

[% INCLUDE '_email_comment_list.txt' %]

[% state_message %]
Expand Down

0 comments on commit a05637b

Please sign in to comment.