mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
fix of twig if condition for person resources
This commit is contained in:
@@ -17,8 +17,7 @@
|
||||
{% block personcontent %}
|
||||
|
||||
<h1>{{ 'List of resources'|trans }}</h1>
|
||||
|
||||
{% if personResources is not null %}
|
||||
{% if personResources is not empty %}
|
||||
{% for resource in personResources %}
|
||||
<div class="flex-table">
|
||||
<div class="item-bloc">
|
||||
@@ -91,7 +90,7 @@
|
||||
{% endfor %}
|
||||
|
||||
{% else %}
|
||||
<p>{{ 'There are no available resources'|trans }}</p>
|
||||
<p class="chill-no-data-statement">{{ 'There are no available resources'|trans }}</p>
|
||||
{% endif %}
|
||||
|
||||
<h1 style="margin-bottom: 2rem;">{{ 'Add a person resource'|trans }}</h1>
|
||||
|
Reference in New Issue
Block a user