Skip to content

Commit

Permalink
Merge pull request #243 from bcgov/dev-AA-3163-FOIMOD-L
Browse files Browse the repository at this point in the history
#FOIMOD-3163 ENV, FOR alert updates
  • Loading branch information
abin-aot authored May 24, 2024
2 parents d8a0ebb + 4637243 commit ce2d265
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,16 @@ <h2>What ministry or agency has the records you are looking for?</h2>
For FOI requests relating to wildfires, records might not be released if there is an active and ongoing investigation into the fire in order to protect the integrity of the investigation. If you have questions whether an FOI request relates to a wildfire under investigation please contact <a href="mailto:[email protected]">[email protected]</a> for more information before submitting the FOI request.
</p>
</app-alert-warning>
<app-alert-warning *ngIf="isforestministry">
<app-alert-warning *ngIf="isforestministry && !hideforestministryongoingwildfirealert" >
<p>
Please be advised that, due to the ongoing wildfire and drought-related developments around the Province, many Ministry of Forests personnel have been deployed across the Province to support the response and recovery. While every effort will be taken by staff to manage our FOI responsibilities, our response time may be impacted during this situation.
</p>
</app-alert-warning>
<app-alert-warning *ngIf="isENVministry">
<p>
For FOI requests relating to a potentially contaminated site, please note that information is accessible to the public through the <a href="https://www2.gov.bc.ca/gov/content/environment/air-land-water/site-remediation/site-information">Site Registry</a>. The records available on the Site Registry are not provided through the FOI process. The Site Registry contains records about the identification, investigation and remediation of potentially contaminated sites. Before continuing to submit your FOI request, please follow instructions on the <a href="https://www2.gov.bc.ca/gov/content/environment/air-land-water/site-remediation/site-information">Site information webpage</a> to obtain Site Registry records.
</p>
</app-alert-warning>
<div *ngIf="requiresPayment">
<p>Based on the public bodies you have selected your application fee is: ${{feeAmount}}</p>
</div>
Expand Down Expand Up @@ -95,4 +100,4 @@ <h3>
any other means, and include books, documents, maps, drawings, letters, vouchers and papers.
</p>
</div>
</foi-base>
</foi-base>
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ export class MinistryConfirmationComponent implements OnInit {
feeAmount: number = 0;
requiresPayment: boolean = null;
isforestministry: boolean = false;
hideforestministryongoingwildfirealert: boolean = true;
isEAOministry: boolean = false;

isENVministry: boolean = false;
constructor(private fb: FormBuilder, private dataService: DataService, private route: Router) { }

ngOnInit() {
Expand All @@ -44,6 +45,14 @@ export class MinistryConfirmationComponent implements OnInit {
else if(m.code === "EAO" && m.selected === false){
this.isEAOministry = false;
}
if (m.code === "ENV" && m.selected === true) {
this.isENVministry = true;
}
else if((m.code === "ENV" && m.selected === false)){
this.isENVministry = false;
}


if (m.code === "FOR" && m.selected === true) {
this.isforestministry = true;
}
Expand Down Expand Up @@ -78,6 +87,12 @@ export class MinistryConfirmationComponent implements OnInit {
else if(m.code === "EAO" && m.selected === false){
this.isEAOministry = false;
}
if (m.code === "ENV" && m.selected === true) {
this.isENVministry = true;
}
else if((m.code === "ENV" && m.selected === false)){
this.isENVministry = false;
}
if (m.code === "FOR" && m.selected === true) {
this.isforestministry = true;
}
Expand Down Expand Up @@ -148,4 +163,4 @@ export class MinistryConfirmationComponent implements OnInit {
//console.log(`Topic ${this.foiRequest.requestData.requestTopic.value}`)
this.base.goFoiBack();
}
}
}

0 comments on commit ce2d265

Please sign in to comment.