Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
scheduled_message: Extract common elements into a separate file.
Aman Agrawal06cbe955834b
diff --git a/web/templates/scheduled_message.hbs b/web/templates/scheduled_message.hbsindex b1ecbc99e4b..8cb1b6acde6 100644--- a/web/templates/scheduled_message.hbs+++ b/web/templates/scheduled_message.hbs@@ -17,7 +17,7 @@</div></span><span class="recipient_bar_controls"></span>- <div class="recipient_row_date">{{ formatted_send_at_time }}</div>+ {{> scheduled_message_stream_pm_common}}</div></div>{{else}}@@ -27,7 +27,7 @@<span class="private_message_header_icon"><i class="zulip-icon zulip-icon-user"></i></span><span class="private_message_header_name">{{t "You and {recipients}" }}</span></div>- <div class="recipient_row_date">{{ formatted_send_at_time }}</div>+ {{> scheduled_message_stream_pm_common}}</div></div>{{/if}}diff --git a/web/templates/scheduled_message_stream_pm_common.hbs b/web/templates/scheduled_message_stream_pm_common.hbsnew file mode 100644index 00000000000..0eb840887cc--- /dev/null+++ b/web/templates/scheduled_message_stream_pm_common.hbs@@ -0,0 +1 @@+<div class="recipient_row_date">{{ formatted_send_at_time }}</div>