-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: call for speaker page messages #5415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: call for speaker page messages #5415
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/6i2x716n7 |
Codecov Report
@@ Coverage Diff @@
## development #5415 +/- ##
===============================================
- Coverage 23.29% 23.23% -0.07%
===============================================
Files 492 493 +1
Lines 5147 5169 +22
Branches 38 38
===============================================
+ Hits 1199 1201 +2
- Misses 3943 3963 +20
Partials 5 5
Continue to review full report at Codecov.
|
@@ -38,7 +38,11 @@ | |||
{{/unless}} | |||
<div class="ui hidden divider"></div> | |||
{{#if this.isNewSession}} | |||
<p>{{t 'No session have been submitted'}}</p> | |||
{{#if this.authManager.currentUser.isVerified}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If user is unverified, and they see the message Login to show your submitted sessions
, it'd be confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if user is verified, they would see No sessions have been submitted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant if user is unverified
Co-authored-by: Areeb Jamal <jamal.areeb@gmail.com>
@maze-runnar Status? |
What's remaining in the PR? |
Ok, it should work like that:
|
@maze-runnar Please fix this soon according to the above message |
@@ -38,14 +38,10 @@ | |||
{{/unless}} | |||
<div class="ui hidden divider"></div> | |||
{{#if this.isNewSession}} | |||
{{#if this.authManager.currentUser.isVerified}} | |||
<p> {{t 'No sessions have been submitted'}} </p> | |||
{{#if this.authManager.currentUser.email}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't just this.authManager.currentUser
work?
@mariobehling Changing |
It is always good to keep the translations up to date, yes. |
I meant is the change required from |
Fixes #5408
Checklist
development
branch.