mirror of https://github.com/zulip/zulip.git
32 lines
1.7 KiB
Handlebars
32 lines
1.7 KiB
Handlebars
|
<div id="move_topic_modal" class="modal modal-bg hide fade new-style" tabindex="-1" role="dialog" aria-labelledby="move_topic_modal_label" aria-hidden="true">
|
||
|
<div class="modal-header">
|
||
|
<button type="button" class="close" data-dismiss="modal" aria-label="{{t 'Close' }}"><span aria-hidden="true">×</span></button>
|
||
|
<h3 id="move_topic_modal_label">{{t "Move a topic to stream" }} </h3>
|
||
|
</div>
|
||
|
<div class="modal-body">
|
||
|
<p>{{#tr this}}Do you want to move all messages in <strong>__topic_name__</strong> to another stream?{{/tr}}</p>
|
||
|
<form id="move_topic_form">
|
||
|
<div id="topic_stream_edit_form_error" class="alert">
|
||
|
<span class="send-status-close">×</span>
|
||
|
<span class="error-msg"></span>
|
||
|
</div>
|
||
|
<select name="select_stream_id" class="inline_select_topic_edit" id="select_stream_id">
|
||
|
<option value="">{{t "Select a stream" }}</option>
|
||
|
{{#each available_streams}}
|
||
|
<option value="{{ this.stream_id }}">#{{this.name}}</option>
|
||
|
{{/each}}
|
||
|
</select>
|
||
|
<input name="new_topic_name" type="text" class="inline_topic_edit" value="{{topic_name}}">
|
||
|
<input name="old_topic_name" type="hidden" class="inline_topic_edit" value="{{topic_name}}">
|
||
|
<input name="current_stream_id" type="hidden" value="{{current_stream_id}}">
|
||
|
</form>
|
||
|
<div class="topic_edit_spinner"></div>
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<button class="button" data-dismiss="modal">{{t "Cancel" }}</button>
|
||
|
<button class="button btn-danger rounded" id="do_move_topic_button">
|
||
|
{{t "Move topic" }}
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|