mirror of https://github.com/calzoneman/sync.git
Fix #555
This commit is contained in:
parent
ba54848db5
commit
65d4ea9496
|
@ -27,7 +27,7 @@ mixin navdefaultlinks(page)
|
||||||
b.caret
|
b.caret
|
||||||
ul.dropdown-menu
|
ul.dropdown-menu
|
||||||
if loggedIn
|
if loggedIn
|
||||||
li: a(href="/logout?dest=#{encodeURIComponent(baseUrl + page)}&_csrf=#{csrfToken}") Logout
|
li: a(href="javascript:$('#logoutform').submit();") Log out
|
||||||
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
|
||||||
|
@ -72,5 +72,5 @@ mixin navlogoutform(redirect)
|
||||||
input(type="hidden", name="_csrf", value=csrfToken)
|
input(type="hidden", name="_csrf", value=csrfToken)
|
||||||
span#welcome Welcome, #{loginName}
|
span#welcome Welcome, #{loginName}
|
||||||
span ·
|
span ·
|
||||||
input#logout.navbar-link(type="submit", value="Logout")
|
input#logout.navbar-link(type="submit", value="Log out")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue