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_popover: Add highlighted-element class to <b>.

Prakhar Pratyush091ae95e69d6
diff --git a/web/templates/popovers/left_sidebar/left_sidebar_all_messages_popover.hbs b/web/templates/popovers/left_sidebar/left_sidebar_all_messages_popover.hbs
index 86e7ec4d4d4..9c65fc98c8d 100644
--- a/web/templates/popovers/left_sidebar/left_sidebar_all_messages_popover.hbs
+++ b/web/templates/popovers/left_sidebar/left_sidebar_all_messages_popover.hbs
@@ -26,7 +26,8 @@
<i class="popover-menu-icon zulip-icon zulip-icon-house" aria-hidden="true"></i>
<span class="popover-menu-label">
{{#tr}}
- Make <b>combined feed</b> my home view
+ Make <z-highlight>combined feed</z-highlight> my home view
+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}
{{/tr}}
</span>
</a>
diff --git a/web/templates/popovers/left_sidebar/left_sidebar_inbox_popover.hbs b/web/templates/popovers/left_sidebar/left_sidebar_inbox_popover.hbs
index f3ff798c8f1..da608313f3b 100644
--- a/web/templates/popovers/left_sidebar/left_sidebar_inbox_popover.hbs
+++ b/web/templates/popovers/left_sidebar/left_sidebar_inbox_popover.hbs
@@ -26,7 +26,8 @@
<i class="popover-menu-icon zulip-icon zulip-icon-house" aria-hidden="true"></i>
<span class="popover-menu-label">
{{#tr}}
- Make <b>inbox</b> my home view
+ Make <z-highlight>inbox</z-highlight> my home view
+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}
{{/tr}}
</span>
</a>
diff --git a/web/templates/popovers/left_sidebar/left_sidebar_recent_view_popover.hbs b/web/templates/popovers/left_sidebar/left_sidebar_recent_view_popover.hbs
index cd5d4ec3aee..3681fe9602a 100644
--- a/web/templates/popovers/left_sidebar/left_sidebar_recent_view_popover.hbs
+++ b/web/templates/popovers/left_sidebar/left_sidebar_recent_view_popover.hbs
@@ -26,7 +26,8 @@
<i class="popover-menu-icon zulip-icon zulip-icon-house" aria-hidden="true"></i>
<span class="popover-menu-label">
{{#tr}}
- Make <b>recent conversations</b> my home view
+ Make <z-highlight>recent conversations</z-highlight> my home view
+ {{#*inline "z-highlight"}}<b class="highlighted-element">{{> @partial-block}}</b>{{/inline}}
{{/tr}}
</span>
</a>