From e4f04654892cdd8f252d72136bbdc9212922ed22 Mon Sep 17 00:00:00 2001 From: Sachin Chauhan Date: Sat, 7 Nov 2020 12:47:19 +0530 Subject: [PATCH 1/2] update-messages message-at-front-page Revert "message-at-front-page" This reverts commit 456fffe93a4847d8f81d9b35b2b115751c42f84b. messages-update --- app/components/unverified-user-message.hbs | 2 +- app/templates/verify.hbs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/unverified-user-message.hbs b/app/components/unverified-user-message.hbs index 4215fc82302..475e1987371 100644 --- a/app/components/unverified-user-message.hbs +++ b/app/components/unverified-user-message.hbs @@ -13,7 +13,7 @@ {{#if (eq this.session.currentRouteName 'events.view.index')}} {{t 'To make your event live, please verify your account by clicking on the confirmation link that has been emailed to you.'}} {{else}} - {{t 'Your account is unverified.'}} {{@extraMessage}} {{t 'Please verify by clicking on the confirmation link that has been emailed to you.'}} + {{t 'Your account functionality is limited.'}} {{@extraMessage}} {{t 'To get full access to all features you need to verify your email by clicking on the confirmation link that has been emailed to you.'}} {{/if}}

{{t 'Did not get the email?'}} {{t 'Please click here to resend the confirmation mail.'}}

diff --git a/app/templates/verify.hbs b/app/templates/verify.hbs index ed5151198ab..287893015da 100644 --- a/app/templates/verify.hbs +++ b/app/templates/verify.hbs @@ -1,9 +1,9 @@ {{#if this.success}}
-

Your email has been verified successfully!{{#if (not this.session.isAuthenticated)}} Please login to continue. {{/if}}

+

Thank you, your email has been verified successfully! You now have full access to all features.{{#if (not this.session.isAuthenticated)}} Please login to continue. {{/if}}

{{else}}

Error: {{this.error}}

-{{/if}} \ No newline at end of file +{{/if}} From 7fe95275f094884f103a4e34d9a28ca200cdd1d3 Mon Sep 17 00:00:00 2001 From: Sachin Chauhan Date: Tue, 10 Nov 2020 15:07:18 +0530 Subject: [PATCH 2/2] update-test --- tests/integration/components/unverified-user-message-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/components/unverified-user-message-test.js b/tests/integration/components/unverified-user-message-test.js index 5fe5ee47ac7..7d7caa98c86 100644 --- a/tests/integration/components/unverified-user-message-test.js +++ b/tests/integration/components/unverified-user-message-test.js @@ -40,6 +40,6 @@ module('Integration | Component | unverified user message', function(hooks) { }); this.set('isMailSent', false); await render(hbs`{{unverified-user-message session=session authManager=authManager isMailSent=isMailSent}}`); - assert.dom(this.element).includesText('Your account is unverified. Please verify by clicking on the confirmation link that has been emailed to you.'); + assert.dom(this.element).includesText('Your account functionality is limited. To get full access to all features you need to verify your email by clicking on the confirmation link that has been emailed to you.'); }); });