Put project link in header

This commit is contained in:
James Allen 2014-07-15 20:44:13 +01:00
parent 604a877f12
commit e0266e309f
3 changed files with 6 additions and 37 deletions

View file

@ -31,33 +31,4 @@ nav.navbar.navbar-default
else
| !{item.text}
//- li.dropdown
//- a.dropdown-toggle(href='#',data-toggle="dropdown")
//- | Help
//- b.caret
//- ul.dropdown-menu
//- li
//- a(href='/learn') Documentation
//- -if(typeof(tenderUrl) != "undefined")
//- li
//- a.js-tender-widget(href='#') Contact Support
//- -if(session && session.user)
//- li.dropdown
//- a.dropdown-toggle(href="#",data-toggle="dropdown")
//- | Account
//- b.caret
//- ul.dropdown-menu
//- li
//- a(href='/user/settings').userSettingsLink Account Settings
//- - if (settings.enableSubscriptions)
//- li
//- a(href='/user/subscription').subscriptionLink Subscription
//- li
//- a(href='/logout').logoutLink Logout
//- -else
//- li
//- a(href='/register') Register
//- li
//- a#loginLink(href='/login'+getRedirAsQueryString()) Login

View file

@ -6,6 +6,12 @@ header.toolbar.toolbar-header(ng-cloak, ng-hide="state.loading")
tooltip-placement="bottom"
)
i.fa.fa-fw.fa-bars
a(
href="/project"
tooltip="Back to projects",
tooltip-placement="bottom"
)
i.fa.fa-fw.fa-level-up
.toolbar-center.project-name(ng-controller="ProjectNameController")
span.name(

View file

@ -2,14 +2,6 @@ aside#left-menu.full-size(
ng-class="{ 'shown': ui.leftMenuShown }"
ng-cloak
)
ul.list-unstyled.nav
li
a(
href="/project"
)
i.fa.fa-list-alt.fa-fw
|   View All Projects
h4 Download
ul.list-unstyled.nav.nav-downloads