matrix-dimension/web/app/widget-wrappers/reauth-example/reauth-example.component.html
Ahmad 9dc4e99aca translation
- the traslation feature without the changes from other branches
2020-10-23 13:30:20 +02:00

15 lines
623 B
HTML

<div *ngIf="!hasOpenId" class="reauth-container">
<button type="button" (click)="onReauthStart()" class="btn btn-primary" [disabled]="busy">
{{'Click to start OpenID auth' | translate}}
</button>
</div>
<div *ngIf="hasOpenId" class="reauth-container">
<p>{{'User ID:' | translate}} {{userId}}</p>
</div>
<div class="reauth-container">
<p>{{stateMessage}}</p>
<p *ngIf="blocked">{{'You have blocked this widget from receiving credentials.' | translate}}</p>
<p *ngIf="error">{{'An error has occurred - see logs for details' | translate}}</p>
<small>Widget ID: {{widgetId}}</small>
</div>