mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
streams: Update modals shown on removing user from private stream.
This commit adds "?" to the heading of modal shown when unsubscribing user from private stream and adds a link to help documentation for archiving streams. This commit also refactors the code such that we can use the same template to show modal when unsubscribing others from private streams.
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
<p>{{message}}</p>
|
||||
{{#unless unsubscribing_other_user}}
|
||||
<p>{{t "Once you leave this stream, you will not be able to rejoin."}}</p>
|
||||
{{/unless}}
|
||||
{{#if display_stream_archive_warning}}
|
||||
<p>{{t "Because you are the only subscriber, this stream will be automatically archived." }}</p>
|
||||
<p>
|
||||
{{#tr}}
|
||||
Because you are the only subscriber, this stream will be automatically <z-link>archived</z-link>.
|
||||
{{#*inline "z-link"}}<a target="_blank" rel="noopener noreferrer" href="/help/archive-a-stream">{{> @partial-block}}</a>{{/inline}}
|
||||
{{/tr}}
|
||||
</p>
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user