Permalink
Browse files

[BetterSelection] refactoring du menu

  • Loading branch information...
1 parent b2c91b8 commit e32ea23e94926d025f3361145acf84e7f2075708 gnugat committed May 23, 2012
@@ -16,9 +16,10 @@ public function selectedMenu(FactoryInterface $factory, array $options)
$menu->setChildrenAttribute('class', 'nav');
$menu->setCurrentUri($request->getRequestUri());
- $menu->addChild($selectedBeingName, array(
+ $menu->addChild('selectedBeing', array(
'route' => 'beings_view',
'routeParameters' => array('name' => $selectedBeingName),
+ 'label' => $selectedBeingName,
));
return $menu;
@@ -7,11 +7,6 @@
{% block title %}Bisouland v2 - Amoureux {{ being.name }}{% endblock %}
-{% block stylesheets %}
- {{ parent() }}
- <link rel="stylesheet" href="{{ asset('css/jquery.countdown.css') }}" />
-{% endblock %}
-
{% block view %}
<article>
<h2>Amoureux {{ being.name }}</h2>
@@ -1,51 +0,0 @@
-/* jQuery Countdown styles 1.5.11. */
-.hasCountdown {
- border: 1px solid #ccc;
- background-color: #eee;
-}
-.countdown_rtl {
- direction: rtl;
-}
-.countdown_holding span {
- background-color: #ccc;
-}
-.countdown_row {
- clear: both;
- width: 100%;
- padding: 0px 2px;
- text-align: center;
-}
-.countdown_show1 .countdown_section {
- width: 98%;
-}
-.countdown_show2 .countdown_section {
- width: 48%;
-}
-.countdown_show3 .countdown_section {
- width: 32.5%;
-}
-.countdown_show4 .countdown_section {
- width: 24.5%;
-}
-.countdown_show5 .countdown_section {
- width: 19.5%;
-}
-.countdown_show6 .countdown_section {
- width: 16.25%;
-}
-.countdown_show7 .countdown_section {
- width: 14%;
-}
-.countdown_section {
- display: block;
- float: left;
- font-size: 75%;
- text-align: center;
-}
-.countdown_amount {
- font-size: 200%;
-}
-.countdown_descr {
- display: block;
- width: 100%;
-}

0 comments on commit e32ea23

Please sign in to comment.