2023-04-14 18:58:10 +02:00
{{ # unless ( or from_message_actions_popover only_topic_edit ) }}
2024-06-21 17:21:09 +02:00
<p class="white-space-preserve-wrap"> {{ # tr }} Move all messages in <strong> { topic_name}</strong> {{ / tr }} to:</p>
2022-10-03 09:41:13 +02:00
{{ / unless }}
2024-09-11 21:24:49 +02:00
<form id="move_topic_form">
2023-04-14 18:58:10 +02:00
{{ # if only_topic_edit }}
<p> {{ t "Rename topic to:" }} </p>
2024-05-11 11:44:12 +02:00
{{ else if from_message_actions_popover }}
<p> {{ t "Move messages to:" }} </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 }}
2024-02-04 18:55:46 +01:00
{{ > dropdown_widget_wrapper widget_name = "move_topic_to_stream" }}
2021-07-18 11:18:03 +02:00
<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 }} />
2024-09-03 21:56:52 +02:00
<input name="old_topic_name" type="hidden" 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">
2023-10-22 23:36:26 +02:00
<option value="change_one" {{ # if ( eq message_placement "last" ) }} selected {{ / if }} > {{ t "Move only this message" }} </option>
<option value="change_later" {{ # if ( eq message_placement "intermediate" ) }} selected {{ / if }} > {{ t "Move this and all following messages in this topic" }} </option>
<option value="change_all" {{ # if ( eq message_placement "first" ) }} selected {{ / if }} > {{ t "Move all messages in this topic" }} </option>
2022-10-03 09:41:13 +02:00
</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 }} />
2024-09-04 17:32:16 +02:00
<span class="rendered-checkbox"></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 }} />
2024-09-04 17:32:16 +02:00
<span class="rendered-checkbox"></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>