Skip to content

Commit 6f32afa

Browse files
committed
Formatting
1 parent 61bc1b3 commit 6f32afa

File tree

10 files changed

+213
-156
lines changed

10 files changed

+213
-156
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { beforeAll } from 'vitest';
2-
import { setProjectAnnotations } from '@storybook/vue3-vite';
3-
import * as projectAnnotations from './preview';
1+
import { beforeAll } from "vitest";
2+
import { setProjectAnnotations } from "@storybook/vue3-vite";
3+
import * as projectAnnotations from "./preview";
44

55
// This is an important step to apply the right configuration when testing your stories.
66
// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations
77
const project = setProjectAnnotations([projectAnnotations]);
88

9-
beforeAll(project.beforeAll);
9+
beforeAll(project.beforeAll);
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
{
2-
"recommendations": [
3-
"Vue.volar",
4-
"dbaeumer.vscode-eslint",
5-
"esbenp.prettier-vscode"
6-
]
7-
}
2+
"recommendations": ["Vue.volar", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
3+
}

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/api/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const cancelDraftApplication = async (applicationId: string): Promise<ApiRespons
4747

4848
return await apiResultHandler.execute<Components.Schemas.CancelDraftApplicationResponse | null | undefined>({
4949
request: client.draftapplication_delete(pathParameters),
50-
key: "draftapplication_delete"
50+
key: "draftapplication_delete",
5151
});
5252
};
5353

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

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
<v-col cols="12">
1515
<ECEHeader title="Character reference" />
1616
<div class="d-flex flex-column ga-3 my-6">
17-
<p>You will need to provide a character reference. You'll enter their name and email. We'll contact them later
18-
after you submit your application.</p>
17+
<p>You will need to provide a character reference. You'll enter their name and email. We'll contact them later after you submit your application.</p>
1918
<p>The reference must be someone who:</p>
2019
<ul class="ml-10">
2120
<li>Can speak to your character</li>
@@ -31,16 +30,14 @@
3130
<ECEHeader title="Work experience" />
3231
<div v-if="!expired" class="d-flex flex-column ga-3 my-6">
3332
<p>
34-
You need to have completed 400 hours of work experience and be able to provide references to verify the hours.
35-
If you worked at multiple locations, you
33+
You need to have completed 400 hours of work experience and be able to provide references to verify the hours. If you worked at multiple locations, you
3634
can provide multiple references.
3735
</p>
3836
<p>The hours must:</p>
3937
<ul class="ml-10">
4038
<li>Be related to the field of early childhood education</li>
4139
<li>
42-
Have been completed within the term of your current certificate (between {{
43-
formattedLatestCertificationEffectiveDate }} and
40+
Have been completed within the term of your current certificate (between {{ formattedLatestCertificationEffectiveDate }} and
4441
{{ formattedLatestCertificationExpiryDate }})
4542
</li>
4643
</ul>
@@ -53,8 +50,7 @@
5350
</div>
5451
<div v-if="expired && !expiredMoreThan5Years" class="d-flex flex-column ga-3 my-6">
5552
<p>
56-
You need to have completed 400 hours of work experience and be able to provide references to verify the hours.
57-
If you worked at multiple locations, you
53+
You need to have completed 400 hours of work experience and be able to provide references to verify the hours. If you worked at multiple locations, you
5854
can provide multiple references.
5955
</p>
6056
<p>The hours must:</p>
@@ -70,8 +66,7 @@
7066
</ul>
7167
</div>
7268
<div v-if="expired && expiredMoreThan5Years" class="d-flex flex-column ga-3 my-6">
73-
<p>You need to have completed 500 hours of work experience and be able to provide references to verify the hours.
74-
</p>
69+
<p>You need to have completed 500 hours of work experience and be able to provide references to verify the hours.</p>
7570
<p>Important information about calculating hours:</p>
7671
<ul class="ml-10">
7772
<li>Only include hours you worked once you began your early childhood education training program</li>

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

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
<template>
2-
<v-col v-if="
3-
certificationStore.certificateStatus(applicationStore.draftApplication.fromCertificate) == 'Active' ||
4-
(certificationStore.certificateStatus(applicationStore.draftApplication.fromCertificate) == 'Expired' &&
5-
!certificationStore.expiredMoreThan5Years(applicationStore.draftApplication.fromCertificate))
6-
" cols="12">
2+
<v-col
3+
v-if="
4+
certificationStore.certificateStatus(applicationStore.draftApplication.fromCertificate) == 'Active' ||
5+
(certificationStore.certificateStatus(applicationStore.draftApplication.fromCertificate) == 'Expired' &&
6+
!certificationStore.expiredMoreThan5Years(applicationStore.draftApplication.fromCertificate))
7+
"
8+
cols="12"
9+
>
710
<Alert title="Do you have 500 hours of supervised work experience?">
811
You should
9-
<a class="cursor-pointer text-decoration-underline" @click="
10-
applicationStore.draftApplication.certificationTypes = ['FiveYears'];
11-
applicationStore.draftApplication.applicationType = 'New';
12-
">
12+
<a
13+
class="cursor-pointer text-decoration-underline"
14+
@click="
15+
applicationStore.draftApplication.certificationTypes = ['FiveYears'];
16+
applicationStore.draftApplication.applicationType = 'New';
17+
"
18+
>
1319
apply for ECE Five Year certification
1420
</a>
1521
if you have completed 500 hours of work experience.
@@ -27,26 +33,26 @@
2733
<ul class="ml-10">
2834
<li>You can only renew this certificate once</li>
2935
<li>You cannot renew an ECE One Year Certificate if it has been expired for more than 5 years</li>
30-
<li>After you renew you’ll only be able to apply for an ECE Five Year certificate or an ECE Assistant
31-
certificate</li>
36+
<li>After you renew you’ll only be able to apply for an ECE Five Year certificate or an ECE Assistant certificate</li>
3237
</ul>
3338
</div>
3439
</v-col>
3540
<v-col cols="12">
3641
<ECEHeader title="Reason why you're renewing your ECE One Year certification" />
3742
<div class="d-flex flex-column ga-3 my-6">
3843
<p>
39-
You will need to provide a reason for why you were unable to complete the required 500 hours of supervised work
40-
experience during the term of your ECE
41-
One Year Certificate and/or why you were unable to provide a reference from the certified ECE who supervised the
42-
hours.
44+
You will need to provide a reason for why you were unable to complete the required 500 hours of supervised work experience during the term of your ECE
45+
One Year Certificate and/or why you were unable to provide a reference from the certified ECE who supervised the hours.
4346
</p>
4447
<p>
4548
If you've completed 500 hours, you should apply for
46-
<a class="cursor-pointer text-decoration-underline" @click="
47-
applicationStore.draftApplication.certificationTypes = ['FiveYears'];
48-
applicationStore.draftApplication.applicationType = 'New';
49-
">
49+
<a
50+
class="cursor-pointer text-decoration-underline"
51+
@click="
52+
applicationStore.draftApplication.certificationTypes = ['FiveYears'];
53+
applicationStore.draftApplication.applicationType = 'New';
54+
"
55+
>
5056
ECE Five Year certification
5157
</a>
5258
instead.
@@ -56,8 +62,7 @@
5662
<v-col cols="12">
5763
<ECEHeader title="Character reference" />
5864
<div class="d-flex flex-column ga-3 my-6">
59-
<p>You will need to provide a character reference. You'll enter their name and email. We'll contact them later
60-
after you submit your application.</p>
65+
<p>You will need to provide a character reference. You'll enter their name and email. We'll contact them later after you submit your application.</p>
6166
<p>The reference must be someone who:</p>
6267
<ul class="ml-10">
6368
<li>Can speak to your character</li>
@@ -73,8 +78,7 @@
7378
<ECEHeader title="Work experience" />
7479
<div class="d-flex flex-column ga-3 my-6">
7580
<p>
76-
You need to have completed 400 hours of work experience and be able to provide references to verify the hours.
77-
If you worked at multiple locations, you
81+
You need to have completed 400 hours of work experience and be able to provide references to verify the hours. If you worked at multiple locations, you
7882
can provide multiple references.
7983
</p>
8084
<p>The hours must:</p>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-card :rounded="!isRounded ? '0' : ''" flat color="primary" class="h-100 d-flex flex-column justify-space-between h-100">
2+
<v-card :rounded="!isRounded ? '0' : ''" flat color="primary" class="h-100 d-flex flex-column justify-space-between h-100">
33
<v-card-item class="ma-4">
44
<h2 class="text-white">Transfer certification</h2>
55
<p class="small text-white mt-4">

0 commit comments

Comments
 (0)