Fixed: test for userjob associated to course in Regulation list

This commit is contained in:
Julien Fastré 2022-07-11 19:32:19 +02:00
parent 6998043159
commit ba8a80a202

View File

@ -14,7 +14,7 @@
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_UPDATE', period) %}
<div class="item-col item-meta">
{% set job_id = null %}
{% if period.job is defined %}
{% if period.job is not null %}
{% set job_id = period.job.id %}
{% endif %}
<span