-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add registration already renewed screen for magic link error (#839)
* Add registration already renewed screen for magic link error From:https://eaflood.atlassian.net/browse/RUBY-1001 This adds an ad-hoc screen when the renewal link is hit after a registration has already been renewed
- Loading branch information
Showing
8 changed files
with
111 additions
and
19 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 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
21 changes: 21 additions & 0 deletions
21
app/views/waste_carriers_engine/renews/already_renewed.html.erb
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,21 @@ | ||
<div class="text"> | ||
<h1 class="heading-large"> | ||
<%= t(".heading") %> | ||
</h1> | ||
|
||
<p> | ||
<%= t(".paragraph1", reg_identifier: @registration.reg_identifier) %> | ||
</p> | ||
|
||
<p> | ||
<%= t(".paragraph2_html", link_to_new_registration: new_start_form_path) %> | ||
</p> | ||
|
||
<p> | ||
<%= t(".paragraph3") %> | ||
</p> | ||
|
||
<p> | ||
<%= t(".paragraph4_html") %> | ||
</p> | ||
</div> |
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,9 @@ | ||
en: | ||
waste_carriers_engine: | ||
renews: | ||
already_renewed: | ||
heading: "That registration has already been renewed" | ||
paragraph1: "Our records show that registration %{reg_identifier} has already been renewed." | ||
paragraph2_html: "If you still need to register as a waste carrier, broker or dealer then <a href=\"%{link_to_new_registration}\">make a new registration.</a>" | ||
paragraph3: "If you want to discuss this registration, contact the Environment Agency. You will need your registration number." | ||
paragraph4_html: "Environment Agency helpline: 03708 506 506 (Monday to Friday, 8am to 6pm) <a href=\"mailto:nccc-carrierbroker@environment-agency.gov.uk\">nccc-carrierbroker@environment-agency.gov.uk</a>" |
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 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