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.

left sidebar: Rename streams_inline_cog.

Tim Abbotta6c364cdd7e8
diff --git a/static/js/popover_menus.js b/static/js/popover_menus.js
index c3977020cfa..ae6b5e7b6bf 100644
--- a/static/js/popover_menus.js
+++ b/static/js/popover_menus.js
@@ -59,7 +59,7 @@ function on_show_prep(instance) {
export function initialize() {
delegate("body", {
...default_popover_props,
- target: "#streams_inline_cog",
+ target: "#streams_inline_icon",
onShow(instance) {
on_show_prep(instance);
instance.setContent(
diff --git a/static/js/stream_list.js b/static/js/stream_list.js
index 91147e73bf1..85455712cc1 100644
--- a/static/js/stream_list.js
+++ b/static/js/stream_list.js
@@ -523,7 +523,7 @@ export function set_event_handlers() {
.expectOne()
.on("click", (e) => {
e.preventDefault();
- if (e.target.id === "streams_inline_cog") {
+ if (e.target.id === "streams_inline_icon") {
return;
}
toggle_filter_displayed(e);
diff --git a/static/styles/left_sidebar.css b/static/styles/left_sidebar.css
index b0ef4bc6f30..740da204e24 100644
--- a/static/styles/left_sidebar.css
+++ b/static/styles/left_sidebar.css
@@ -55,7 +55,7 @@ li.show-more-topics {
}
}
-#streams_inline_cog,
+#streams_inline_icon,
.streams_filter_icon {
float: right;
opacity: 0.5;
@@ -68,7 +68,7 @@ li.show-more-topics {
}
}
-.streams_inline_cog_wrapper {
+.streams_inline_icon_wrapper {
float: right;
}
@@ -76,7 +76,7 @@ li.show-more-topics {
margin-right: 10px;
}
-#streams_inline_cog {
+#streams_inline_icon {
margin-right: 10px;
}
diff --git a/static/templates/left_sidebar.hbs b/static/templates/left_sidebar.hbs
index cc5ace7b5cd..5db752463c7 100644
--- a/static/templates/left_sidebar.hbs
+++ b/static/templates/left_sidebar.hbs
@@ -71,8 +71,8 @@
</ul>
<div id="streams_list" class="zoom-out">
<div id="streams_header" class="zoom-in-hide"><h4 class="sidebar-title" data-tippy-content="{{t 'Filter streams' }} (q)">{{t 'STREAMS' }}</h4>
- <span class="tippy-zulip-tooltip streams_inline_cog_wrapper hidden-for-spectators" data-tippy-content="{{t 'Add streams' }}">
- <i id="streams_inline_cog" class='fa fa-plus' aria-hidden="true" ></i>
+ <span class="tippy-zulip-tooltip streams_inline_icon_wrapper hidden-for-spectators" data-tippy-content="{{t 'Add streams' }}">
+ <i id="streams_inline_icon" class='fa fa-plus' aria-hidden="true" ></i>
</span>
<i class="streams_filter_icon fa fa-filter tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Filter streams' }} (q)"></i>
<div class="input-append notdisplayed stream_search_section">