Files
zulip/static/templates/confirm_unstar_all_messages_in_topic.hbs
Abhijeet Prasad Bodas ded3d94f62 starred messages: Clean up "unstar all in topic" warning.
The dialog now shows `stream > topic` instead of
just the topic.
This creates a new tiny widget for this purpose,
which can be reused in other places too.

The `undefined` case is probably very unlikely, but
if the `stream_id` is bad, after the user confirms,
the request will fail on the backend, which could
confuse the user, since there will be no changes to
the starred messages in view.
So, we don't open the confirmation dialog at all in
such cases.
2021-04-29 16:43:39 -07:00

7 lines
223 B
Handlebars

<p>
{{#tr}}
Are you sure you want to unstar all messages in <stream-topic></stream-topic>? This action cannot be undone.
{{#*inline "stream-topic"}}{{> stream_topic_widget}}{{/inline}}
{{/tr}}
</p>