Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.7 KB
Raw Blame
{{#> modal_banner . }}
    <p class="banner_message">
        {{#if (eq selected_propagate_mode "change_one")}}
            {{#tr}}
                Message sender <z-user-names></z-user-names> is not subscribed to <z-stream></z-stream>.
                {{#*inline "z-user-names" ~}}
                    (
                    {{~#list_each unsubscribed_participant_names as |name| ~}}
                    <b class="highlighted-element">{{name}}</b>
                    {{~/list_each ~}}
                    )
                {{~/inline}}
                {{#*inline "z-stream"}}<strong class="highlighted-element">{{> ../decorated_channel_name inline_with_text=true stream=stream}}</strong>{{/inline}}
            {{/tr}}

        {{else if few_unsubscribed_participants}}
            {{#tr}}
                Some topic participants <z-user-names></z-user-names> are not subscribed to <z-stream></z-stream>.
                {{#*inline "z-user-names" ~}}
                    (
                    {{~#list_each unsubscribed_participant_names as |name| ~}}
                    <b class="highlighted-element">{{name}}</b>
                    {{~/list_each ~}}
                    )
                {{~/inline}}
                {{#*inline "z-stream"}}<strong class="highlighted-element">{{> ../decorated_channel_name inline_with_text=true stream=stream}}</strong>{{/inline}}
            {{/tr}}

        {{else}}
            {{#tr}}
                {unsubscribed_participants_count} topic participants are not subscribed to <z-stream></z-stream>.
                {{#*inline "z-stream"}}<strong class="highlighted-element">{{> ../decorated_channel_name inline_with_text=true stream=stream}}</strong>{{/inline}}
            {{/tr}}
        {{/if}}
    </p>

{{/modal_banner}}