Fix settings menu
This commit is contained in:
parent
410f4730bb
commit
950cb45a7c
|
@ -1,6 +1,7 @@
|
|||
<div class="dropdown dropdown--classic" id="tools">
|
||||
<a href="#" {{action "menu" target=view}} class="menu-popup-button dropdown-button btn" type=""><span class="icon icon-cog-light"></span> Settings <span class="icon icon-arrow-down"></span></a>
|
||||
<ul class="dropdown-menu menu">
|
||||
|
||||
{{#if view.displaySettingsLink}}
|
||||
<li>
|
||||
{{#link-to "settings" view.repo}}Settings{{/link-to}}
|
||||
|
|
|
@ -9,7 +9,7 @@ View = BasicView.extend
|
|||
buildBinding: 'controller.build'
|
||||
jobBinding: 'controller.job'
|
||||
tabBinding: 'controller.tab'
|
||||
currentUserBinding: 'controller.currentUser.model'
|
||||
currentUserBinding: 'controller.auth.currentUser'
|
||||
slugBinding: 'controller.repo.slug'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user