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.

popovers: Rename and move drafts_sidebar_action.hbs.

Sayam Samalf4129aa9df43
diff --git a/web/src/left_sidebar_navigation_area_popovers.js b/web/src/left_sidebar_navigation_area_popovers.js
index 1fb75d748b6..699f92e0bf9 100644
--- a/web/src/left_sidebar_navigation_area_popovers.js
+++ b/web/src/left_sidebar_navigation_area_popovers.js
@@ -1,8 +1,8 @@
import $ from "jquery";
-import render_drafts_sidebar_actions from "../templates/drafts_sidebar_action.hbs";
import render_left_sidebar_all_messages_popover from "../templates/popovers/left_sidebar_all_messages_popover.hbs";
import render_left_sidebar_condensed_views_popover from "../templates/popovers/left_sidebar_condensed_views_popover.hbs";
+import render_left_sidebar_drafts_popover from "../templates/popovers/left_sidebar_drafts_popover.hbs";
import render_left_sidebar_inbox_popover from "../templates/popovers/left_sidebar_inbox_popover.hbs";
import render_left_sidebar_recent_view_popover from "../templates/popovers/left_sidebar_recent_view_popover.hbs";
import render_starred_messages_sidebar_actions from "../templates/starred_messages_sidebar_actions.hbs";
@@ -103,7 +103,7 @@ export function initialize() {
onShow(instance) {
popovers.hide_all();
- instance.setContent(ui_util.parse_html(render_drafts_sidebar_actions({})));
+ instance.setContent(ui_util.parse_html(render_left_sidebar_drafts_popover({})));
},
onHidden(instance) {
instance.destroy();
diff --git a/web/templates/drafts_sidebar_action.hbs b/web/templates/popovers/left_sidebar_drafts_popover.hbs
similarity index 100%
rename from web/templates/drafts_sidebar_action.hbs
rename to web/templates/popovers/left_sidebar_drafts_popover.hbs