Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions app/templates/components/public/call-for-speakers.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Copy link
Member

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?

<p>{{t 'You have not submitted any sessions.'}}</p>
{{else}}
{{#if this.authManager.currentUser.email}}
<p>{{t 'Verify your account to submit proposal'}}</p>
{{else}}
<p>{{t 'Login to view your submitted sessions'}}</p>
{{/if}}
<p>{{t 'You need to login to submit and view sessions.'}}</p>
{{/if}}
{{/if}}
{{#if this.data.speakersCall.isOpen}}
Expand Down