Jobboerse/packages/jobboerse/templates/job_offer/edit.hb
JustAnotherJavaProgrammer 7c17cba892 Update text on the website
- fix spelling mistakes
- rephrase text
- translate all text to German
- update the FAQ
2023-12-22 22:08:54 +01:00

86 lines
5.1 KiB
Text

{{#> base}}
<div class="centered">
<form class="submission-form" method="post" enctype="multipart/form-data">
<input type="hidden" name="hash" value="{{job_offer.hash}}" />
<label class="offer-title-title" for="offer-title">Titel der Anzeige</label>
<input class="offer-title-field" id="offer-title" type="text" name="title" autocomplete="on" autofocus value="{{job_offer.title}}" required><br />
<label class="submitter-title" for="offer-offering-party">Anbieter/Unternehmen</label>
<input class="submitter-field" id="offer-offering-party" type="text" name="offering_party" autocomplete="organization" value="{{job_offer.offering_party}}" required><br />
<label class="contact-title" for="contact-data">Kontakt-E-Mail-Addresse<sup>1</sup></label>
<input class="contact-field" id="contact-data" type="email" autocomplete="email" name="offer-contact" value="{{job_offer.contact_data}}" required>
<label class="publish-contact-title" for="publish-contact-data">E-Mail-Adresse öffentlich</label>
<input class="publish-contact-checkbox" id="publish-contact-data" type="checkbox" name="offer-contact-visible" value="visible" {{#if job_offer.public_contact_data}}checked="checked"{{/if}}><br />
<label class="expiry-title" for="offer-expiry">Gültig bis (wenn nicht angegeben, 6 Monate nach Einsendung)</label>
<input class="expiry-select" id="offer-expiry" type="date" name="offer_expiry" {{#if job_offer.expiry_date }}value="{{job_offer.expiry_date}}"{{/if}}><br />
<fieldset class="attachment-area">
<legend>Anhänge</legend>
{{#each job_offer.attachments as |attachment| }}
<div>
{{#unless @first}}
<hr />
{{/unless}}
<input type="text" autocomplete="on" name="file_title_edit[]" value="{{attachment.title}}" />
<input type="text" name="file_name_edit[]" value="{{attachment.file_name}}" />
| <a href="{{attachment.attachment_location}}" target="_blank">Anhang öffnen</a>
| <label for="delete-{{@index}}">Anhang löschen</label> <input id="delete-{{@index}}" type="checkbox" name="delete_attachment[]" value="{{@index}}" />
| <label for="replace-{{@index}}">Anhang ersetzen</label> <input id="replace-{{@index}}" type="file" accept=".pdf" name="file_replace[]" title="Anhang ersetzen" />
<div/>
{{/each}}
{{#each form.remaining_attachments }}
{{#unless @first}}
<hr />
{{else}}
{{#if ../job_offer.attachments }}
<hr />
{{/if}}
{{/unless}}
<div>
<input type="text" autocomplete="on" name="file_title[]" placeholder="Anzeigename"/>
<input type="file" accept=".pdf" name="file[]"/>
<div/>
{{/each}}
</fieldset>
<fieldset class="link-area">
<legend>Links<sup>2</sup></legend>
{{#each job_offer.links as |link| }}
{{#unless @first}}
<hr />
{{/unless}}
<div>
<input type="text" autocomplete="on" name="link_title[]" {{#if link}}value="{{link.title}}"{{/if}} />
<input type="url" autocomplete="url" name="link_url[]" pattern="https://.+" {{#if link}}value="{{link.destination}}"{{/if}} />
<div/>
{{/each}}
</fieldset>
<div class="notes">
Hinweis: Es muss mindestens ein Anhang oder ein Link angegeben werden.
</div>
<div class="footnotes">
1: Die Kontakt-Addresse wird für eine Bestätigungsmail und eventuelle Rückfragen benötigt, sie kann optional auch öffentlich als Teil der Stellenausschreibung angezeigt werden.<br />
2: Link-URLs müssen mit "https://" beginnen
</div>
{{#if user }}
<fieldset class="advanced-options">
<legend>Erweiterte Optionen für Reviewer</legend>
<label class="backdate-title" for="offer-backdate">Eingangsdatum (optionales Umdatieren)</label>
<input class="backdate-select" id="offer-backdate" type="datetime-local" name="backdate"><br />
<label class="infinite-title" for="permanent">Permanente Stellenausschreibung</label>
<input id="permanent" class="infinite-checkbox" type="checkbox" name="permanent" value="permanent" {{#if job_offer.permanent}}checked="checked"{{/if}}><br />
</fieldset>
{{/if}}
<button class="submit-button" type="submit">Stellenausschreibung aktualisieren</button>
</form>
</div>
{{/base}}