From 9086b97709d11074cf9167174de42ba21ca1b239 Mon Sep 17 00:00:00 2001
From: weskubo-cgi <80127167+weskubo-cgi@users.noreply.github.com>
Date: Mon, 28 Oct 2024 15:28:26 -0700
Subject: [PATCH] CCFRI-3810 - Landing page html (#551)
* Initial updates and console cleanup.
* Further style fixes and remove some common console logs.
* ccfri-3810 - adjust SmallCard layouts in LandingPage and ReportChanges and fix the button color in those pages
---------
Co-authored-by: weskubo-cgi
- Child Care Operating Funding (CCOF)
- Apply for Child Care Operating Funding (CCOF) including:
+ Child Care Operating Funding (CCOF)
+ Apply for Child Care Operating Funding (CCOF) including:
+ For more information, visit the government website:
+ gov.bc.ca/childcareoperatingfunding
-
- For more information, visit the government website:
- gov.bc.ca/childcareoperatingfunding
- Fiscal year runs April 1 to March 31
-
-
+
+
Fiscal year runs April 1 to March 31
+Status: Incomplete
-Fiscal year runs April 1 to March 31
-Status: Incomplete
+Fiscal year runs April 1 to March 31
++ Status of your funding agreement for the current fiscal year: Active +
+Status: Submitted
+Fiscal year runs April 1 to March 31
+Renew my Funding Agreement {{ getRenewYearLabel }}
+ ++ Current providers must renew their Funding Agreement every year. For more information, visit the + government website: +
++ gov.bc.ca/childcareoperatingfunding +
+ +- Status of your funding agreement for the current fiscal year: Active -
-Status: Submitted
+Fiscal year runs April 1 to March 31
-- If you cancel your application, any information you entered will be deleted. If you create a new - application, you will need to re-enter this information. -
-Are you sure you want to cancel your application and delete your information?
-Report changes to your licence or service
++ You must notify the Child Care Operating Funding program within two business days of any change to your + facility licence or the services outlined in Schedule A of your Child Care Operating Funding Agreement. +
+ + +Renew my Funding Agreement {{ getRenewYearLabel }}
- -- Current providers must renew their Funding Agreement every year. For more information, visit the government - website: -
-- gov.bc.ca/childcareoperatingfunding -
- -Submit Enrolment Reports or monthly ECE reports to receive funding
++ If you are expecting a new licence or change to your licence or service details, contact the Child Care + Operating Funding program before submitting your next enrolment report or monthly ECE report. +
+ +Report changes to your licence or service
-- You must notify the Child Care Operating Funding program within two business days of any change to your - facility licence or the services outlined in Schedule A of your Child Care Operating Funding Agreement. -
- - -Submit Enrolment Reports or monthly ECE reports to receive funding
-- If you are expecting a new licence or change to your licence or service details, contact the Child Care - Operating Funding program before submitting your next enrolment report or monthly ECE report. -
- - -+ If you cancel your application, any information you entered will be deleted. If you create a new + application, you will need to re-enter this information. +
+Are you sure you want to cancel your application and delete your information?
+Note: For assistance completing your Program Confirmation Form, contact the program at 1-888-338-6622 (Option 2).
@@ -480,11 +470,9 @@ export default { let isEnabled = this.userInfo.serverTime > this.getNextProgramYear?.intakeStart && this.userInfo.serverTime < this.getNextProgramYear?.intakeEnd; - console.log('isWithinRenewDate: ', isEnabled); return isEnabled; }, isRenewEnabled() { - console.log('can renew?: ', this.isWithinRenewDate); //renew disabled because current NEW application is in progress if (this.applicationType === 'NEW' && this.applicationStatus === 'DRAFT') { return false; @@ -616,6 +604,9 @@ export default { this.applicationStatus === 'DRAFT' && this.applicationType === 'NEW' && this.ccofApplicationStatus === 'NEW' ); }, + isCCOFStatusNew() { + return this.ccofStatus === this.CCOF_STATUS_NEW; + }, }, async created() { this.CCOF_STATUS_NEW = 'NEW'; @@ -773,20 +764,7 @@ export default { else if (this.isRFIUnlock(ccfriApplicationId, application)) this.goToRFI(ccfriApplicationId, programYearId); }, buttonColor(isDisabled) { - return isDisabled ? '#909090' : '#003366'; - }, - smallCardLayout(card) { - if (this.ccofStatus === this.CCOF_STATUS_NEW) { - switch (card) { - case 'CCOF': - return 'col-lg-5'; - case 'RENEW': - return 'col-lg-3'; - default: - return 'col-lg-2'; - } - } - return 'col-lg-3'; + return isDisabled ? 'disabledButton' : 'blueButton'; }, isFacilityCardUnlock(ccfriApplicationId) { const programYearId = this.selectedProgramYear?.programYearId diff --git a/frontend/src/components/guiComponents/LargeCard.vue b/frontend/src/components/guiComponents/LargeCard.vue index 16acc9e72..c209f3209 100644 --- a/frontend/src/components/guiComponents/LargeCard.vue +++ b/frontend/src/components/guiComponents/LargeCard.vue @@ -31,7 +31,7 @@ export default { props: { title: { type: String, required: true }, - subtitle: { type: String, required: true }, + subtitle: { type: String, default: '' }, pText: { type: String, required: true }, }, }; diff --git a/frontend/src/components/guiComponents/SmallCard.vue b/frontend/src/components/guiComponents/SmallCard.vue index 2a5c79b7f..2a6668067 100644 --- a/frontend/src/components/guiComponents/SmallCard.vue +++ b/frontend/src/components/guiComponents/SmallCard.vue @@ -1,25 +1,22 @@ -