Browse Source

Change feedback link in the banner (#475)

* change feedback link in the banner

* update the message, extract form link to locales
pull/476/head
kosiakkatrina 3 years ago committed by GitHub
parent
commit
d65cc8825a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/layouts/application.html.erb
  2. 1
      config/locales/en.yml

2
app/views/layouts/application.html.erb

@ -62,7 +62,7 @@
<aside>
<%= govuk_phase_banner(
tag: { text: 'Beta' },
text: "This is a new service – #{govuk_mail_to("submitcoredata@levellingup.gov.uk", "give feedback or report a problem", subject: "Feedback about #{t('service_name')}")}".html_safe
text: "This is a new service – help us improve it by <a class=\"govuk-link\" href=\"#{t('feedback_form')}\" rel=\"noreferrer noopener\" target=\"_blank\">giving us your feedback (opens in a new tab)</a>".html_safe
) %>
<%= content_for(:breadcrumbs) %>
<%= content_for(:before_content) %>

1
config/locales/en.yml

@ -31,6 +31,7 @@
en:
service_name: "Submit social housing lettings and sales data (CORE)"
feedback_form: "https://forms.office.com/Pages/ResponsePage.aspx?id=EGg0v32c3kOociSi7zmVqC4YDsCJ3llAvEZelBFBLUBURFVUTzFDTUJPQlM4M0laTE5DTlNFSjJBQi4u"
organisation:
updated: "Organisation details updated"

Loading…
Cancel
Save