Files
zulip/web/templates/message_edit_notice_tooltip.hbs
Sayam Samal abece73c5a tooltips: Add hotkey hints and modify edit history tooltip.
This commit consists of the following visual changes:

- Add the hotkey hints in the tooltip of the view edit history option,
the shortcut (Shift + H) for which was added in PR #26245

- Swap "Click to view edit history." and the edit status string
(EDITED/MOVED/SAVING) to make the tooltip consistent with other
tooltips across the web app.

- Rename "Click to view edit history." to "View edit history", since
the "Click to view" part is evident from the icon as well as the the
keyboard shortcut hints.

Fixes #26581.
2023-10-03 14:37:47 -07:00

8 lines
218 B
Handlebars

<div>
<div>{{t "View edit history"}}</div>
{{#if realm_allow_edit_history}}
<div class="tooltip-inner-content italic">{{edited_notice_str}}</div>
{{/if}}
</div>
{{tooltip_hotkey_hints "Shift" "H"}}