Skip to content
Merged
Changes from 2 commits
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
3 changes: 1 addition & 2 deletions app/templates/events/view.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{#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.

Revert this

Copy link
Contributor Author

@maze-runnar maze-runnar Nov 25, 2019

Choose a reason for hiding this comment

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

Revert this

I don't get it . please explain a bit.

Copy link
Member

Choose a reason for hiding this comment

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

{{#if (eq model.state 'draft')}}
Let it be on next line only

{{#if (and (or (eq session.currentRouteName 'events.view.index') (eq session.currentRouteName 'events.view.export')) (gt unverified-user-message.length 0))}} {{#if (eq model.state 'draft')}}
<div class="ui grid stackable">
<div class="row">
<div class="sixteen wide column">
Expand Down