implementing selections by guest user

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-03-06 08:46:20 +01:00
parent 702b9dadd5
commit 69d3aacc53
3 changed files with 31 additions and 35 deletions

View File

@@ -145,6 +145,7 @@
{/if}
<Route path="/user/reset/pw" component={ResetPw} />
<Route path="/oidc_callback" component={Callback} />
<Route path="/poll/:id/view" component={ViewPoll} />
<Route path="/wiki/:key/view" component={WikiGuest} />
<Route>
<Login />

View File

@@ -46,12 +46,12 @@
<fieldset>
<legend>{t('User')}</legend>
{#if user}
<div>{t('logged in as: {user}',{user:user.name})}</div>
{#if user.name}
<div>{t('logged in as: {user}',{user:user.name})}</div>
{:else}
<label>
<input type="text" bind:value={editor.name} />
{t('Your name')}
<input type="text" bind:value={editor.name} />
</label>
{/if}
</fieldset>