2020-02-19 01:38:34 +01:00
|
|
|
<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>
|
2020-06-10 21:11:54 +02:00
|
|
|
<h3 id="move_topic_modal_label">{{t "Move topic" }} </h3>
|
2020-02-19 01:38:34 +01:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2021-04-14 03:04:02 +02:00
|
|
|
<p>{{#tr}}Move all messages in <strong>{topic_name}</strong>{{/tr}} to:</p>
|
2020-02-19 01:38:34 +01:00
|
|
|
<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>
|
2020-08-26 17:02:36 +02:00
|
|
|
<p>{{t "Select a stream below or change topic name." }}</p>
|
2020-05-12 13:41:45 +02:00
|
|
|
<div class="topic_stream_edit_header">
|
|
|
|
<div class="stream_header_colorblock"></div>
|
|
|
|
<select name="select_stream_id" class="inline_select_topic_edit" id="select_stream_id">
|
2020-05-16 10:09:13 +02:00
|
|
|
<option value="{{ current_stream_id }}">#{{ current_stream_name }}</option>
|
2020-05-12 13:41:45 +02:00
|
|
|
{{#each available_streams}}
|
|
|
|
<option value="{{ this.stream_id }}">#{{this.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
</select>
|
2020-05-12 14:42:41 +02:00
|
|
|
<i class="fa fa-angle-right" aria-hidden="true"></i>
|
2021-04-21 00:46:14 +02:00
|
|
|
<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}}" />
|
2020-06-03 16:44:57 +02:00
|
|
|
<div class="topic_move_breadcrumb_messages new-style">
|
|
|
|
<label class="checkbox">
|
2021-04-21 00:46:14 +02:00
|
|
|
<input class="send_notification_to_new_thread" name="send_notification_to_new_thread" type="checkbox" {{#if notify_new_thread}}checked="checked"{{/if}} />
|
2020-06-03 16:44:57 +02:00
|
|
|
<span></span>
|
|
|
|
</label>
|
|
|
|
<label for="send_notification_to_new_thread">{{t "Send notification to new topic" }}</label>
|
|
|
|
<label class="checkbox">
|
2021-04-21 00:46:14 +02:00
|
|
|
<input class="send_notification_to_old_thread" name="send_notification_to_old_thread" type="checkbox" {{#if notify_old_thread}}checked="checked"{{/if}} />
|
2020-06-03 16:44:57 +02:00
|
|
|
<span></span>
|
|
|
|
</label>
|
|
|
|
<label for="send_notification_to_old_thread">{{t "Send notification to old topic" }}</label>
|
|
|
|
</div>
|
2020-05-12 13:41:45 +02:00
|
|
|
</div>
|
2020-02-19 01:38:34 +01:00
|
|
|
</form>
|
2020-08-25 17:52:39 +02:00
|
|
|
<div class="topic_move_spinner"></div>
|
2020-02-19 01:38:34 +01:00
|
|
|
</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>
|