mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-18 06:46:11 +00:00
change test for the period's job in twig
This commit is contained in:
parent
832da83b27
commit
a947b9defb
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user