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.

Revert "tooltip_templates: Remove unused `data-view-code` attribute."

Aman Agrawalfd9a73bde34f
diff --git a/web/templates/tooltip_templates.hbs b/web/templates/tooltip_templates.hbs
index 8c64ea3c5b4..faccb613e3d 100644
--- a/web/templates/tooltip_templates.hbs
+++ b/web/templates/tooltip_templates.hbs
@@ -110,14 +110,14 @@
</div>
</template>
<template id="all-message-tooltip-template">
- <div class="views-tooltip-container">
+ <div class="views-tooltip-container" data-view-code="all_messages">
<div>{{t 'Combined feed' }}</div>
<div class="tooltip-inner-content views-tooltip-home-view-note italic hide">{{t 'This is your home view.' }}</div>
</div>
{{tooltip_hotkey_hints "A"}}
</template>
<template id="recent-conversations-tooltip-template">
- <div class="views-tooltip-container">
+ <div class="views-tooltip-container" data-view-code="recent_topics">
<div>{{t 'Recent conversations' }}</div>
<div class="tooltip-inner-content views-tooltip-home-view-note italic hide">{{t 'This is your home view.' }}</div>
</div>
@@ -130,12 +130,12 @@
{{tooltip_hotkey_hints "*"}}
</template>
<template id="my-reactions-tooltip-template">
- <div class="views-tooltip-container">
+ <div class="views-tooltip-container" data-view-code="recent_topics">
<div>{{t 'Reactions to your messages' }}</div>
</div>
</template>
<template id="inbox-tooltip-template">
- <div class="views-tooltip-container">
+ <div class="views-tooltip-container" data-view-code="inbox">
<div>{{t 'Inbox' }}</div>
<div class="tooltip-inner-content views-tooltip-home-view-note italic hide">{{t 'This is your home view.' }}</div>
</div>