37 lines
1.0 KiB
Handlebars
37 lines
1.0 KiB
Handlebars
<form>
|
|
<div class="control-group">
|
|
{{combo-box content=timerTypes value=selection width="50%"}}
|
|
</div>
|
|
|
|
<div>
|
|
{{#if showTimeOnly}}
|
|
{{future-date-input
|
|
input=topicTimer.updateTime
|
|
statusType=selection
|
|
includeWeekend=true
|
|
basedOnLastPost=false}}
|
|
{{else if publishToCategory}}
|
|
<div class="control-group">
|
|
<label>{{i18n 'topic.topic_status_update.publish_to'}}</label>
|
|
{{category-select-box
|
|
value=topicTimer.category_id
|
|
excludeCategoryId=excludeCategoryId}}
|
|
</div>
|
|
|
|
{{future-date-input
|
|
input=topicTimer.updateTime
|
|
statusType=selection
|
|
includeWeekend=true
|
|
categoryId=topicTimer.category_id
|
|
basedOnLastPost=false}}
|
|
{{else if autoClose}}
|
|
{{future-date-input
|
|
input=topicTimer.updateTime
|
|
statusType=selection
|
|
includeWeekend=true
|
|
basedOnLastPost=topicTimer.based_on_last_post
|
|
lastPostedAt=model.last_posted_at}}
|
|
{{/if}}
|
|
</div>
|
|
</form>
|