Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit_form: Remove drafts link.
Aman Agrawal9021444e0c9b
diff --git a/static/js/message_edit.js b/static/js/message_edit.jsindex e7d2a63185e..b5fa6a0ef4a 100644--- a/static/js/message_edit.js+++ b/static/js/message_edit.js@@ -356,6 +356,7 @@ function edit_message(row, raw_content) {notify_new_thread: notify_new_thread_default,notify_old_thread: notify_old_thread_default,giphy_enabled: page_params.giphy_api_key !== "",+ hide_drafts_link: true,}),);diff --git a/static/templates/compose_control_buttons.hbs b/static/templates/compose_control_buttons.hbsindex 44bfe18dc60..66bbdec7a7d 100644--- a/static/templates/compose_control_buttons.hbs+++ b/static/templates/compose_control_buttons.hbs@@ -12,5 +12,7 @@<img class="compose_giphy_logo" tabindex=0 src="/static/images/GIPHY_logo.png" /></a>{{/if}}+{{#unless hide_drafts_link}}<a class="message-control-link drafts-link" href="#drafts" title="{{t 'Drafts' }} (d)">{{t 'Drafts' }}</a>+{{/unless}}<a role="button" class="message-control-link" tabindex=0 data-overlay-trigger="message-formatting">{{t 'Help' }}</a>