features, cleanup and bug fixes #26

Merged
ben merged 30 commits from ben/Jobboerse:main into main 2022-06-09 17:36:55 +02:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 21f261094f - Show all commits

add an edit link to the job offer entries when logged-in as a reviewer

Bennet Bleßmann 2022-06-02 03:04:47 +02:00 committed by Bennet Bleßmann
Signed by: ben
GPG key ID: 3BE1A1A3CBC3CF99

View file

@ -40,7 +40,7 @@ pub(crate) enum EditResponseError {
impl ResponseError for EditResponseError {}
pub(crate) const JOBOFFER_EDIT_ROUTE: &str = "joboffers_delete_expired";
pub(crate) const JOBOFFER_EDIT_ROUTE: &str = "joboffer_edit";
#[get("/{id}/edit", name = "joboffer_edit")]
pub(crate) async fn edit_joboffer_get(

View file

@ -101,5 +101,7 @@
{{/confirm-modal}}
{{/if}}
{{/if}}
<a href="{{job_offer.actions.edit_url}}">Bearbeiten</a>
{{/if}}
</section>