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.

navbar: Set user count region as click target to open settings modal.

YashRE42846383f4a0ff
diff --git a/static/styles/zulip.scss b/static/styles/zulip.scss
index 124f6235341..7aaebc366e2 100644
--- a/static/styles/zulip.scss
+++ b/static/styles/zulip.scss
@@ -1467,6 +1467,7 @@ div.focused_table {
.hidden {
display: none;
}
+ .sub_count,
& > span {
white-space: nowrap;
list-style-type: none;
diff --git a/static/templates/tab_bar.hbs b/static/templates/tab_bar.hbs
index 7041479c71c..2d0fa9ae62e 100644
--- a/static/templates/tab_bar.hbs
+++ b/static/templates/tab_bar.hbs
@@ -10,7 +10,9 @@
{{/if}}
</span>
{{#if sub_count}}
- <span class="sub_count" data-toggle="tooltip" title="{{sub_count_tooltip_text}}"><i class="fa fa-user-o"></i>{{formatted_sub_count}}</span>
+ <a class="sub_count no-style" data-toggle="tooltip" title="{{sub_count_tooltip_text}}" href="{{stream_settings_link}}">
+ <i class="fa fa-user-o"></i>{{formatted_sub_count}}
+ </a>
{{#if rendered_narrow_description}}
<span class="narrow_description rendered_markdown" data-toggle="tooltip">{{rendered_markdown rendered_narrow_description}}</span>
{{else}}