mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-26 05:14:39 +00:00
add folder captions in Card
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
ad714b4653
commit
f23b0b4886
@ -27,6 +27,8 @@
|
||||
|
||||
export let spaceClass: Ref<Class<Space>>
|
||||
export let space: Ref<Space>
|
||||
export let spaceLabel: IntlString
|
||||
export let spacePlaceholder: IntlString
|
||||
export let label: IntlString
|
||||
export let okLabel: IntlString
|
||||
export let okAction: () => void
|
||||
@ -44,7 +46,7 @@
|
||||
<div class="content"><slot /></div>
|
||||
<div class="flex-col pool" class:shrink={$$slots.contacts}>
|
||||
<div class="separator" />
|
||||
<SpaceSelect _class={spaceClass} label={'Title'} placeholder={'Select Project'} bind:value={space} />
|
||||
<SpaceSelect _class={spaceClass} label={spaceLabel} placeholder={spacePlaceholder} bind:value={space} />
|
||||
</div>
|
||||
{#if $$slots.contacts}
|
||||
<div class="flex-between contacts">
|
||||
|
@ -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') }}>
|
||||
<Grid column={1} rowGap={1.75}>
|
||||
|
@ -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') }}>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user