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
16 changes: 9 additions & 7 deletions app/templates/events/view.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{{#if (or (eq session.currentRouteName 'events.view.index') (eq session.currentRouteName 'events.view.export'))}}
{{#if (eq model.state 'draft')}}
<div class="ui grid stackable">
<div class="row">
<div class="sixteen wide column">
{{unverified-user-message}}
{{#if unverified-user-message}}
{{#if (or (eq session.currentRouteName 'events.view.index') (eq session.currentRouteName 'events.view.export'))}}
{{#if (eq model.state 'draft')}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the above if merge with this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not understanding, what you are saying?can you please explain?

Make the above if merge with this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge the top if with this if

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

<div class="ui grid stackable">
<div class="row">
<div class="sixteen wide column">
{{unverified-user-message}}
</div>
</div>
</div>
</div>
{{/if}}
{{/if}}
{{/if}}
{{#if (not-includes session.currentRouteName 'events.view.edit')}}
Expand Down