no need to logout on main page when we get an account page
get it
This commit is contained in:
parent
6a11f7ec6c
commit
1cb2510bfb
1 changed files with 15 additions and 6 deletions
|
@ -8,12 +8,21 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/edit">Create a page</a></li>
|
<li><a href="/edit">Create a page</a></li>
|
||||||
{#if !user:loggedIn}
|
<li><a href="/auth">
|
||||||
<li><a href="/auth">Login or register</a></li>
|
{#if user:loggedIn}
|
||||||
|
Logged in as {user:name}
|
||||||
{#else}
|
{#else}
|
||||||
<li><a href="/auth/logout">Logout ({user:name})</a></li>
|
Login or register
|
||||||
{/if}
|
{/if}
|
||||||
<li><a href="/theme">{#if theme:darkTheme}Light mode{#else}Dark mode{/if}</a></li>
|
</a></li>
|
||||||
|
<li><a href="/theme">
|
||||||
|
{#if theme:darkTheme}
|
||||||
|
Light mode
|
||||||
|
{#else}
|
||||||
|
Dark mode
|
||||||
|
{/if}
|
||||||
|
</a></li>
|
||||||
|
<li><a href="/page/TalkPages/Terms of Service">Terms of Service</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<small>Running <a href="/page/TalkPages">TalkPages</a> version {config:["quarkus.application.version"]}</small>
|
<small>Running <a href="/page/TalkPages">TalkPages</a> version {config:["quarkus.application.version"]}</small>
|
||||||
|
|
Loading…
Reference in a new issue