Skip to content

Commit

Permalink
EPBR-7650: Update the more ways to save link on the print view
Browse files Browse the repository at this point in the history
Also remove unused text
  • Loading branch information
al01010 committed Dec 11, 2024
1 parent 6cdf582 commit 321a18a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

<h3 class="govuk-heading-m"><%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.heading') %></h3>
<% if print_view %>
<p class="govuk-body"><%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.cta_print') %> <a class="govuk-link" href=" <%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.url') %>"><%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.url_print') %></a></p>
<p class="govuk-body">
<a class="govuk-link" href=" <%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.url') %>"><%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.cta') %><%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.url_print') %></a>
</p>
<% else %>
<p class="govuk-body"><a class="govuk-link" href=" <%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.url') %>"><%= t('domestic_epc.sections.effect_on_bills.more_ways_to_save.cta') %></a></p>
<% end %>
Expand Down
3 changes: 1 addition & 2 deletions locales/cy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1015,9 +1015,8 @@ cy:
more_ways_to_save:
heading: "Cyngor ar wneud gwelliannau arbed ynni"
cta: "Argymhellion manwl ac amcangyfrifon o’r costau"
cta_print: "Argymhellion manwl ac amcangyfrifon o’r costau: "
url: "https://www.gov.uk/improve-energy-efficiency"
url_print: "www.gov.uk/improve-energy-efficiency"
url_print: " (www.gov.uk/improve-energy-efficiency)"
environmental_impact:
title: "Effaith ar yr amgylchedd"
eir_rating: "Cyfraddiad effaith amgylcheddol yr eiddo hwn yw %{current_environmental_impact_rating}. Mae gan yr eiddo y potensial i fod yn %{potential_environmental_impact_rating}."
Expand Down
3 changes: 1 addition & 2 deletions locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1016,9 +1016,8 @@ en:
more_ways_to_save:
heading: "Advice on making energy saving improvements"
cta: "Get detailed recommendations and cost estimates"
cta_print: "Get detailed recommendations and cost estimates: "
url: "https://www.gov.uk/improve-energy-efficiency"
url_print: "www.gov.uk/improve-energy-efficiency"
url_print: " (www.gov.uk/improve-energy-efficiency)"
environmental_impact:
title: "Impact on the environment"
eir_rating: "This property’s environmental impact rating is %{current_environmental_impact_rating}. It has the potential to be %{potential_environmental_impact_rating}."
Expand Down

0 comments on commit 321a18a

Please sign in to comment.