mirror of https://github.com/zulip/zulip.git
39 lines
2.1 KiB
Handlebars
39 lines
2.1 KiB
Handlebars
{{#unless (or from_message_actions_popover only_topic_edit)}}
|
|
<p>{{#tr}}Move all messages in <strong>{topic_name}</strong>{{/tr}} to:</p>
|
|
{{/unless}}
|
|
<form class="new-style" id="move_topic_form">
|
|
{{#if only_topic_edit }}
|
|
<p>{{t "Rename topic to:" }}</p>
|
|
{{else}}
|
|
<p>{{t "Select a stream below or change topic name." }}</p>
|
|
{{/if}}
|
|
<div class="topic_stream_edit_header">
|
|
{{#unless only_topic_edit}}
|
|
{{> dropdown_widget_with_stream_colorblock widget_name="move_topic_to_stream"}}
|
|
<i class="fa fa-angle-right" aria-hidden="true"></i>
|
|
{{/unless}}
|
|
<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}}" />
|
|
<input name="current_stream_id" type="hidden" value="{{current_stream_id}}" />
|
|
{{#if from_message_actions_popover}}
|
|
<select class="message_edit_topic_propagate modal_select bootstrap-focus-style">
|
|
<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}}
|
|
<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>
|
|
{{t "Send automated notice to new topic" }}
|
|
</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>
|
|
{{t "Send automated notice to old topic" }}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</form>
|