fix nav 2

This commit is contained in:
2015-02-28 18:13:58 +10:00
parent 4ba38019d2
commit 5b9e51f70a

View file

@ -27,13 +27,13 @@ mixin navdefaultlinks(page)
b.caret b.caret
ul.dropdown-menu ul.dropdown-menu
if loggedIn if loggedIn
li: a(href="#{loginDomain}/logout?dest=#{encodeURIComponent(baseUrl + page)}") Logout li: a(href="#{loginDomain}/logout?dest=#{encodeURIComponent(baseUrl + redirect)}") Logout
li.divider li.divider
li: a(href="#{loginDomain}/account/channels") Channels li: a(href="#{loginDomain}/account/channels") Channels
li: a(href="#{loginDomain}/account/profile") Profile li: a(href="#{loginDomain}/account/profile") Profile
li: a(href="#{loginDomain}/account/edit") Change Password/Email li: a(href="#{loginDomain}/account/edit") Change Password/Email
else else
li: a(href="#{loginDomain}/login?dest=#{encodeURIComponent(baseUrl + page)}") Login li: a(href="#{loginDomain}/login?dest=#{encodeURIComponent(baseUrl + redirect)}") Login
li: a(href="#{loginDomain}/register") Register li: a(href="#{loginDomain}/register") Register
mixin navloginlogout(redirect) mixin navloginlogout(redirect)