Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit: Swap propagate_mode with checkboxes in message edit form.
anurastogiji1921dce7c784
diff --git a/static/styles/zulip.css b/static/styles/zulip.cssindex 73a66888f98..658b5e22ed5 100644--- a/static/styles/zulip.css+++ b/static/styles/zulip.css@@ -1517,7 +1517,6 @@ div.focused_table {#message_edit_topic {margin: 0 5px 5px 0;- width: auto;}.message_edit_header {@@ -1540,7 +1539,7 @@ div.focused_table {.topic_move_breadcrumb_messages,.message_edit_breadcrumb_messages {- margin: 0 5px 5px 0 !important;+ margin: 0 5px 5px 0;align-self: center;width: 100%;white-space: nowrap;@@ -1565,6 +1564,10 @@ div.focused_table {}}+.message_edit_breadcrumb_messages {+ margin-bottom: 15px;+}+.message_length_controller {display: none;text-align: center;diff --git a/static/templates/message_edit_form.hbs b/static/templates/message_edit_form.hbsindex 9f2ed95e4ce..55ed2d926d3 100644--- a/static/templates/message_edit_form.hbs+++ b/static/templates/message_edit_form.hbs@@ -17,24 +17,24 @@</div><i class="fa fa-angle-right" aria-hidden="true" {{#unless is_stream_editable}}style="display:none"{{/unless}}></i><input type="text" placeholder="{{topic}}" value="{{topic}}" class="message_edit_topic" id="message_edit_topic" autocomplete="off" />- <div class="message_edit_breadcrumb_messages" style='display:none;'>- <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 notification 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 notification to old topic" }}- </label>- </div></div><select class='message_edit_topic_propagate' style='display:none;'><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>+ <div class="message_edit_breadcrumb_messages" style='display:none;'>+ <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 notification 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 notification to old topic" }}+ </label>+ </div></div></div>{{/if}}