snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
79
web/templates/stream_settings/selected_stream_title.hbs
Normal file
79
web/templates/stream_settings/selected_stream_title.hbs
Normal file
@@ -0,0 +1,79 @@
|
||||
<div class="selected-stream-title">
|
||||
<a class="tippy-zulip-delayed-tooltip selected-stream" data-tooltip-template-id="view-stream-tooltip-template" data-tippy-placement="top" href="{{preview_url}}">
|
||||
{{> stream_privacy_icon
|
||||
invite_only=sub.invite_only
|
||||
is_web_public=sub.is_web_public
|
||||
is_archived=sub.is_archived }}
|
||||
<span class="stream-name-title">{{sub.name}}</span>
|
||||
</a>
|
||||
<template id="view-stream-tooltip-template">
|
||||
<span class="view-channel-tooltip">
|
||||
<span class="view-channel-text">
|
||||
{{#tr}}
|
||||
View <z-channel-name></z-channel-name>
|
||||
{{#*inline "z-channel-name"}}{{> ../decorated_channel_name inline_with_text=true stream=sub}}{{/inline}}
|
||||
{{/tr}}
|
||||
</span>
|
||||
{{tooltip_hotkey_hints "Shift" "V"}}
|
||||
</span>
|
||||
</template>
|
||||
{{#with sub}}
|
||||
<div class="button-group stream-title-buttons" data-stream-id="{{stream_id}}">
|
||||
<div class="left-end button-group">
|
||||
{{> ../components/icon_button
|
||||
icon="edit"
|
||||
intent="neutral"
|
||||
custom_classes="tippy-zulip-delayed-tooltip"
|
||||
id="channel_title_open_channel_info_modal"
|
||||
data-tippy-content=(t 'Edit channel name and description')
|
||||
hidden=(not can_change_name_description)
|
||||
}}
|
||||
</div>
|
||||
<div class="right-end button-group">
|
||||
<div class="large-window-alert-notification-container">
|
||||
<div class="stream_change_property_info alert-notification"></div>
|
||||
</div>
|
||||
<div class="sub_unsub_button_wrapper inline-block {{#unless should_display_subscription_button }}cannot-subscribe-tooltip{{/unless}}" data-tooltip-template-id="cannot-subscribe-tooltip-template">
|
||||
<template id="cannot-subscribe-tooltip-template">
|
||||
<span>
|
||||
{{#tr}}
|
||||
Cannot subscribe to private channel <z-stream></z-stream>
|
||||
{{#*inline "z-stream"}}{{> ../decorated_channel_name inline_with_text=true stream=../sub}}{{/inline}}
|
||||
{{/tr}}
|
||||
</span>
|
||||
</template>
|
||||
<button class="action-button subscribe-button sub_unsub_button {{#if subscribed}}action-button-subtle-neutral{{else}}action-button-subtle-brand{{/if}} {{#if should_display_subscription_button}}toggle-subscription-tooltip{{/if}} {{#unless subscribed }}unsubscribed{{/unless}}" type="button" name="button" data-tooltip-template-id="toggle-subscription-tooltip-template" {{#unless should_display_subscription_button}}disabled="disabled"{{/unless}}>
|
||||
<span class="action-button-label">
|
||||
{{#if subscribed }}
|
||||
{{t "Unsubscribe" }}
|
||||
{{else}}
|
||||
{{t "Subscribe" }}
|
||||
{{/if}}
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
{{> ../components/action_button
|
||||
icon="eye"
|
||||
variant="subtle"
|
||||
intent="neutral"
|
||||
custom_classes="tippy-zulip-delayed-tooltip"
|
||||
data-tooltip-template-id="view-stream-tooltip-template"
|
||||
id="preview-stream-button"
|
||||
hidden=(not should_display_preview_button)
|
||||
}}
|
||||
{{> ../components/icon_button
|
||||
icon="archive"
|
||||
intent="danger"
|
||||
custom_classes="tippy-zulip-delayed-tooltip deactivate"
|
||||
data-tippy-content=(t 'Archive channel')
|
||||
}}
|
||||
{{> ../components/icon_button
|
||||
icon="unarchive"
|
||||
intent="success"
|
||||
custom_classes="tippy-zulip-delayed-tooltip reactivate"
|
||||
data-tippy-content=(t 'Unarchive channel')
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
{{/with}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user