2023-04-14 18:58:10 +02:00
|
|
|
{{#unless (or from_message_actions_popover only_topic_edit)}}
|
2021-07-18 11:18:03 +02:00
|
|
|
<p>{{#tr}}Move all messages in <strong>{topic_name}</strong>{{/tr}} to:</p>
|
2022-10-03 09:41:13 +02:00
|
|
|
{{/unless}}
|
2021-07-18 11:18:03 +02:00
|
|
|
<form class="new-style" id="move_topic_form">
|
2023-04-14 18:58:10 +02:00
|
|
|
{{#if only_topic_edit }}
|
|
|
|
<p>{{t "Rename topic to:" }}</p>
|
|
|
|
{{else}}
|
2021-07-18 11:18:03 +02:00
|
|
|
<p>{{t "Select a stream below or change topic name." }}</p>
|
2023-04-14 18:58:10 +02:00
|
|
|
{{/if}}
|
2021-07-18 11:18:03 +02:00
|
|
|
<div class="topic_stream_edit_header">
|
2023-04-14 18:58:10 +02:00
|
|
|
{{#unless only_topic_edit}}
|
2021-07-18 11:18:03 +02:00
|
|
|
<div class="stream_header_colorblock"></div>
|
|
|
|
<div class="move-topic-dropdown">
|
|
|
|
{{> settings/dropdown_list_widget
|
|
|
|
widget_name="select_stream"
|
|
|
|
list_placeholder=(t 'Filter streams')}}
|
|
|
|
</div>
|
|
|
|
<i class="fa fa-angle-right" aria-hidden="true"></i>
|
2023-04-14 18:58:10 +02:00
|
|
|
{{/unless}}
|
2023-04-18 17:24:55 +02:00
|
|
|
<input name="new_topic_name" type="text" class="move_messages_edit_topic modal_text_input" autocomplete="off" value="{{topic_name}}" {{#if disable_topic_input}}disabled{{/if}} />
|
|
|
|
<input name="old_topic_name" type="hidden" class="move_messages_edit_topic" value="{{topic_name}}" />
|
2021-07-18 11:18:03 +02:00
|
|
|
<input name="current_stream_id" type="hidden" value="{{current_stream_id}}" />
|
2022-10-03 09:41:13 +02:00
|
|
|
{{#if from_message_actions_popover}}
|
2023-02-16 11:20:07 +01:00
|
|
|
<select class="message_edit_topic_propagate modal_select bootstrap-focus-style">
|
2022-10-03 09:41:13 +02:00
|
|
|
<option value="change_one"> {{t "Move only this message" }}</option>
|
|
|
|
<option selected="selected" value="change_later"> {{t "Move this and all following messages in this topic" }}</option>
|
|
|
|
<option value="change_all"> {{t "Move all messages in this topic" }}</option>
|
|
|
|
</select>
|
|
|
|
{{/if}}
|
2021-07-18 11:18:03 +02:00
|
|
|
<div class="topic_move_breadcrumb_messages">
|
|
|
|
<label class="checkbox">
|
|
|
|
<input class="send_notification_to_new_thread" name="send_notification_to_new_thread" type="checkbox" {{#if notify_new_thread}}checked="checked"{{/if}} />
|
|
|
|
<span></span>
|
2022-07-28 15:38:32 +02:00
|
|
|
{{t "Send automated notice to new topic" }}
|
2021-07-18 11:18:03 +02:00
|
|
|
</label>
|
|
|
|
<label class="checkbox">
|
|
|
|
<input class="send_notification_to_old_thread" name="send_notification_to_old_thread" type="checkbox" {{#if notify_old_thread}}checked="checked"{{/if}} />
|
|
|
|
<span></span>
|
2022-07-28 15:38:32 +02:00
|
|
|
{{t "Send automated notice to old topic" }}
|
2021-07-18 11:18:03 +02:00
|
|
|
</label>
|
|
|
|
</div>
|
2020-02-19 01:38:34 +01:00
|
|
|
</div>
|
2021-07-18 11:18:03 +02:00
|
|
|
</form>
|