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.9 KB
Raw Blame
<li class="stream-list-item modal-list-item" role="presentation" data-stream-id="{{stream.stream_id}}">
    <div class="modal-channel-list-row hidden-remove-button-row">
        <span class="view-stream-card modal-channel-list-row-content list-row-content" data-stream-id="{{stream.stream_id}}" tabindex="0">
            <span class="stream-privacy-original-color-{{stream.stream_id}} stream-privacy filter-icon" style="color: {{stream.color}}">
                {{> stream_privacy stream }}
            </span>
            <span class="stream-name list-item-name">{{stream.name}}</span>
        </span>
        <div class="remove-button-wrapper">
            {{#if show_unsubscribe_button}}
                {{#if show_private_stream_unsub_tooltip}}
                    {{> components/icon_button  icon="close" custom_classes="hidden-remove-button remove-button tippy-zulip-tooltip" intent="danger" aria-label=(t "Unsubscribe") data-tippy-content=(t "Use channel settings to unsubscribe from private channels.") }}
                {{else if show_last_user_in_private_stream_unsub_tooltip}}
                    {{> components/icon_button  icon="close" custom_classes="hidden-remove-button remove-button tippy-zulip-tooltip" intent="danger" aria-label=(t "Unsubscribe") data-tippy-content=(t "Use channel settings to unsubscribe the last user from a private channel.") }}
                {{else}}
                    {{> components/icon_button  icon="close" custom_classes="hidden-remove-button remove-button tippy-zulip-delayed-tooltip" intent="danger" aria-label=(t "Unsubscribe") data-tippy-content=(t "Unsubscribe") }}
                {{/if}}
            {{/if}}
            {{#if can_manage_folder}}
                {{> components/icon_button  icon="close" custom_classes="hidden-remove-button remove-button tippy-zulip-delayed-tooltip" intent="danger" aria-label=(t "Remove channel") data-tippy-content=(t "Remove channel") }}
            {{/if}}
        </div>
    </div>
</li>