Fix settings menu

This commit is contained in:
Piotr Sarnacki 2015-06-02 12:20:26 +02:00
parent 410f4730bb
commit 950cb45a7c
2 changed files with 2 additions and 1 deletions

View File

@ -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}}

View File

@ -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'