mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-03 18:58:24 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			testing
			...
			doc/author
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8423c6c99c | |||
| 03feb78037 | 
@@ -148,12 +148,8 @@
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                {% endif %}
 | 
			
		||||
            </li>
 | 
			
		||||
            {% if options['addCenter'] and person|chill_resolve_center is not null %}
 | 
			
		||||
                    {% if person|chill_resolve_center is iterable %}
 | 
			
		||||
            {% if options['addCenter'] and person|chill_resolve_center|length > 0 %}
 | 
			
		||||
                {% set centers = person|chill_resolve_center %}
 | 
			
		||||
                    {% else %}
 | 
			
		||||
                        {% set centers = [ person|chill_resolve_center ] %}
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                <li>
 | 
			
		||||
                    <i class="fa fa-li fa-long-arrow-right"></i>
 | 
			
		||||
                    {% for c in centers %}
 | 
			
		||||
 
 | 
			
		||||
@@ -17,18 +17,14 @@
 | 
			
		||||
        {%- endif -%}
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="text-md-end">
 | 
			
		||||
        {% if person|chill_resolve_center is not null %}
 | 
			
		||||
        {% if person|chill_resolve_center|length > 0 %}
 | 
			
		||||
            <span class="open_sansbold">
 | 
			
		||||
                {{ 'Center'|trans|upper}} :
 | 
			
		||||
            </span>
 | 
			
		||||
 | 
			
		||||
            {% if person|chill_resolve_center is iterable %}
 | 
			
		||||
            {% for c in person|chill_resolve_center %}
 | 
			
		||||
                {{  c.name|upper }}{% if not loop.last %}, {% endif %}
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
            {% else %}
 | 
			
		||||
                {{  person|chill_resolve_center.name|upper }}
 | 
			
		||||
            {% endif %}
 | 
			
		||||
 | 
			
		||||
        {%- endif -%}
 | 
			
		||||
    </div>
 | 
			
		||||
 
 | 
			
		||||
@@ -36,7 +36,7 @@ final class Version20211119215630 extends AbstractMigration
 | 
			
		||||
 | 
			
		||||
    public function down(Schema $schema): void
 | 
			
		||||
    {
 | 
			
		||||
        $this->addSql("CREATE VIEW view_chill_person_current_address AS
 | 
			
		||||
        $this->addSql("CREATE OR REPLACE VIEW view_chill_person_current_address AS
 | 
			
		||||
            SELECT
 | 
			
		||||
                cphm.person_id  AS person_id,
 | 
			
		||||
                cma.id AS address_id,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user