2016-11-16 06:09:55 +08:00
|
|
|
{{#d-modal-body title="admin.user.suspend_modal_title"}}
|
2013-11-01 22:47:03 +08:00
|
|
|
<form>
|
2014-12-09 05:35:49 +08:00
|
|
|
{{i18n 'admin.user.suspend_duration'}}
|
2014-06-10 23:54:38 +08:00
|
|
|
{{text-field value=duration maxlength="5" autofocus="autofocus"}}
|
2014-12-09 05:35:49 +08:00
|
|
|
{{i18n 'admin.user.suspend_duration_units'}}<br/>
|
2013-11-01 22:47:03 +08:00
|
|
|
<br/>
|
2014-12-09 05:35:49 +08:00
|
|
|
{{{i18n 'admin.user.suspend_reason_label'}}}<br/>
|
2013-11-01 22:47:03 +08:00
|
|
|
<br/>
|
2014-06-10 23:54:38 +08:00
|
|
|
{{text-field value=reason class="span8"}}
|
2013-11-01 22:47:03 +08:00
|
|
|
</form>
|
2016-11-16 06:09:55 +08:00
|
|
|
{{/d-modal-body}}
|
|
|
|
|
2013-11-01 22:47:03 +08:00
|
|
|
<div class="modal-footer">
|
2017-07-27 04:33:17 +08:00
|
|
|
<button class='btn btn-danger' {{action "suspend"}} disabled={{submitDisabled}}>{{d-icon "ban"}}{{i18n 'admin.user.suspend'}}</button>
|
2014-12-09 05:35:49 +08:00
|
|
|
<a {{action "closeModal"}}>{{i18n 'cancel'}}</a>
|
2013-11-01 22:47:03 +08:00
|
|
|
</div>
|