Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-24 02:10:29 +01:00
30 Zeilen
679 B
Handlebars
30 Zeilen
679 B
Handlebars
|
{{#unless this.timeFirst}}
|
||
|
{{custom-wizard-date-input
|
||
|
date=this.date
|
||
|
relativeDate=this.relativeDate
|
||
|
onChange=(action "onChangeDate")
|
||
|
tabindex=this.dateTabindex
|
||
|
}}
|
||
|
{{/unless}}
|
||
|
|
||
|
{{#if this.showTime}}
|
||
|
{{custom-wizard-time-input
|
||
|
date=this.date
|
||
|
relativeDate=this.relativeDate
|
||
|
onChange=(action "onChangeTime")
|
||
|
tabindex=this.timeTabindex
|
||
|
}}
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if this.timeFirst}}
|
||
|
{{custom-wizard-date-input
|
||
|
date=this.date
|
||
|
relativeDate=this.relativeDate
|
||
|
onChange=(action "onChangeDate")
|
||
|
tabindex=this.dateTabindex
|
||
|
}}
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if this.clearable}}
|
||
|
{{d-button class="clear-date-time" icon="times" action=(action "onClear")}}
|
||
|
{{/if}}
|