public function onLeftMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     if ($this->security_context->isGranted('ROLE_NEWS_ADMIN')) {
         $menu[71] = array('header' => $this->translator->trans('News'), 'image' => 'bundles/clublayout/images/icons/16x16/newspaper.png', 'items' => array(array('name' => $this->translator->trans('Announcement'), 'route' => $this->router->generate('club_news_adminannouncement_index'))));
         $event->appendMenu($menu);
     }
 }
 public function onLeftMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     if ($this->security_context->isGranted('ROLE_PASSKEY_ADMIN')) {
         $menu[64] = array('header' => $this->translator->trans('Passkey'), 'image' => 'bundles/clublayout/images/icons/16x16/key.png', 'items' => array(array('name' => $this->translator->trans('Passkey'), 'route' => $this->router->generate('club_passkey_adminpasskey_index'))));
         $event->appendMenu($menu);
     }
 }
 public function onLeftMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     if ($this->security_context->isGranted('ROLE_MATCH_ADMIN')) {
         $menu[23] = array('header' => $this->translator->trans('Match'), 'image' => 'bundles/clublayout/images/icons/16x16/medal_gold_1.png');
         $event->appendMenu($menu);
     }
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     if ($this->container->getParameter('club_welcome.enable_blog')) {
         $menu[44] = array('name' => $this->translator->trans('Blog'), 'route' => $this->router->generate('club_welcome_blog_index'), 'image' => 'bundles/clublayout/images/icons/32x32/transmit.png', 'text' => $this->translator->trans('Do you have any news that could interest all the other members in the club, feel free to share here.'));
     }
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     if (!$this->security_context->isGranted('IS_AUTHENTICATED_FULLY')) {
         return;
     }
     $menu = array();
     $menu[11] = array('name' => $this->translator->trans('Members'), 'route' => $this->router->generate('club_user_member_index'), 'image' => 'bundles/clublayout/images/icons/32x32/group.png', 'text' => $this->translator->trans('Here is a list of all members, if you have to contact a specific player, click here.'));
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     $menu[37] = array('name' => $this->translator->trans('Ranking'), 'route' => $this->router->generate('club_ranking_ranking_index'), 'image' => 'bundles/clublayout/images/icons/32x32/medal_gold_1.png', 'text' => $this->translator->trans('Here you can find all played matches, go on and see all played matches, see who defeated who.'));
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     $menu[45] = array('name' => $this->translator->trans('Shop'), 'route' => $this->router->generate('shop'), 'image' => 'bundles/clublayout/images/icons/32x32/basket.png', 'text' => $this->translator->trans('Talk a walk in our shop, you will find everything that the club offers of products and services.'));
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     $menu[17] = array('name' => $this->translator->trans('Exchange'), 'route' => $this->router->generate('club_exchange_exchange_index'), 'image' => 'bundles/clublayout/images/icons/32x32/connect.png', 'text' => $this->translator->trans('Take a look in the exchange market, you can find other players that need a partner.'));
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     $menu[15] = array('name' => $this->translator->trans('Team'), 'route' => $this->router->generate('club_team_team_index'), 'image' => 'bundles/clublayout/images/icons/32x32/book.png', 'text' => $this->translator->trans('Here you will find all the teams in the club, click and see what we can offer.'));
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     $menu[] = array('name' => $this->translator->trans('Events'), 'route' => $this->router->generate('event_event'), 'image' => 'bundles/clublayout/images/icons/32x32/calendar.png', 'text' => $this->translator->trans('What is going on in the club, are the any events? Click here to find out.'));
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     $menu[35] = array('name' => $this->translator->trans('Booking'), 'route' => $this->router->generate('club_booking_overview'), 'image' => 'bundles/clublayout/images/icons/32x32/time.png', 'text' => $this->translator->trans('Click here to see the booking overview.'));
     $event->appendMenu($menu);
 }
 public function onDashMenuRender(\Club\MenuBundle\Event\FilterMenuEvent $event)
 {
     $menu = array();
     $menu[33] = array('name' => $this->translator->trans('Weather'), 'route' => $this->router->generate('club_weather_weather_index'), 'image' => 'bundles/clublayout/images/icons/32x32/weather_sun.png', 'text' => $this->translator->trans('If you need to check out the weather forecast to find the best time to play, click here.'));
     $event->appendMenu($menu);
 }