<?php

/* FOSUserBundle::layout.html.twig */
class __TwigTemplate_2667a253a3a42f8f8325d0a5284274f2b7648278fc65968ff1fb4d22268aee42 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("::base.html.twig", "FOSUserBundle::layout.html.twig", 1);
        $this->blocks = array(
            'stylesheets' => array($this, 'block_stylesheets'),
            'javascripts' => array($this, 'block_javascripts'),
            'body' => array($this, 'block_body'),
            'menu_items' => array($this, 'block_menu_items'),
            'menu_user_content' => array($this, 'block_menu_user_content'),
            'menu_managment_content' => array($this, 'block_menu_managment_content'),
            'menu_report_content' => array($this, 'block_menu_report_content'),
            'menu_notifications_content' => array($this, 'block_menu_notifications_content'),
            'menu_security_content' => array($this, 'block_menu_security_content'),
            'fos_user_content' => array($this, 'block_fos_user_content'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 4
    public function block_stylesheets($context, array $blocks = array())
    {
        // line 5
        echo "    <link href=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/css/bootstrap.css"), "html", null, true);
        echo "\" type=\"text/css\" rel=\"stylesheet\">
    <!-- Optional Bootstrap Theme -->
    <link href=\"data:text/css;charset=utf-8,\" data-href=\"";
        // line 7
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/css/bootstrap-theme.min.css"), "html", null, true);
        echo "\" rel=\"stylesheet\" id=\"bs-theme-stylesheet\">
    <!-- Documentation extras -->
    <link href=\"";
        // line 9
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/css/vgm_styles.css"), "html", null, true);
        echo "\" rel=\"stylesheet\">
    <!-- User Styles -->
    <link href=\"";
        // line 11
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmuser/css/user.style.css"), "html", null, true);
        echo "\" rel=\"stylesheet\">
";
    }

    // line 14
    public function block_javascripts($context, array $blocks = array())
    {
        // line 15
        echo "    <script type=\"text/javascript\" src=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/jquery/jquery-1.11.1.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/bootstrap.min.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/jquery/jquery.inputmask.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/knockout-3.2.0.js"), "html", null, true);
        echo "\"></script>
    <script type=\"text/javascript\" src=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/utils/Utils.js"), "html", null, true);
        echo "\"></script>
    ";
        // line 20
        if (((($this->env->getExtension('security')->isGranted("ROLE_ADMIN") || $this->env->getExtension('security')->isGranted("ROLE_OTS_CORDINATOR")) || $this->env->getExtension('security')->isGranted("ROLE_SUPER_SUPERVISOR")) || $this->env->getExtension('security')->isGranted("ROLE_SUPERVISOR"))) {
            // line 22
            echo "        <script type=\"text/javascript\">
            function getURLNewLoopNotices(){
                return '";
            // line 24
            echo $this->env->getExtension('routing')->getPath("theres_new_loop_notices");
            echo "';
            }
        </script>
        <script type=\"text/javascript\" src=\"";
            // line 27
            echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/js/customized/MainMenu/MainMenu.js"), "html", null, true);
            echo "\"></script>
        <script type=\"text/javascript\">
            // Activates knockout.js
            ko.applyBindings(baseViewModel, document.getElementById(\"menu-bar\"));
        </script>
    ";
        }
    }

    // line 35
    public function block_body($context, array $blocks = array())
    {
        // line 36
        echo "    <!-- Static navbar -->
    <nav class=\"navbar-inverse menu-bar\" role=\"navigation\" id=\"menu-bar\">
        <div class=\"container\">
            <div class=\"navbar-header\">
                <button type=\"button\" class=\"navbar-toggle\" data-toggle=\"collapse\" data-target=\"#navbar-collapsable-menu\">
                    <span class=\"sr-only\">Toggle navigation</span>
                    <span class=\"icon-bar\"></span>
                    <span class=\"icon-bar\"></span>
                    <span class=\"icon-bar\"></span>
                </button>
                <a href=\"";
        // line 46
        echo $this->env->getExtension('routing')->getPath("homepage");
        echo "\">
                    <img class=\"image-brand\" src=\"";
        // line 47
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/logo/Navy Blue/Navy Blue-48px.png"), "html", null, true);
        echo "\"
                         onmouseover=\"this.src='";
        // line 48
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/logo/Gray/full-48px.png"), "html", null, true);
        echo "'\"
                         onmouseout=\"this.src='";
        // line 49
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/vgmwo/images/logo/Navy Blue/Navy Blue-48px.png"), "html", null, true);
        echo "'\"/>
                    <span class=\"navbar-brand\">Aeroservicios USA</span>
                </a>
            </div>
            <div class=\"collapse navbar-collapse\" id=\"navbar-collapsable-menu\">
                <ul class=\"nav navbar-nav navbar-right\">
                    ";
        // line 55
        $this->displayBlock('menu_items', $context, $blocks);
        // line 81
        echo "                </ul>
            </div>
        </div>
    </nav>

    <div id=\"content-body\">
        ";
        // line 87
        if ($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "request", array()), "hasPreviousSession", array())) {
            // line 88
            echo "            ";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute($this->getAttribute((isset($context["app"]) ? $context["app"] : null), "session", array()), "flashbag", array()), "all", array(), "method"));
            foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
                // line 89
                echo "                ";
                $context['_parent'] = (array) $context;
                $context['_seq'] = twig_ensure_traversable($context["messages"]);
                foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
                    // line 90
                    echo "                    <div class=\"flash-";
                    echo twig_escape_filter($this->env, $context["type"], "html", null, true);
                    echo "\">
                        ";
                    // line 91
                    echo twig_escape_filter($this->env, $context["message"], "html", null, true);
                    echo "
                    </div>
                ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 94
                echo "            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['type'], $context['messages'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 95
            echo "        ";
        }
        // line 96
        echo "
        <div>
            ";
        // line 98
        $this->displayBlock('fos_user_content', $context, $blocks);
        // line 100
        echo "        </div>
    </div>
";
    }

    // line 55
    public function block_menu_items($context, array $blocks = array())
    {
        // line 56
        echo "                        ";
        $this->displayBlock('menu_user_content', $context, $blocks);
        // line 59
        echo "                        ";
        if ((((($this->env->getExtension('security')->isGranted("ROLE_ADMIN") || $this->env->getExtension('security')->isGranted("ROLE_OTS_CORDINATOR")) || $this->env->getExtension('security')->isGranted("ROLE_SUPER_SUPERVISOR")) || $this->env->getExtension('security')->isGranted("ROLE_SUPERVISOR")) || $this->env->getExtension('security')->isGranted("ROLE_HUMAN_RESOURCES"))) {
            // line 62
            echo "                            ";
            $this->displayBlock('menu_managment_content', $context, $blocks);
            // line 65
            echo "                            ";
            $this->displayBlock('menu_report_content', $context, $blocks);
            // line 68
            echo "                            ";
            if (((($this->env->getExtension('security')->isGranted("ROLE_ADMIN") || $this->env->getExtension('security')->isGranted("ROLE_OTS_CORDINATOR")) || $this->env->getExtension('security')->isGranted("ROLE_SUPER_SUPERVISOR")) || $this->env->getExtension('security')->isGranted("ROLE_SUPERVISOR"))) {
                // line 70
                echo "                                ";
                $this->displayBlock('menu_notifications_content', $context, $blocks);
                // line 73
                echo "                            ";
            }
            // line 74
            echo "                            ";
            if ($this->env->getExtension('security')->isGranted("ROLE_ADMIN")) {
                // line 75
                echo "                                ";
                $this->displayBlock('menu_security_content', $context, $blocks);
                // line 78
                echo "                            ";
            }
            // line 79
            echo "                        ";
        }
        // line 80
        echo "                    ";
    }

    // line 56
    public function block_menu_user_content($context, array $blocks = array())
    {
        // line 57
        echo "                            ";
        $this->loadTemplate("VGMWOBundle:Menu_parts:menu_user.html.twig", "FOSUserBundle::layout.html.twig", 57)->display($context);
        // line 58
        echo "                        ";
    }

    // line 62
    public function block_menu_managment_content($context, array $blocks = array())
    {
        // line 63
        echo "                                ";
        $this->loadTemplate("VGMWOBundle:Menu_parts:menu_managment.htm.twig", "FOSUserBundle::layout.html.twig", 63)->display($context);
        // line 64
        echo "                            ";
    }

    // line 65
    public function block_menu_report_content($context, array $blocks = array())
    {
        // line 66
        echo "                                ";
        $this->loadTemplate("VGMWOBundle:Menu_parts:menu_report.html.twig", "FOSUserBundle::layout.html.twig", 66)->display($context);
        // line 67
        echo "                            ";
    }

    // line 70
    public function block_menu_notifications_content($context, array $blocks = array())
    {
        // line 71
        echo "                                    ";
        $this->loadTemplate("VGMWOBundle:Menu_parts:menu_notifications.html.twig", "FOSUserBundle::layout.html.twig", 71)->display($context);
        // line 72
        echo "                                ";
    }

    // line 75
    public function block_menu_security_content($context, array $blocks = array())
    {
        // line 76
        echo "                                    ";
        $this->loadTemplate("VGMWOBundle:Menu_parts:menu_security.html.twig", "FOSUserBundle::layout.html.twig", 76)->display($context);
        // line 77
        echo "                                ";
    }

    // line 98
    public function block_fos_user_content($context, array $blocks = array())
    {
        // line 99
        echo "            ";
    }

    public function getTemplateName()
    {
        return "FOSUserBundle::layout.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  295 => 99,  292 => 98,  288 => 77,  285 => 76,  282 => 75,  278 => 72,  275 => 71,  272 => 70,  268 => 67,  265 => 66,  262 => 65,  258 => 64,  255 => 63,  252 => 62,  248 => 58,  245 => 57,  242 => 56,  238 => 80,  235 => 79,  232 => 78,  229 => 75,  226 => 74,  223 => 73,  220 => 70,  217 => 68,  214 => 65,  211 => 62,  208 => 59,  205 => 56,  202 => 55,  196 => 100,  194 => 98,  190 => 96,  187 => 95,  181 => 94,  172 => 91,  167 => 90,  162 => 89,  157 => 88,  155 => 87,  147 => 81,  145 => 55,  136 => 49,  132 => 48,  128 => 47,  124 => 46,  112 => 36,  109 => 35,  98 => 27,  92 => 24,  88 => 22,  86 => 20,  82 => 19,  78 => 18,  74 => 17,  70 => 16,  65 => 15,  62 => 14,  56 => 11,  51 => 9,  46 => 7,  40 => 5,  37 => 4,  11 => 1,);
    }
}
