mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
Merge
This commit is contained in:
commit
52b4f1a659
@ -2,7 +2,7 @@ services:
|
|||||||
- chill/database:latest
|
- chill/database:latest
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export GITHUB_COMPOSER_AUTH=$GITHUB_TOKEN
|
- composer config github-oauth.github.com $GITHUB_TOKEN
|
||||||
- composer install --no-interaction
|
- composer install --no-interaction
|
||||||
- cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml
|
- cp Tests/Fixtures/App/app/config/parameters.gitlab-ci.yml Tests/Fixtures/App/app/config/parameters.yml
|
||||||
- php Tests/Fixtures/App/app/console.php --env=test cache:warmup
|
- php Tests/Fixtures/App/app/console.php --env=test cache:warmup
|
||||||
@ -14,4 +14,4 @@ test:php-5.6:
|
|||||||
script: phpunit --testdox
|
script: phpunit --testdox
|
||||||
test:php-7:
|
test:php-7:
|
||||||
stage: test
|
stage: test
|
||||||
script: phpunit --testdox
|
script: phpunit --testdox
|
@ -100,62 +100,12 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block vertical_menu_content %}
|
{% block vertical_menu_content %}
|
||||||
<!-- <div class="grid-3 float-right"> -->
|
{{ chill_menu('person', {
|
||||||
{# Note: activeRouteKey should be defined in Controller or child layout #}
|
'layout': 'ChillPersonBundle::menu.html.twig',
|
||||||
{{ chill_menu('person', {
|
'args' : {'person_id': person.id },
|
||||||
'layout': 'ChillPersonBundle::menu.html.twig',
|
'activeRouteKey': activeRouteKey
|
||||||
'args' : {'person_id': person.id },
|
}) }}
|
||||||
'activeRouteKey': activeRouteKey
|
|
||||||
}) }}
|
|
||||||
<!-- </div> -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_content %}
|
{% block layout_content %}
|
||||||
|
|
||||||
{#
|
|
||||||
<div id="person_details" class="content parent">
|
|
||||||
<section class="container">
|
|
||||||
<div id="person_details_container" class="grid-8 push-1">
|
|
||||||
{# Flash messages ! # }
|
|
||||||
<div class="container">
|
|
||||||
{% for flashMessage in app.session.flashbag.get('success') %}
|
|
||||||
<div class="grid-8 centered success">
|
|
||||||
<span>
|
|
||||||
{{ flashMessage|raw }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% for flashMessage in app.session.flashbag.get('danger') %}
|
|
||||||
<div class="grid-8 centered error">
|
|
||||||
<span>
|
|
||||||
{{ flashMessage|raw }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% for flashMessage in app.session.flashbag.get('info') %}
|
|
||||||
<div class="grid-8 centered notice">
|
|
||||||
<span>
|
|
||||||
{{ flashMessage|raw }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% block personcontent %}<!-- block personcontent empty -->{%endblock%}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="grid-3 float-right">
|
|
||||||
{# Note: activeRouteKey should be defined in Controller or child layout # }
|
|
||||||
{{ chill_menu('person', {
|
|
||||||
'layout': 'ChillPersonBundle::menu.html.twig',
|
|
||||||
'args' : {'person_id': person.id },
|
|
||||||
'activeRouteKey': activeRouteKey
|
|
||||||
}) }}
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
#}
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
x
Reference in New Issue
Block a user