From 6b979605a03bed1e9dfc904ad1553bd1a7cb92a6 Mon Sep 17 00:00:00 2001 From: Jano Suchal Date: Sat, 7 Oct 2023 09:20:47 +0200 Subject: [PATCH] Finetune text for notification confirmation, closes #549 (#606) --- app/views/notification_subscriptions/confirm.html.erb | 8 ++++---- spec/features/notification_subscriptions_spec.rb | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/notification_subscriptions/confirm.html.erb b/app/views/notification_subscriptions/confirm.html.erb index 1ac63714..07b69c0d 100644 --- a/app/views/notification_subscriptions/confirm.html.erb +++ b/app/views/notification_subscriptions/confirm.html.erb @@ -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') %> -
+
-

Potvrdenie zasielania notifikácií

-

Úspešne ste si aktivovali tieto notifikácie

+

Aktivovali ste si užitočné notifikácie

+

Odteraz vám budeme zasielať tieto užitočné notifikácie:

<% @subscriptions.each do |subscription| %> diff --git a/spec/features/notification_subscriptions_spec.rb b/spec/features/notification_subscriptions_spec.rb index b1384860..d17e358b 100644 --- a/spec/features/notification_subscriptions_spec.rb +++ b/spec/features/notification_subscriptions_spec.rb @@ -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 @@ -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