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:
Aman Agrawal 2021-11-03 13:01:58 +00:00 committed by Tim Abbott
parent 893c9bc896
commit 1484812f4b
1 changed files with 1 additions and 1 deletions

View File

@ -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">