Skip to content

Commit

Permalink
Fix conflict with HTML keyword when specifying banners manually
Browse files Browse the repository at this point in the history
Closes #48
  • Loading branch information
jvyden committed Nov 5, 2023
1 parent 8056d84 commit 66b4e02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@
Check back later."
color="warning" [icon]="faExclamationTriangle" [id]="-1"></app-banner>

<app-banner *ngIf="user?.role == UserRoles.Restricted" title="You are restricted!"
<app-banner *ngIf="user?.role == UserRoles.Restricted" [title]="'You are restricted!'"
text="Your account is currently in restricted mode. You can still play, but you won't be able to publish levels,
post comments, or otherwise interact with the community. For more information, please contact an administrator."
color="dangerous" [icon]="faExclamationTriangle" [id]="-1"></app-banner>

<app-banner *ngIf="user !== undefined && user?.emailAddress === undefined" title="Add an email address"
<app-banner *ngIf="user !== undefined && user?.emailAddress === undefined" [title]="'Add an email address'"
text="Your account is missing an email address. Please add one in settings, or you may not be able to log in again."
color="dangerous" [icon]="faExclamationTriangle"></app-banner>

<app-banner *ngIf="user !== undefined && !user?.emailAddressVerified" title="Verify your email address"
<app-banner *ngIf="user !== undefined && !user?.emailAddressVerified" [title]="'Verify your email address'"
text="Your account's email address is not verified. Please check your email for a verification code, and verify it in settings.
If you do not see an email verification code, try resending the email or checking your spam folder."
color="warning" [icon]="faExclamationTriangle"></app-banner>
Expand Down

0 comments on commit 66b4e02

Please sign in to comment.