mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-04 11:18:25 +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>
 | 
			
		||||
 
 | 
			
		||||
@@ -233,7 +233,7 @@ Remove resource: "Supprimer ressource"
 | 
			
		||||
Are you sure you want to remove the resource for "%name%" ?: Étes-vous sûr de vouloir supprimer cette ressource de %name%?
 | 
			
		||||
The resource has been successfully removed.: "La ressource a été supprimée."
 | 
			
		||||
List of resources: "Liste des ressources"
 | 
			
		||||
There are no available resources: "Il y aucun ressource"
 | 
			
		||||
There are no available resources: "Aucun ressource"
 | 
			
		||||
no comment found: "Aucun commentaire"
 | 
			
		||||
Select a type: "Choisissez un type"
 | 
			
		||||
Select a person: "Choisissez un usager"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user