templates: Update comments referencing Mustache to Handlebars.

(We switched to Handlebars very early in commit
4793cee888431b41f0aaf5341e2d8c77a155e8b8.)

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-02-09 13:43:25 -08:00 committed by Anders Kaseorg
parent 02a73af386
commit 7eb2cffcb4
8 changed files with 8 additions and 8 deletions

View File

@ -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 template
like `static/templates/message_reactions.hbs`. For simpler things
you can use jQuery DOM building APIs like so:

View File

@ -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">

View File

@ -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>

View File

@ -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>

View File

@ -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}}

View File

@ -1,4 +1,4 @@
{{! Client-side Mustache template for rendering messages.}}
{{! Client-side Handlebars template for rendering messages. }}
{{#each message_groups}}
{{#with this}}

View File

@ -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}}">

View File

@ -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"