fix confirmation dialog for logged-in visitors (reviewers) #33

Merged
ben merged 1 commit from ben/Jobboerse:main into main 2022-08-01 22:22:02 +02:00
Showing only changes of commit 7cf5fe5872 - Show all commits

fix confirmation dialog for logged-in visitors (reviewers)

the job_offer in the confirmation view has actions but no highlight_link
Bennet Bleßmann 2022-08-01 22:19:30 +02:00 committed by Bennet Bleßmann
Signed by: ben
GPG key ID: 3BE1A1A3CBC3CF99

View file

@ -65,7 +65,7 @@
{{#if user }} {{#if user }}
{{#unless job_offer.is_preview }} {{#unless job_offer.is_preview }}
<hr /> <hr />
{{#if job_offer.actions }} {{#if job_offer.actions.highlight_link }}
<div>ID: <a href="{{job_offer.actions.highlight_link}}" >{{job_offer.id}}</a></div> <div>ID: <a href="{{job_offer.actions.highlight_link}}" >{{job_offer.id}}</a></div>
{{/if}} {{/if}}
<div>Review Status: <span class="{{#unless job_offer.reviewed}}unreviewed{{/unless}}">{{job_offer.status.review_status}}</span></div> <div>Review Status: <span class="{{#unless job_offer.reviewed}}unreviewed{{/unless}}">{{job_offer.status.review_status}}</span></div>