features, cleanup and bug fixes #26
2 changed files with 3 additions and 1 deletions
add an edit link to the job offer entries when logged-in as a reviewer
commit
21f261094f
|
|
@ -40,7 +40,7 @@ pub(crate) enum EditResponseError {
|
||||||
|
|
||||||
impl ResponseError for 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")]
|
#[get("/{id}/edit", name = "joboffer_edit")]
|
||||||
pub(crate) async fn edit_joboffer_get(
|
pub(crate) async fn edit_joboffer_get(
|
||||||
|
|
|
||||||
|
|
@ -101,5 +101,7 @@
|
||||||
{{/confirm-modal}}
|
{{/confirm-modal}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
<a href="{{job_offer.actions.edit_url}}">Bearbeiten</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue