mirror of https://github.com/zulip/zulip.git
message_view_header: Hide subscriber count for spectators.
While we figure out a plan in #19842 to display subscriber count for spectators without doing a heavy query to the database, we hide this section in navbar.
This commit is contained in:
parent
893c9bc896
commit
1484812f4b
|
@ -2,7 +2,7 @@
|
||||||
<a class="stream" href="{{stream_settings_link}}">
|
<a class="stream" href="{{stream_settings_link}}">
|
||||||
{{> navbar_icon_and_title }}
|
{{> navbar_icon_and_title }}
|
||||||
</a>
|
</a>
|
||||||
<a class="sub_count no-style tippy-zulip-tooltip" data-tippy-content="{{sub_count_tooltip_text}}" data-tippy-placement="bottom" href="{{stream_settings_link}}">
|
<a class="sub_count no-style tippy-zulip-tooltip hidden-for-spectators" data-tippy-content="{{sub_count_tooltip_text}}" data-tippy-placement="bottom" href="{{stream_settings_link}}">
|
||||||
<i class="fa fa-user-o"></i>{{formatted_sub_count}}
|
<i class="fa fa-user-o"></i>{{formatted_sub_count}}
|
||||||
</a>
|
</a>
|
||||||
<span class="narrow_description navbar-click-opens-search rendered_markdown">
|
<span class="narrow_description navbar-click-opens-search rendered_markdown">
|
||||||
|
|
Loading…
Reference in New Issue