Skip to content

Commit caef013

Browse files
committed
Merge pull request #1329 from bcgov/stories/ecer-2939
ECER-2939: Colour fixes and content changes
1 parent 1e21bee commit caef013

File tree

8 files changed

+55
-36
lines changed

8 files changed

+55
-36
lines changed

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/ApplicationCertificationTypeHeader.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div>
3-
<h1 v-if="isLaborMobility">{{ `Transfer certification to ${certificationType}` }}</h1>
4-
<h1 v-else-if="isRenewal">{{ `Application to renew ${certificationType} certification` }}</h1>
5-
<h1 v-else>{{ `Application for ${certificationType} certification` }}</h1>
6-
<div v-if="certificationTypes.includes(CertificationType.FIVE_YEAR)" role="doc-subtitle">
3+
<h1 class="white" v-if="isLaborMobility">{{ `Transfer certification to ${certificationType}` }}</h1>
4+
<h1 class="white" v-else-if="isRenewal">{{ `Application to renew ${certificationType} certification` }}</h1>
5+
<h1 class="white" v-else>{{ `Application for ${certificationType} certification` }}</h1>
6+
<div class="white" v-if="certificationTypes.includes(CertificationType.FIVE_YEAR)" role="doc-subtitle">
77
{{ certificationTypeSubtitleForFiveYear }}
88
</div>
99
</div>

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/ApplicationSummary.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<v-card-text>
1010
<div class="d-flex" :class="[smAndUp ? 'space-between align-center' : 'flex-column']">
1111
<v-row>
12-
<v-col cols="12"><h3>Step 1</h3></v-col>
13-
<v-col cols="12"><h3>Submit application</h3></v-col>
12+
<v-col cols="12"><h3 :class="currentStep === 1 ? 'white' : ''">Step 1</h3></v-col>
13+
<v-col cols="12"><h3 :class="currentStep === 1 ? 'white' : ''">Submit application</h3></v-col>
1414
</v-row>
15-
<p class="large">
15+
<p class="large" :class="currentStep === 1 ? 'white' : ''">
1616
<v-icon icon="mdi-check" />
1717
Complete
1818
</p>
@@ -30,10 +30,10 @@
3030
<v-card-text>
3131
<div class="d-flex" :class="[smAndUp ? 'space-between align-center' : 'flex-column']">
3232
<v-row>
33-
<v-col cols="12"><h3>Step 2</h3></v-col>
34-
<v-col cols="12"><h3>References and documents</h3></v-col>
33+
<v-col cols="12"><h3 :class="currentStep === 2 ? 'white' : ''">Step 2</h3></v-col>
34+
<v-col cols="12"><h3 :class="currentStep === 2 ? 'white' : ''">References and documents</h3></v-col>
3535
</v-row>
36-
<p class="large">
36+
<p class="large" :class="currentStep === 2 ? 'white' : ''">
3737
<v-icon v-if="stepTwoIcon" :icon="stepTwoIcon" />
3838
{{ stepTwoStatusText }}
3939
</p>
@@ -128,10 +128,10 @@
128128
<v-card-text>
129129
<div class="d-flex" :class="[smAndUp ? 'space-between align-center' : 'flex-column']">
130130
<v-row>
131-
<v-col cols="12"><h3>Step 3</h3></v-col>
132-
<v-col cols="12"><h3>ECE Registry assessment</h3></v-col>
131+
<v-col cols="12"><h3 :class="currentStep === 3 ? 'white' : ''">Step 3</h3></v-col>
132+
<v-col cols="12"><h3 :class="currentStep === 3 ? 'white' : ''">ECE Registry assessment</h3></v-col>
133133
</v-row>
134-
<p class="large">
134+
<p class="large" :class="currentStep === 3 ? 'white' : ''">
135135
<v-icon v-if="stepThreeIcon" :icon="stepThreeIcon" />
136136
{{ stepThreeStatusText }}
137137
</p>

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/ViewComprehensiveReport.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
value="InternationalCredentialEvaluationService"
3333
></v-radio>
3434
<v-radio
35-
label="The ECE Registry already has my Comprehensive Report on file for the course or program relevant to this application and certificate type."
35+
:label="`The ECE Registry already has my Comprehensive Report on file for the ${applicationStatus?.certificationTypes?.includes('EceAssistant') ? 'course' : 'program'} relevant to this application and certificate type.`"
3636
value="RegistryAlreadyHas"
3737
></v-radio>
3838
</v-radio-group>
@@ -86,7 +86,7 @@ export default defineComponent({
8686
comprehensiveReportOptions = ref(transcript.comprehensiveReportOptions || undefined);
8787
}
8888
89-
return { router, transcript, alertStore, Rules, comprehensiveReportOptions, loadingStore };
89+
return { router, transcript, alertStore, Rules, comprehensiveReportOptions, loadingStore, applicationStatus };
9090
},
9191
methods: {
9292
async handleSubmit() {

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/ViewCourseOutline.vue

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<v-radio-group id="courseOutlineRadio" v-model="courseOutlineOptions" :rules="[Rules.required()]" color="primary">
2424
<v-radio label="I have my course outlines or syllabi and will upload them now." value="UploadNow"></v-radio>
2525
<v-radio
26-
label="The ECE Registry already has my course outlines or syllabi on file for the course or program relevant to this application and certificate type."
26+
:label="`The ECE Registry already has my course outlines or syllabi on file for the ${applicationStatus?.certificationTypes?.includes('EceAssistant') ? 'course' : 'program'} relevant to this application and certificate type.`"
2727
value="RegistryAlreadyHas"
2828
></v-radio>
2929
</v-radio-group>
@@ -101,7 +101,18 @@ export default defineComponent({
101101
courseOutlineOptions = ref(transcript.courseOutlineOptions || undefined);
102102
}
103103
104-
return { router, transcript, alertStore, Rules, courseOutlineOptions, areAttachedFilesValid, isFileUploadInProgress, newFiles, loadingStore };
104+
return {
105+
router,
106+
transcript,
107+
alertStore,
108+
Rules,
109+
courseOutlineOptions,
110+
areAttachedFilesValid,
111+
isFileUploadInProgress,
112+
newFiles,
113+
loadingStore,
114+
applicationStatus,
115+
};
105116
},
106117
computed: {
107118
generateUserPrimaryFileArray() {

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/ViewTranscriptDetails.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
<p>{{ transcript?.educationalInstitutionName }}</p>
1818
</div>
1919
<div class="d-flex flex-column ga-3 my-6">
20-
<h3>Program or course name</h3>
20+
<h3 v-if="applicationStatus?.certificationTypes?.includes('EceAssistant')">Course name</h3>
21+
<h3 v-else>Program name</h3>
2122
<p>{{ transcript?.programName }}</p>
2223
</div>
2324
<p class="my-6">We will notify you once we receive your transcript. You will also see this item marked as “Received” in your application summary.</p>
@@ -52,14 +53,13 @@ export default defineComponent({
5253
const route = useRoute();
5354
5455
const applicationStatus = (await getApplicationStatus(route.params.applicationId.toString()))?.data;
55-
5656
const transcript = applicationStatus?.transcriptsStatus?.find((transcript) => transcript.id === props.transcriptId);
5757
5858
if (!transcript) {
5959
router.back();
6060
}
6161
62-
return { transcript, alertStore };
62+
return { transcript, alertStore, applicationStatus };
6363
},
6464
methods: {},
6565
});

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/inputs/EceEducation.vue

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<h1>{{ clientId ? "Edit" : "Add" }} education</h1>
55
<br />
66
<p>
7-
You will need to request an official transcript from your educational institution for this course or program. It must be sent to us directly from them.
7+
You will need to request an official transcript from your educational institution for this {{ isDraftApplicationAssistant ? "course" : "program" }}. It
8+
must be sent to us directly from them.
89
</p>
910
<br />
1011
<p>When we receive your transcript, we will:</p>
@@ -112,16 +113,17 @@
112113

113114
<v-row>
114115
<v-col>
115-
<h3>What program or course did you take?</h3>
116+
<h3 v-if="isDraftApplicationAssistant">What course did you take?</h3>
117+
<h3 v-else>What program did you take?</h3>
116118
</v-col>
117119
</v-row>
118120
<v-row>
119121
<v-col md="8" lg="6" xl="4">
120122
<EceTextField
121123
id="txtProgramName"
122124
v-model="program"
123-
:rules="[Rules.required('Enter the name of your program or course')]"
124-
label="Name of program or course"
125+
:rules="[Rules.required(`Enter the name of your ${isDraftApplicationAssistant ? 'course' : 'program'}`)]"
126+
:label="`Name of ${isDraftApplicationAssistant ? 'course' : 'program'}`"
125127
maxlength="100"
126128
></EceTextField>
127129
</v-col>
@@ -139,7 +141,7 @@
139141
Rules.dateRuleRange(applicationStore.draftApplication.createdOn!, 5, 'Start date must be within the last 5 years'),
140142
),
141143
]"
142-
label="Start date of program or course"
144+
:label="`Start date of ${isDraftApplicationAssistant ? 'course' : 'program'}`"
143145
maxlength="50"
144146
:max="today"
145147
></EceDateInput>
@@ -159,7 +161,7 @@
159161
Rules.dateRuleRange(applicationStore.draftApplication.createdOn!, 5, 'End date must be within the last 5 years'),
160162
),
161163
]"
162-
label="End date of program or course"
164+
:label="`End date of ${isDraftApplicationAssistant ? 'course' : 'program'}`"
163165
maxlength="50"
164166
:max="today"
165167
></EceDateInput>
@@ -257,8 +259,8 @@
257259
<callout type="warning">
258260
<h3>You will need to provide supporting documents as part of your application.</h3>
259261
<p class="mt-3">
260-
The ECE Registry does not recognize the program or course from the educational institution you entered. We will need additional information to
261-
assess if your education is considered equivalent.
262+
The ECE Registry does not recognize the {{ isDraftApplicationAssistant ? "course" : "program" }} from the educational institution you entered.
263+
We will need additional information to assess if your education is considered equivalent.
262264
</p>
263265
<h3 class="mt-3">
264266
You may continue your application. After you submit, you can indicate how you will provide supporting documents in the application summary
@@ -324,8 +326,8 @@
324326
<div class="d-flex flex-column ga-3">
325327
<h3>Comprehensive Report</h3>
326328
<p>
327-
You will need to request a Evaluation Report from BCIT’s International Credential Evaluation Service. This is needed for any program or course
328-
completed outside of Canada.
329+
You will need to request a Evaluation Report from BCIT’s International Credential Evaluation Service. This is needed for any
330+
{{ isDraftApplicationAssistant ? "course" : "program" }} completed outside of Canada.
329331
</p>
330332
<p>
331333
You may be eligible for a fee waiver to cover the costs of the report.
@@ -681,10 +683,10 @@ export default defineComponent({
681683
this.school = educationData.education.educationalInstitutionName ?? "";
682684
this.program = educationData.education.programName ?? "";
683685
this.campusLocation = educationData.education.campusLocation ?? "";
684-
(this.studentFirstName = educationData.education.studentFirstName ?? null),
686+
((this.studentFirstName = educationData.education.studentFirstName ?? null),
685687
(this.studentMiddleName = educationData.education.studentMiddleName ?? null),
686688
(this.studentLastName = educationData.education.studentLastName ?? ""),
687-
(this.studentNumber = educationData.education.studentNumber ?? "");
689+
(this.studentNumber = educationData.education.studentNumber ?? ""));
688690
this.isNameUnverified = educationData.education.isNameUnverified ?? false;
689691
this.startYear = formatDate(educationData.education.startDate || "") ?? "";
690692
this.endYear = formatDate(educationData.education.endDate || "") ?? "";

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/inputs/EceEducationPreview.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
</v-row>
1111
<v-row>
1212
<v-col cols="4">
13-
<p class="small">Name of program or course</p>
13+
<p class="small">Name of {{ applicationStore.isDraftCertificateTypeEceAssistant ? "course" : "program" }}</p>
1414
</v-col>
1515
<v-col>
1616
<p class="small font-weight-bold">{{ education.programName }}</p>
1717
</v-col>
1818
</v-row>
1919
<v-row>
2020
<v-col cols="4">
21-
<p class="small">Start date of program or course</p>
21+
<p class="small">Start date of {{ applicationStore.isDraftCertificateTypeEceAssistant ? "course" : "program" }}</p>
2222
</v-col>
2323
<v-col>
2424
<p class="small font-weight-bold">{{ formatDate(education.startDate || "", "LLLL d, yyyy") }}</p>
2525
</v-col>
2626
</v-row>
2727
<v-row>
2828
<v-col cols="4">
29-
<p class="small">End date of program or course</p>
29+
<p class="small">End date of {{ applicationStore.isDraftCertificateTypeEceAssistant ? "course" : "program" }}</p>
3030
</v-col>
3131
<v-col>
3232
<p class="small font-weight-bold">{{ formatDate(education.endDate || "", "LLLL d, yyyy") }}</p>

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/components/pages/Submitted.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@
3232
Your application summary lists the supporting documents you need to submit as your educational institution is not recognized by the ECE Registry
3333
</strong>
3434
</li>
35-
<li>Once submitted, we will review these documents to determine whether the course or program is considered equivalent</li>
35+
<li>
36+
Once submitted, we will review these documents to determine whether the {{ applicationIsEceAssistant ? "course" : "program" }} is considered
37+
equivalent
38+
</li>
3639
</ul>
3740
<br />
3841
</div>
@@ -95,6 +98,9 @@ export default defineComponent({
9598
applicationHasEducationNotRecognized() {
9699
return this.applicationStore.application?.transcripts?.some((transcript) => transcript.educationRecognition === "NotRecognized");
97100
},
101+
applicationIsEceAssistant() {
102+
return this.applicationStore.application?.certificationTypes?.includes("EceAssistant");
103+
},
98104
},
99105
});
100106
</script>

0 commit comments

Comments
 (0)