Skip to content

Commit

Permalink
fix(account): Improve styling of resent alt email feature
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowbas authored and castaway committed Nov 11, 2024
1 parent 4a7b911 commit b15bc27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app/account-details/account-details.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ table {
.action-buttons {
display: flex;
justify-content: left;
gap: 20px;
width: 100%;
}

Expand Down
4 changes: 3 additions & 1 deletion src/app/account-details/personal-details.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ <h3><strong>Address details</strong></h3>
</div>
<div class="action-buttons">
<button mat-raised-button color="primary" (click)="update()">Save Details</button>
<button *ngIf="!is_alternative_email_validated" mat-raised-button color="primary" (click)="validate_alt_email()">Resend Alternative Email Validation</button>
<button *ngIf="!is_alternative_email_validated" mat-button color="primary" (click)="validate_alt_email()">
Resend Alternative Email Validation
</button>
</div>
</form>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
<a routerLink="/onscreen" class="textLink"> (Experimental) create a video call </a>
</p>
<p *ngIf="(rmmapi.me | async)?.is_alternative_email_validated">
<span style="color:red">Please confirm your Alternative Email address</span> <a routerLink="/account/details">Visit the Account Details page to resend the email</a>
<span style="color:red">Please confirm your Alternative Email address.</span>
<a class="textLink" routerLink="/account/details"> Visit the Account Details page to resend the email</a>
</p>
</div>
<div>
Expand Down

0 comments on commit b15bc27

Please sign in to comment.