mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
Improving navigation
This commit is contained in:
parent
06ae186427
commit
eb29131957
@ -29,10 +29,14 @@ chill_person_create:
|
|||||||
pattern: /person/create
|
pattern: /person/create
|
||||||
defaults: {_controller: ChillPersonBundle:Person:create }
|
defaults: {_controller: ChillPersonBundle:Person:create }
|
||||||
|
|
||||||
|
|
||||||
chill_person_search:
|
chill_person_search:
|
||||||
pattern: /search
|
pattern: /search
|
||||||
defaults: { _controller: ChillPersonBundle:Person:search }
|
defaults: { _controller: ChillPersonBundle:Person:search }
|
||||||
|
options:
|
||||||
|
menus:
|
||||||
|
main:
|
||||||
|
order: 30
|
||||||
|
label: Chercher une personne
|
||||||
|
|
||||||
chill_person_history_list:
|
chill_person_history_list:
|
||||||
pattern: /person/{person_id}/history
|
pattern: /person/{person_id}/history
|
||||||
@ -47,7 +51,6 @@ chill_person_history_create:
|
|||||||
pattern: /person/{person_id}/history/create
|
pattern: /person/{person_id}/history/create
|
||||||
defaults: { _controller: ChillPersonBundle:History:create }
|
defaults: { _controller: ChillPersonBundle:History:create }
|
||||||
|
|
||||||
|
|
||||||
chill_person_history_update:
|
chill_person_history_update:
|
||||||
pattern: /person/history/{history_id}/update
|
pattern: /person/history/{history_id}/update
|
||||||
defaults: { _controller: ChillPersonBundle:History:update }
|
defaults: { _controller: ChillPersonBundle:History:update }
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{% endstylesheets %}
|
{% endstylesheets %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block layout_content %}
|
||||||
<div id="person_wrapper">
|
<div id="person_wrapper">
|
||||||
<div id="general">
|
<div id="general">
|
||||||
<h1>
|
<h1>
|
||||||
@ -38,6 +38,33 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="person_details">
|
<div id="person_details">
|
||||||
|
{# 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>
|
||||||
|
|
||||||
<section class="container">
|
<section class="container">
|
||||||
{# Note: activeRouteKey should be defined in Controller or child layout #}
|
{# Note: activeRouteKey should be defined in Controller or child layout #}
|
||||||
{{ chill_menu('person', {
|
{{ chill_menu('person', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user