Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_edit: Toggle checkbox by clicking it's label as well.

aryanshridhar89e60ef938c5
diff --git a/static/templates/message_edit_form.hbs b/static/templates/message_edit_form.hbs
index 3ef5cfe497c..49613aa563a 100644
--- a/static/templates/message_edit_form.hbs
+++ b/static/templates/message_edit_form.hbs
@@ -21,14 +21,14 @@
<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 for="send_notification_to_new_thread">{{t "Send notification to new topic" }}</label>
<div class="break-row"></div> <!-- break -->
<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>
- <label for="send_notification_to_old_thread">{{t "Send notification to old topic" }}</label>
</div>
<select class='message_edit_topic_propagate' style='display:none;'>
<option selected="selected" value="change_later"> {{t "Change later messages to this topic" }}</option>