<div class="fl-content" *ngIf="object && object.id; else invalidInvitation">
  <h4 class="fl-detail" i18n>Client account</h4>
  <p class="fl-detail" i18n>Name: {{ object.client_full_name }}</p>
  <p class="fl-detail" *ngIf="rolesStr" i18n>Roles: {{ rolesStr }}</p>
</div>
<ng-template #invalidInvitation>
  <p *ngIf="object.token_missing" class="fl-detail" i18n>Token missing!</p>
  <ng-container *ngIf="isLoggedIn() && !object.token_missing">
    <p class="fl-detail"
       i18n>You are already logged in with user {{authSvc.userData.user.full_name}}({{authSvc.userData.user.email}}).</p>
  </ng-container>
</ng-template>
