mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
move_topic_modal: Show realm_empty_topic_display_name for topic="".
This commit adds support to display `realm_empty_topic_display_name` value in the 'move topic modal' heading for topics having the actual value of empty string. Also, in the new_topic_name input box we show a placeholder of `realm_empty_topic_display_name` value when the actual topic value is empty string.
This commit is contained in:
committed by
Tim Abbott
parent
6a44364a69
commit
083861fed9
@@ -1,7 +1,7 @@
|
||||
<span class="stream-or-topic-reference">
|
||||
{{~#if stream~}}
|
||||
{{> inline_decorated_stream_name stream=stream show_colored_icon=show_colored_icon}}
|
||||
{{#if topic_name~}} > {{/if}}
|
||||
{{#if topic_display_name~}} > {{/if}}
|
||||
{{~/if~}}
|
||||
{{~ topic_name ~}}
|
||||
<span {{#if is_empty_string_topic}}class="empty-topic-display"{{/if}}>{{~ topic_display_name ~}}</span>
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user