Chocobozzz/PeerTube

View on GitHub
client/src/app/+signup/+verify-account/verify-account-email/verify-account-email.component.html

Summary

Maintainability
Test Coverage
<div *ngIf="loaded" class="margin-content">
  <h1 i18n class="title-page">Verify email</h1>

  <my-signup-success-after-email
    *ngIf="displaySignupSuccess()"
    [requiresApproval]="isRegistrationRequest() && requiresApproval"
  >
  </my-signup-success-after-email>

  <my-alert type="success" i18n *ngIf="!isRegistrationRequest() && isPendingEmail && success">Email updated.</my-alert>

  <my-alert type="danger" *ngIf="failed">
    <span i18n>An error occurred.</span>

    <a i18n class="ms-1 link-orange" routerLink="/verify-account/ask-send-email">
      Request a new verification email
    </a>
  </my-alert>
</div>