mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
Change user menu link to a button
Closes #3546 - Change user menu popover toggle from a <a> to a <button> - Change tests accordingly
This commit is contained in:
parent
4f7bac3aed
commit
f0a3f57dcb
@ -7,11 +7,11 @@
|
||||
{{gh-activating-list-item route="posts" title="Content" classNames="content js-close-sidebar"}}
|
||||
{{gh-activating-list-item route="editor.new" title="New Post" classNames="editor js-close-sidebar"}}
|
||||
{{#unless session.user.isAuthor}}
|
||||
{{gh-activating-list-item route="settings" title="Settings" classNames="settings js-close-sidebar"}}
|
||||
{{gh-activating-list-item route="settings" title="Settings" classNames="settings js-close-sidebar"}}
|
||||
{{/unless}}
|
||||
|
||||
<li id="usermenu" class="usermenu subnav">
|
||||
{{#gh-popover-button popoverName="user-menu" tagName="a" href="#" classNames="dropdown"}}
|
||||
{{#gh-popover-button popoverName="user-menu" classNames="dropdown"}}
|
||||
{{#if session.user.image}}
|
||||
<img class="avatar" {{bind-attr src="session.user.image"}} alt="Avatar" />
|
||||
{{else}}
|
||||
|
Loading…
Reference in New Issue
Block a user