mirror of https://github.com/zulip/zulip.git
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.
This commit is contained in:
parent
8d3f2baebf
commit
abece73c5a
|
@ -1,6 +1,7 @@
|
|||
<div>
|
||||
<div>{{edited_notice_str}}</div>
|
||||
<div>{{t "View edit history"}}</div>
|
||||
{{#if realm_allow_edit_history}}
|
||||
<div class="tooltip-inner-content italic">{{t 'Click to view edit history.' }}</div>
|
||||
<div class="tooltip-inner-content italic">{{edited_notice_str}}</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{tooltip_hotkey_hints "Shift" "H"}}
|
||||
|
|
Loading…
Reference in New Issue