Allow silence details to be overwritten via plugin
This commit is contained in:
parent
17213887a1
commit
8bb6856fde
|
@ -0,0 +1,21 @@
|
|||
<div class='reason-controls'>
|
||||
<label>
|
||||
<div class='silence-reason-label'>
|
||||
{{{i18n 'admin.user.silence_reason_label'}}}
|
||||
</div>
|
||||
</label>
|
||||
{{text-field
|
||||
value=reason
|
||||
class="silence-reason"
|
||||
placeholderKey="admin.user.silence_reason_placeholder"}}
|
||||
</div>
|
||||
|
||||
<label>
|
||||
<div class='silence-message-label'>
|
||||
{{i18n "admin.user.silence_message"}}
|
||||
</div>
|
||||
</label>
|
||||
{{textarea
|
||||
value=message
|
||||
class="silence-message"
|
||||
placeholder=(i18n "admin.user.silence_message_placeholder")}}
|
|
@ -11,28 +11,7 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div class='reason-controls'>
|
||||
<label>
|
||||
<div class='silence-reason-label'>
|
||||
{{{i18n 'admin.user.silence_reason_label'}}}
|
||||
</div>
|
||||
</label>
|
||||
{{text-field
|
||||
value=reason
|
||||
class="silence-reason"
|
||||
placeholderKey="admin.user.silence_reason_placeholder"}}
|
||||
</div>
|
||||
|
||||
<label>
|
||||
<div class='silence-message-label'>
|
||||
{{i18n "admin.user.silence_message"}}
|
||||
</div>
|
||||
</label>
|
||||
{{textarea
|
||||
value=message
|
||||
class="silence-message"
|
||||
placeholder=(i18n "admin.user.silence_message_placeholder")}}
|
||||
|
||||
{{silence-details reason=reason message=message tagName=''}}
|
||||
|
||||
{{/conditional-loading-spinner}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue