Skip to content

Commit

Permalink
Finetune text for notification confirmation, closes #549
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuchal committed Oct 7, 2023
1 parent 07339a9 commit 76d6d02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/views/notification_subscriptions/confirm.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<%= content_for :title, build_page_title('Potvrdenie zasielania notifikácii') %>
<%= content_for :title, build_page_title('Aktivovali ste si užitočné notifikácie') %>

<div class="govuk-grid-row">
<div class="govuk-grid-row govuk-!-padding-top-6">
<div class="govuk-grid-column-two-thirds">
<h2 class="govuk-heading-xl">Potvrdenie zasielania notifikácií</h2>
<p class="govuk-heading-l">Úspešne ste si aktivovali tieto notifikácie</p>
<h2 class="govuk-heading-xl">Aktivovali ste si užitočné notifikácie</h2>
<p class="govuk-body-lead">Odteraz vám budeme zasielať tieto užitočné notifikácie:</p>
<div class="govuk-form-group">
<div class="govuk-checkboxes">
<% @subscriptions.each do |subscription| %>
Expand Down
4 changes: 2 additions & 2 deletions spec/features/notification_subscriptions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

visit link_in_last_email

expect(page).to have_content('Úspešne ste si aktivovali tieto notifikácie')
expect(page).to have_content('Aktivovali ste si užitočné notifikácie')
expect(page).to have_content('Chcem dostávať upozornenia k voľbám')
end

Expand Down Expand Up @@ -67,7 +67,7 @@

visit link_in_last_email

expect(page).to have_content('Úspešne ste si aktivovali tieto notifikácie')
expect(page).to have_content('Aktivovali ste si užitočné notifikácie')
end

scenario 'As a logged user I want to subscribe to blank journey notification' do
Expand Down

0 comments on commit 76d6d02

Please sign in to comment.