From f23b0b4886408141baafcbe5b98a67a0fa55de83 Mon Sep 17 00:00:00 2001 From: Andrey Platov Date: Sat, 11 Sep 2021 08:38:54 +0200 Subject: [PATCH] add folder captions in `Card` Signed-off-by: Andrey Platov --- packages/presentation/src/components/Card.svelte | 4 +++- .../recruit-resources/src/components/CreateApplication.svelte | 2 ++ .../recruit-resources/src/components/CreateCandidate.svelte | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/presentation/src/components/Card.svelte b/packages/presentation/src/components/Card.svelte index 497ee6da2e..9a4f3a13f5 100644 --- a/packages/presentation/src/components/Card.svelte +++ b/packages/presentation/src/components/Card.svelte @@ -27,6 +27,8 @@ export let spaceClass: Ref> export let space: Ref + export let spaceLabel: IntlString + export let spacePlaceholder: IntlString export let label: IntlString export let okLabel: IntlString export let okAction: () => void @@ -44,7 +46,7 @@
- +
{#if $$slots.contacts}
diff --git a/plugins/recruit-resources/src/components/CreateApplication.svelte b/plugins/recruit-resources/src/components/CreateApplication.svelte index 06d7cfc123..69ae5c8c40 100644 --- a/plugins/recruit-resources/src/components/CreateApplication.svelte +++ b/plugins/recruit-resources/src/components/CreateApplication.svelte @@ -58,6 +58,8 @@ okAction={createApplication} canSave={candidate !== undefined} spaceClass={recruit.class.Vacancy} + spaceLabel={'Vacancy'} + spacePlaceholder={'Select vacancy'} bind:space={_space} on:close={() => { dispatch('close') }}> diff --git a/plugins/recruit-resources/src/components/CreateCandidate.svelte b/plugins/recruit-resources/src/components/CreateCandidate.svelte index 859d357bc4..7d1842d3c4 100644 --- a/plugins/recruit-resources/src/components/CreateCandidate.svelte +++ b/plugins/recruit-resources/src/components/CreateCandidate.svelte @@ -129,6 +129,8 @@ okAction={createCandidate} canSave={object.firstName.length > 0 && object.lastName.length > 0} spaceClass={recruit.class.Candidates} + spaceLabel={'Talent Pool'} + spacePlaceholder={'Select pool'} bind:space={_space} on:close={() => { dispatch('close') }}>