mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue