mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-14 18:54:59 +00:00
change test for the period's job in twig
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_UPDATE', period) %}
|
{% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_UPDATE', period) %}
|
||||||
<div class="item-col item-meta">
|
<div class="item-col item-meta">
|
||||||
{% set job_id = null %}
|
{% set job_id = null %}
|
||||||
{% if period.job is defined %}
|
{% if period.job is not null %}
|
||||||
{% set job_id = period.job.id %}
|
{% set job_id = period.job.id %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span
|
<span
|
||||||
|
Reference in New Issue
Block a user