mirror of https://github.com/zulip/zulip.git
settings: Extract deactivation-user-modal.handlebars.
This commit is contained in:
parent
a28bb77b51
commit
1c8d17b7c9
|
@ -47,20 +47,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="deactivation_user_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="deactivation_user_modal_label" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3 id="deactivation_user_modal_label">{{t "Deactivate" }} <span class="email"></span></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>{{#tr this}}By deactivating <strong><span class="user_name"></span></strong> <<span class="email"></span>>, they will be logged out immediately.{{/tr}}</p>
|
||||
<p>{{t "Their password will be cleared from our systems, and any bots they maintain will be disabled." }}</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">{{t "Cancel" }}</button>
|
||||
<button class="button btn-danger" id="do_deactivate_user_button">{{t "Deactivate now" }}</button>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "deactivation-user-modal" }}
|
||||
{{ partial "deactivation-stream-modal" }}
|
||||
{{ partial "realm-domains-modal" }}
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<div id="deactivation_user_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="deactivation_user_modal_label" aria-hidden="true">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h3 id="deactivation_user_modal_label">{{t "Deactivate" }} <span class="email"></span></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>{{#tr this}}By deactivating <strong><span class="user_name"></span></strong> <<span class="email"></span>>, they will be logged out immediately.{{/tr}}</p>
|
||||
<p>{{t "Their password will be cleared from our systems, and any bots they maintain will be disabled." }}</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">{{t "Cancel" }}</button>
|
||||
<button class="button btn-danger" id="do_deactivate_user_button">{{t "Deactivate now" }}</button>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue