{% if task %}
{% if exist is same as(true) %}
{% for work in works %}
{% endfor %}
{% else %}
{% if task is not null %}
{% endif %}
{% endif %}
{% elseif worker %}
{% for work in works %}
{% endfor %}
{% else %}
{% for work in works %}
{% endfor %}
{% endif %}