mirror of https://github.com/zulip/zulip.git
tooltips: Use tippy for `gear-menu` icon with hotkey hint `G`.
Fixes part of #24311
This commit is contained in:
parent
7785fb2948
commit
892bd38062
|
@ -1,8 +1,12 @@
|
|||
<ul class="nav" role="navigation">
|
||||
<li class="dropdown actual-dropdown-menu" id="gear-menu">
|
||||
<a id="settings-dropdown" tabindex="0" role="button" class="dropdown-toggle" data-target="nada" data-toggle="dropdown" title="{{t 'Menu' }} (g)">
|
||||
<a id="settings-dropdown" tabindex="0" role="button" class="dropdown-toggle tippy-zulip-delayed-tooltip" data-target="nada" data-toggle="dropdown" data-tooltip-template-id="gear-menu-tooltip-template">
|
||||
<i class="fa fa-cog settings-dropdown-cog" aria-hidden="true"></i>
|
||||
</a>
|
||||
<template id="gear-menu-tooltip-template">
|
||||
{{t 'Menu' }}
|
||||
{{tooltip_hotkey_hints "G"}}
|
||||
</template>
|
||||
<ul class="dropdown-menu" role="menu" aria-labelledby="settings-dropdown">
|
||||
<li class="org-info org-name">{{realm_name}}</li>
|
||||
<li class="org-info org-url">{{realm_url}}</li>
|
||||
|
|
Loading…
Reference in New Issue