mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
stream-settings: Replace "Not subscribed" tab with "Available".
This commit replaces "Not subscribed" tab in stream settings with "Available" tab where only streams which the user can subscribe to are shown. Fixes #35919.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="popover-menu" data-simplebar data-simplebar-tab-index="-1">
|
||||
<ul role="menu" class="popover-menu-list">
|
||||
<li role="none" class="link-item popover-menu-list-item">
|
||||
<a href="#channels/notsubscribed" role="menuitem" class="popover-menu-link navigate_and_close_popover" tabindex="0">
|
||||
<a href="#channels/available" role="menuitem" class="popover-menu-link navigate_and_close_popover" tabindex="0">
|
||||
<i class="popover-menu-icon zulip-icon zulip-icon-browse-channels" aria-hidden="true"></i>
|
||||
<span class="popover-menu-label">{{t "Browse channels" }}</span>
|
||||
</a>
|
||||
|
@@ -48,7 +48,7 @@
|
||||
{{/if}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="not_subscribed_streams_tab_empty_text">
|
||||
<div class="available_streams_tab_empty_text">
|
||||
<span class="settings-empty-option-text">
|
||||
{{t 'No channels to show.'}}
|
||||
<a href="#channels/all">{{t 'View all channels'}}</a>
|
||||
|
@@ -1,10 +1,10 @@
|
||||
{{#if exactly_one_unsubscribed_stream}}
|
||||
<a class="subscribe-more-link" href="#channels/notsubscribed">
|
||||
<a class="subscribe-more-link" href="#channels/available">
|
||||
<i class="subscribe-more-icon zulip-icon zulip-icon-browse-channels" aria-hidden="true" ></i>
|
||||
<span class="subscribe-more-label">{{~t "BROWSE 1 MORE CHANNEL" ~}}</span>
|
||||
</a>
|
||||
{{else if can_subscribe_stream_count}}
|
||||
<a class="subscribe-more-link" href="#channels/notsubscribed">
|
||||
<a class="subscribe-more-link" href="#channels/available">
|
||||
<i class="subscribe-more-icon zulip-icon zulip-icon-browse-channels" aria-hidden="true" ></i>
|
||||
<span class="subscribe-more-label">{{~t "BROWSE {can_subscribe_stream_count} MORE CHANNELS" ~}}</span>
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user