-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(new-primary-school): Contacts page (#17466)
Co-authored-by: hfhelgason <hfhelgason@deloitte.is> Co-authored-by: Verónika Sif Sigurðardóttir <vesigurdardottir@deloitte.is> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
caa3127
commit 6691f54
Showing
12 changed files
with
92 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
libs/application/templates/new-primary-school/src/fields/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { default as FriggOptionsAsyncSelectField } from './FriggOptionsAsyncSelectField' | ||
export { default as RelativesTableRepeater } from './RelativesTableRepeater' | ||
export { default as ContactsTableRepeater } from './ContactsTableRepeater' | ||
export { Review } from './Review' |
26 changes: 26 additions & 0 deletions
26
...imary-school/src/forms/NewPrimarySchoolForm/childrenNParentsSection/contactsSubSection.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { | ||
buildCustomField, | ||
buildMultiField, | ||
buildSubSection, | ||
} from '@island.is/application/core' | ||
import { newPrimarySchoolMessages } from '../../../lib/messages' | ||
|
||
export const contactsSubSection = buildSubSection({ | ||
id: 'contactsSubSection', | ||
title: newPrimarySchoolMessages.childrenNParents.contactsSubSectionTitle, | ||
children: [ | ||
buildMultiField({ | ||
id: 'contacts', | ||
title: newPrimarySchoolMessages.childrenNParents.contactsTitle, | ||
description: | ||
newPrimarySchoolMessages.childrenNParents.contactsDescription, | ||
children: [ | ||
buildCustomField({ | ||
id: 'contacts', | ||
title: '', | ||
component: 'ContactsTableRepeater', | ||
}), | ||
], | ||
}), | ||
], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
...mary-school/src/forms/NewPrimarySchoolForm/childrenNParentsSection/relativesSubSection.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters