web/flows: only show user info when applicable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3f30ef624e
commit
d785edbbe3
|
@ -59,6 +59,7 @@ export class AccessDeniedStage extends BaseStage<
|
||||||
</header>
|
</header>
|
||||||
<div class="pf-c-login__main-body">
|
<div class="pf-c-login__main-body">
|
||||||
<form class="pf-c-form">
|
<form class="pf-c-form">
|
||||||
|
${this.challenge.pendingUser ? html`
|
||||||
<ak-form-static
|
<ak-form-static
|
||||||
class="pf-c-form__group"
|
class="pf-c-form__group"
|
||||||
userAvatar="${this.challenge.pendingUserAvatar}"
|
userAvatar="${this.challenge.pendingUserAvatar}"
|
||||||
|
@ -69,7 +70,7 @@ export class AccessDeniedStage extends BaseStage<
|
||||||
>${t`Not you?`}</a
|
>${t`Not you?`}</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</ak-form-static>
|
</ak-form-static>` : html``}
|
||||||
<div class="pf-c-form__group">
|
<div class="pf-c-form__group">
|
||||||
<p class="big-icon">
|
<p class="big-icon">
|
||||||
<i class="pf-icon pf-icon-error-circle-o"></i>
|
<i class="pf-icon pf-icon-error-circle-o"></i>
|
||||||
|
|
Reference in New Issue