Stellen: Bewerbung per E-Mail-Adresse (0.28.3)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m39s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m45s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 5m50s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 5m51s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m3s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m8s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m52s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 6m55s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m33s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m39s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m45s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 5m50s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 5m51s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m3s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 10m8s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m52s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 6m55s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m33s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bd0808b1f8
commit
14e39bd9b3
125 changed files with 374 additions and 323 deletions
|
|
@ -38,6 +38,7 @@ const form = useForm({
|
|||
description: p?.description ?? '',
|
||||
apply_mode: p?.apply_mode ?? 'online',
|
||||
apply_url: p?.apply_url ?? '',
|
||||
apply_email: p?.apply_email ?? '',
|
||||
contact_id: p?.contact?.id ?? null,
|
||||
notify_email: p?.notify_email ?? '',
|
||||
publish: !p ? 'now' : p.status === 'draft' ? 'draft' : p.status === 'scheduled' ? 'at' : 'now',
|
||||
|
|
@ -156,6 +157,9 @@ function remove() {
|
|||
<FormField v-if="form.apply_mode === 'link'" id="job-apply-url" label="Link zur Bewerbung" :error="form.errors.apply_url">
|
||||
<Input id="job-apply-url" v-model="form.apply_url" maxlength="1000" placeholder="https://…" />
|
||||
</FormField>
|
||||
<FormField v-if="form.apply_mode === 'email'" id="job-apply-email" label="E-Mail-Adresse für Bewerbungen" :error="form.errors.apply_email">
|
||||
<Input id="job-apply-email" v-model="form.apply_email" type="email" maxlength="190" placeholder="z. B. bewerbung@firma.de" />
|
||||
</FormField>
|
||||
<FormField id="job-contact" label="Ansprechperson" :error="form.errors.contact_id" :hint="form.apply_mode === 'online' ? 'Erhält die Bewerbungen im Portal. Ohne Ansprechperson: alle mit „Bewerbungen einsehen“.' : 'Wird bei der Stelle mit E-Mail und Telefon gezeigt.'">
|
||||
<PersonPicker id="job-contact" v-model="form.contact_id" :person="p?.contact" />
|
||||
</FormField>
|
||||
|
|
|
|||
|
|
@ -87,6 +87,11 @@ function withdraw() {
|
|||
<Button class="mt-4 w-full" :disabled="!canApply" @click="applying = true"><Send /> Jetzt bewerben</Button>
|
||||
<p v-if="!canApply && posting.status !== 'open'" class="mt-2 text-xs text-muted-foreground">Bewerben ist gerade nicht möglich.</p>
|
||||
</template>
|
||||
<template v-else-if="posting.apply_mode === 'email' && posting.apply_email">
|
||||
<p class="text-sm text-muted-foreground">Bitte schicken Sie Ihre Bewerbung per E-Mail an:</p>
|
||||
<p class="mt-1 text-sm font-medium break-all select-all">{{ posting.apply_email }}</p>
|
||||
<Button class="mt-4 w-full" as-child><a :href="`mailto:${posting.apply_email}?subject=${encodeURIComponent(`Bewerbung: ${posting.title}`)}`"><Mail /> E-Mail schreiben</a></Button>
|
||||
</template>
|
||||
<template v-else-if="posting.apply_mode === 'link' && posting.apply_url">
|
||||
<Button class="w-full" as-child><a :href="posting.apply_url" target="_blank" rel="noopener"><ExternalLink /> Zur Bewerbung</a></Button>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue