Skip to content

Commit

Permalink
Merge pull request #489 from KyleKayfish/CSRS-488-2
Browse files Browse the repository at this point in the history
CSRS-488:  Added underline and Terms of Use to Footer
  • Loading branch information
KyleKayfish authored Mar 27, 2024
2 parents d0d3d8a + 4d49fcf commit 6351b26
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ <h2 class="mt-4 mb-0">Child Support Recalculation Application</h2>
Please review and make sure you understand the following conditions of enrolment and Service Portal Terms of Use they link to.
</p>
<p>
If you proceed, you will be deemed to have agreed to them. If you do not agree, you are not entitled to use this electronic service.
If you proceed, you will be deemed to have agreed to them. <u>If you do not agree, you are not entitled to use this electronic service.</u>
</p>
<p>
I understand, acknowledge and agree that:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
<li>
<a href="https://www2.gov.bc.ca/gov/content/home/get-help-with-government-services">Contact Us</a>
</li>
<span class="divider">|</span>
<li>
<a href="javascript:void(0);" (click)="showTermsOfUse()">Terms of Use</a>
</li>
<span class="divider"></span>
</ul>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { ModalDialogHtmlComponent } from '../../../components/modal-dialog-htmlcontent/modal-dialog-htmlcontent.component';


@Component({
selector: 'app-footer',
Expand All @@ -7,9 +10,18 @@ import { Component, OnInit } from '@angular/core';
})
export class FooterComponent implements OnInit {

constructor() { }
constructor(public dialog: MatDialog,) { }

ngOnInit(): void {
}
showTermsOfUse(): void {
const dialogRef = this.dialog.open(ModalDialogHtmlComponent, {
width: '750px',
data: '',
});

dialogRef.afterClosed().subscribe(result => {
//this.logger.info(`Dialog result: ${result}`);
});
}
}

0 comments on commit 6351b26

Please sign in to comment.