Files
zulip/web/templates/topic_not_mandatory_placeholder_text.hbs
Prakhar Pratyush 280fd40892 inline_topic_edit: Improve placeholder when topic is not mandatory.
Earlier, we used to show "general chat" as the placeholder.

This commit adds support to show "Enter a topic (skip for general
chat)" as the placeholder when topic is not mandatory in the
inline topic edit input box.

We show "general chat" (as we show in compose topic input box)
when inline topic edit input box is not focused and topic="".

Fixes part of #33846.
2025-03-13 11:30:58 -07:00

5 lines
257 B
Handlebars

{{#tr}}
Enter a topic (skip for <z-empty-string-topic-display-name></z-empty-string-topic-display-name>)
{{#*inline "z-empty-string-topic-display-name"}}<span class="empty-topic-display">{{empty_string_topic_display_name}}</span>{{/inline}}
{{/tr}}