mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +00:00
Better size for person menu
This commit is contained in:
parent
7798cfedfa
commit
39a859d85e
@ -87,7 +87,7 @@
|
||||
|
||||
<div id="person_details" class="content parent">
|
||||
<section class="container">
|
||||
<div class="grid-8">
|
||||
<div class="grid-9">
|
||||
{# Flash messages ! #}
|
||||
<div class="container">
|
||||
{% for flashMessage in app.session.flashbag.get('success') %}
|
||||
@ -118,12 +118,14 @@
|
||||
{% block personcontent %}<!-- block personcontent empty -->{%endblock%}
|
||||
</div>
|
||||
|
||||
{# 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 class="grid-3">
|
||||
{# 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>
|
||||
|
@ -14,16 +14,14 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#}
|
||||
<div class="grid-4">
|
||||
<ul class="tab-nav">
|
||||
{% for route in routes %}
|
||||
<li class="{% spaceless %}
|
||||
{% if route.key == activeRouteKey %}
|
||||
active
|
||||
{% endif %}
|
||||
{% endspaceless %} ">
|
||||
<a href="{{ path(route.key, args ) }}" >{{ route.label|trans }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="tab-nav">
|
||||
{% for route in routes %}
|
||||
<li class="{% spaceless %}
|
||||
{% if route.key == activeRouteKey %}
|
||||
active
|
||||
{% endif %}
|
||||
{% endspaceless %} ">
|
||||
<a href="{{ path(route.key, args ) }}" >{{ route.label|trans }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
Loading…
x
Reference in New Issue
Block a user