Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
templates: Update comments referencing Mustache to Handlebars.
Anders Kaseorg7eb2cffcb4ec
diff --git a/docs/contributing/code-style.md b/docs/contributing/code-style.mdindex 50d46dda94d..fcb4d36060f 100644--- a/docs/contributing/code-style.md+++ b/docs/contributing/code-style.md@@ -273,7 +273,7 @@ editor](https://prettier.io/docs/en/editors.html).Combine adjacent on-ready functions, if they are logically related.-The best way to build complicated DOM elements is a Mustache template+The best way to build complicated DOM elements is a Handlebars templatelike `static/templates/message_reactions.hbs`. For simpler thingsyou can use jQuery DOM building APIs like so:diff --git a/static/templates/bookend.hbs b/static/templates/bookend.hbsindex dfbbd98a7b3..b156609c453 100644--- a/static/templates/bookend.hbs+++ b/static/templates/bookend.hbs@@ -1,4 +1,4 @@-{{! Client-side Mustache template for rendering the trailing bookend.}}+{{! Client-side Handlebars template for rendering the trailing bookend. }}<div class="{{#if is_trailing_bookend}}trailing_bookend {{/if}}bookend sub-unsub-message">{{#if is_spectator}}<span class="recent-topics-link">diff --git a/static/templates/invite_subscription.hbs b/static/templates/invite_subscription.hbsindex f80d89f6e6d..b028f29e1be 100644--- a/static/templates/invite_subscription.hbs+++ b/static/templates/invite_subscription.hbs@@ -1,4 +1,4 @@-{{! Client-side Mustache template for rendering subscriptions in the "invite user" form.}}+{{! Client-side Handlebars template for rendering subscriptions in the "invite user" form. }}<div class="invite-stream-controls"><button class="btn btn-link" type="button" id="invite_check_all_button">{{t "Check all" }}</button> |<button class="btn btn-link" type="button" id="invite_uncheck_all_button">{{t "Uncheck all" }}</button>diff --git a/static/templates/message_edit_form.hbs b/static/templates/message_edit_form.hbsindex 960a39a0b33..b5cbfc0c7a7 100644--- a/static/templates/message_edit_form.hbs+++ b/static/templates/message_edit_form.hbs@@ -1,4 +1,4 @@-{{! Client-side Mustache template for rendering the message edit form. }}+{{! Client-side Handlebars template for rendering the message edit form. }}<form id="edit_form_{{message_id}}" class="new-style"><div class="banners"></div>diff --git a/static/templates/message_edit_history.hbs b/static/templates/message_edit_history.hbsindex eeb49a4674a..c95c1d107fe 100644--- a/static/templates/message_edit_history.hbs+++ b/static/templates/message_edit_history.hbs@@ -1,4 +1,4 @@-{{! Client-side Mustache template for viewing message edit history.}}+{{! Client-side Handlebars template for viewing message edit history. }}{{#each edited_messages}}{{#if show_date_row}}diff --git a/static/templates/message_group.hbs b/static/templates/message_group.hbsindex f5a52d2a098..749bd19ca4b 100644--- a/static/templates/message_group.hbs+++ b/static/templates/message_group.hbs@@ -1,4 +1,4 @@-{{! Client-side Mustache template for rendering messages.}}+{{! Client-side Handlebars template for rendering messages. }}{{#each message_groups}}{{#with this}}diff --git a/static/templates/stream_settings/browse_streams_list_item.hbs b/static/templates/stream_settings/browse_streams_list_item.hbsindex b100b2b66bc..f879dfaedf9 100644--- a/static/templates/stream_settings/browse_streams_list_item.hbs+++ b/static/templates/stream_settings/browse_streams_list_item.hbs@@ -1,4 +1,4 @@-{{! Client-side Mustache template for rendering subscriptions.}}+{{! Client-side Handlebars template for rendering subscriptions. }}{{#with this}}<div class="stream-row" data-stream-id="{{stream_id}}" data-stream-name="{{name}}">diff --git a/static/templates/topic_edit_form.hbs b/static/templates/topic_edit_form.hbsindex 174f9409d4a..9b2e38a916c 100644--- a/static/templates/topic_edit_form.hbs+++ b/static/templates/topic_edit_form.hbs@@ -1,4 +1,4 @@-{{! Client-side Mustache template for rendering the topic edit form. }}+{{! Client-side Handlebars template for rendering the topic edit form. }}<form id="topic_edit_form"><input type="text" value="" class="inline_topic_edit header-v" id="inline_topic_edit"