features, cleanup and bug fixes #26
2 changed files with 4 additions and 9 deletions
more ediet dialog allow chaning the submission date and setting the permanent flag
commit
3369a245d5
|
|
@ -51,7 +51,7 @@ pub(crate) async fn edit_joboffer_get(
|
|||
config: web::Data<ServerConfig>,
|
||||
session: Session,
|
||||
) -> actix_web::Result<HttpResponse, EditResponseError> {
|
||||
let _user = User::current(&session)?;
|
||||
let user = User::current(&session)?;
|
||||
let id = &*path;
|
||||
|
||||
let job_offer = offers
|
||||
|
|
@ -68,6 +68,7 @@ pub(crate) async fn edit_joboffer_get(
|
|||
|
||||
let data = json!({
|
||||
"base": base,
|
||||
"user": user,
|
||||
"job_offer": job_offer,
|
||||
"form" : {
|
||||
"remaining_attachments": vec![(); additional_slots]
|
||||
|
|
|
|||
|
|
@ -72,17 +72,11 @@
|
|||
{{#if user }}
|
||||
<fieldset class="advanced-options">
|
||||
<legend>Erweiterte Optionen für Reviewer</legend>
|
||||
<label class="backdate-title" for="offer-backdate">Eingegangen (Optionale Rückdatierung)</label>
|
||||
<label class="backdate-title" for="offer-backdate">Eingegangen (Optionales Umdatieren)</label>
|
||||
<input class="backdate-select" id="offer-backdate" type="datetime-local" name="backdate"><br />
|
||||
|
||||
<label class="review-title" for="approval"checked>Als bereits ge-reviwed markieren</label>
|
||||
<input id="approval" class="review-checkbox" type="checkbox" name="pre_approved" value="approved" checked><br />
|
||||
|
||||
<label class="review-title" for="confirmation">Überspringe die Bestätigung für diese Stellenausschreibung</label>
|
||||
<input id="confirmation" class="confirmation-checkbox" type="checkbox" name="skip_confirmation" value="skip" checked><br />
|
||||
|
||||
<label class="infinite-title" for="permanent">Permanente Stellenausschreibung</label>
|
||||
<input id="permanent" class="infinite-checkbox" type="checkbox" name="permanent" value="permanent"><br />
|
||||
<input id="permanent" class="infinite-checkbox" type="checkbox" name="permanent" value="permanent" {{#if job_offer.permanent}}checked="checked"{{/if}}><br />
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue