make /logout the fallback href for dasher toggle (fixes #7899)
parent
ab2671656c
commit
0b1beba04e
|
@ -83,8 +83,9 @@ object layout {
|
|||
else "Enable"} blind mode</button></form>""")
|
||||
private val zenToggle = raw("""<a data-icon="E" id="zentog" class="text fbt active">ZEN MODE</a>""")
|
||||
private def dasher(me: lila.user.User) =
|
||||
raw(
|
||||
s"""<div class="dasher"><a id="user_tag" class="toggle link">${me.username}</a><div id="dasher_app" class="dropdown"></div></div>"""
|
||||
div(cls := "dasher")(
|
||||
a(id := "user_tag", cls := "toggle link", href := routes.Auth.logoutGet())(me.username),
|
||||
div(id := "dasher_app", cls := "dropdown")
|
||||
)
|
||||
|
||||
private def allNotifications(implicit ctx: Context) =
|
||||
|
|
Loading…
Reference in New Issue