File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
app/templates/components/forms/wizard Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 104
104
{{ t ' Forward' }}
105
105
<i class =" right chevron icon" ></i >
106
106
</button >
107
- <button class =" blue ui three field right labeled icon button {{ if isLoading ' disabled' }} " type =" button" {{ action ' saveDraft' }} >
108
- {{ t ' Save draft' }}
109
- <i class =" save icon" ></i >
110
- </button >
107
+ {{ #if (not-eq data.event.state ' published' )}}
108
+ <button class =" blue ui three field right labeled icon button {{ if isLoading ' disabled' }} " type =" button" {{ action ' saveDraft' }} >
109
+ {{ t ' Save draft' }}
110
+ <i class =" save icon" ></i >
111
+ </button >
112
+ {{ /if }}
111
113
{{ #if data.event.locationName }}
112
114
<button class =" green ui three field right labeled icon button {{ if isLoading ' disabled' }} " type =" button" {{ action ' publish' }} >
113
115
{{ t ' Publish' }}
Original file line number Diff line number Diff line change 320
320
{{ t ' Previous' }}
321
321
<i class =" left chevron icon" ></i >
322
322
</button >
323
- {{ #if (eq data.event.state ' unpublished ' )}}
323
+ {{ #if (not- eq data.event.state ' published ' )}}
324
324
<button class =" blue ui three field right labeled icon button {{ if isLoading ' disabled' }} " type =" button" {{ action ' saveDraft' }} >
325
325
{{ t ' Save draft' }}
326
326
<i class =" save icon" ></i >
Original file line number Diff line number Diff line change 81
81
{{ t ' Forward' }}
82
82
<i class =" right chevron icon" ></i >
83
83
</button >
84
- {{ #if (eq data.event.state ' unpublished ' )}}
84
+ {{ #if (not- eq data.event.state ' published ' )}}
85
85
<button class =" blue ui three field right labeled icon button {{ if isLoading ' disabled' }} " type =" button" {{ action ' saveDraft' }} >
86
86
{{ t ' Save draft' }}
87
87
<i class =" save icon" ></i >
You can’t perform that action at this time.
0 commit comments