implementing selections by guest user
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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 />
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user