mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Add a warning banner when a user mentions a group (non-silent) where none of the members are subscribed to the current stream. The banner informs the user that the mention won't notify anyone. Fixes #33545.
17 lines
623 B
Handlebars
17 lines
623 B
Handlebars
{{#> compose_banner . }}
|
|
<p class="banner_message">
|
|
{{#tr}}
|
|
None of the members of <z-group-pill></z-group-pill> are subscribed to this channel.
|
|
{{#*inline "z-group-pill"}}
|
|
<span class="display_only_group_pill">
|
|
<a data-user-group-id="{{group_id}}" class="view_user_group_mention" tabindex="0">
|
|
<span class="pill-label">
|
|
<span>{{group_name}}</span>
|
|
</span>
|
|
</a>
|
|
</span>
|
|
{{/inline}}
|
|
{{/tr}}
|
|
</p>
|
|
{{/compose_banner}}
|