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.

message_view_header: Hide subscriber count for spectators.

Aman Agrawal1484812f4b46
diff --git a/static/templates/message_view_header.hbs b/static/templates/message_view_header.hbs
index 096ab4b219c..f5b5681dc2b 100644
--- a/static/templates/message_view_header.hbs
+++ b/static/templates/message_view_header.hbs
@@ -2,7 +2,7 @@
<a class="stream" href="{{stream_settings_link}}">
{{> navbar_icon_and_title }}
</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}}
</a>
<span class="narrow_description navbar-click-opens-search rendered_markdown">