var/cache/test/twig/91/91c02161b1fa96c8b5c467bb26b7f67f.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @ui/dashboards/default.html.twig */
  14. class __TwigTemplate_cba58e18dc26f4e86db2a2d6c2de598f extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'console_classes' => [$this'block_console_classes'],
  25.             'console_sidebar_classes' => [$this'block_console_sidebar_classes'],
  26.             'sidebar' => [$this'block_sidebar'],
  27.             'main_class' => [$this'block_main_class'],
  28.             'header' => [$this'block_header'],
  29.             'content' => [$this'block_content'],
  30.             'footer' => [$this'block_footer'],
  31.             'iframes' => [$this'block_iframes'],
  32.         ];
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ui/dashboards/default.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ui/dashboards/default.html.twig"));
  41.         // line 1
  42.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1$this->source); })()), "request", [], "any"falsefalsefalse1), "isXmlHttpRequest", [], "method"falsefalsefalse1)) {
  43.             // line 2
  44.             echo "    ";
  45.             $this->displayBlock("content"$context$blocks);
  46.             echo "
  47. ";
  48.         } else {
  49.             // line 4
  50.             echo "
  51.     ";
  52.             // line 5
  53.             echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedTitle("SchoolNow"100);
  54.             echo "
  55.     ";
  56.             // line 6
  57.             $this->loadTemplate("@ui/dashboards/default/scripts.html.twig""@ui/dashboards/default.html.twig"6)->display(twig_array_merge($context, ['_args' => []]));
  58.             // line 7
  59.             echo "    ";
  60.             $this->loadTemplate("@ui/dashboards/default/styles.html.twig""@ui/dashboards/default.html.twig"7)->display(twig_array_merge($context, ['_args' => []]));
  61.             // line 8
  62.             echo "
  63.     <div id=\"cs-console\" class=\"cs-console-lg sb-expand ";
  64.             // line 9
  65.             $this->displayBlock('console_classes'$context$blocks);
  66.             echo "\">
  67.         <div id=\"cs-console-sidebar\" class=\"";
  68.             // line 10
  69.             $this->displayBlock('console_sidebar_classes'$context$blocks);
  70.             echo "\">
  71.             <div class=\"sb-scroll\">
  72.                 ";
  73.             // line 12
  74.             $this->loadTemplate("@ui/dashboards/default/sidebar/header.html.twig""@ui/dashboards/default.html.twig"12)->display(twig_array_merge($context, ['_args' => []]));
  75.             // line 13
  76.             echo "                ";
  77.             $this->displayBlock('sidebar'$context$blocks);
  78.             // line 16
  79.             echo "            </div>
  80.         </div>
  81.         <header id=\"cs-console-header\">
  82.             <a href=\"";
  83.             // line 19
  84.             echo ((((            // line 20
  85. array_key_exists("cms"$context) && twig_get_attribute($this->env$this->source, (isset($context["cms"]) || array_key_exists("cms"$context) ? $context["cms"] : (function () { throw new RuntimeError('Variable "cms" does not exist.'20$this->source); })()), "tenant", [], "any"falsefalsefalse20)) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["cms"]) || array_key_exists("cms"$context) ? $context["cms"] : (function () { throw new RuntimeError('Variable "cms" does not exist.'20$this->source); })()), "tenant", [], "any"falsefalsefalse20), "isSchoolNow", [], "any"falsefalsefalse20))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.main")) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms.container.dashboard.dashboard.index")));
  86.             // line 23
  87.             echo "\" class=\"cs-brand\">
  88.                 <em class=\"fa fa-home cs-brand-icon\"></em>
  89. \t\t\t\t<span class=\"cs-brand-name\">SchoolNow</span>
  90.             </a>
  91.             <div class=\"cs-topbar-nav-wrap\">
  92.                 ";
  93.             // line 28
  94.             $context["navhighlight"] = ((array_key_exists("navhighlight"$context)) ? (_twig_default_filter((isset($context["navhighlight"]) || array_key_exists("navhighlight"$context) ? $context["navhighlight"] : (function () { throw new RuntimeError('Variable "navhighlight" does not exist.'28$this->source); })()), "default")) : ("default"));
  95.             // line 29
  96.             echo "                ";
  97.             $this->loadTemplate("@ui/dashboards/default/header/nav.html.twig""@ui/dashboards/default.html.twig"29)->display(twig_array_merge($context, ['_args' => []]));
  98.             // line 30
  99.             echo "                <div class=\"pull-right\">
  100.                     <ul class=\"cs-topbar-nav pull-left\">
  101.                         <li class=\"cs-topbar__li-create\">
  102.                             <a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-create\" data-backdrop=\"static\" data-keyboard=\"true\">
  103.                                 <span class=\"cs-topbar__li-text\">+ Add</span>
  104.                             </a>
  105.                             ";
  106.             // line 36
  107.             ob_start();
  108.             // line 37
  109.             echo "                                ";
  110.             $context["modalDepartment"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'37$this->source); })()), "request", [], "any"falsefalsefalse37), "attributes", [], "any"falsefalsefalse37), "has", [=> "department"], "method"falsefalsefalse37)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'37$this->source); })()), "request", [], "any"falsefalsefalse37), "attributes", [], "any"falsefalsefalse37), "get", [=> "department"], "method"falsefalsefalse37)) : (null));
  111.             // line 38
  112.             echo "                                ";
  113.             if (twig_test_empty((isset($context["modalDepartment"]) || array_key_exists("modalDepartment"$context) ? $context["modalDepartment"] : (function () { throw new RuntimeError('Variable "modalDepartment" does not exist.'38$this->source); })()))) {
  114.                 // line 39
  115.                 echo "                                    ";
  116.                 $context["modalDepartment"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "request", [], "any"falsefalsefalse39), "attributes", [], "any"falsefalsefalse39), "has", [=> "container"], "method"falsefalsefalse39)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'39$this->source); })()), "request", [], "any"falsefalsefalse39), "attributes", [], "any"falsefalsefalse39), "get", [=> "container"], "method"falsefalsefalse39)) : (null));
  117.                 // line 40
  118.                 echo "                                ";
  119.             }
  120.             // line 41
  121.             echo "                                ";
  122.             if (twig_test_empty((isset($context["modalDepartment"]) || array_key_exists("modalDepartment"$context) ? $context["modalDepartment"] : (function () { throw new RuntimeError('Variable "modalDepartment" does not exist.'41$this->source); })()))) {
  123.                 // line 42
  124.                 echo "                                    ";
  125.                 $context["modalDepartment"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'42$this->source); })()), "request", [], "any"falsefalsefalse42), "attributes", [], "any"falsefalsefalse42), "has", [=> "containerId"], "method"falsefalsefalse42)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'42$this->source); })()), "request", [], "any"falsefalsefalse42), "attributes", [], "any"falsefalsefalse42), "get", [=> "containerId"], "method"falsefalsefalse42)) : (null));
  126.                 // line 43
  127.                 echo "                                ";
  128.             }
  129.             // line 44
  130.             echo "                                ";
  131.             if ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionInstanceof((isset($context["modalDepartment"]) || array_key_exists("modalDepartment"$context) ? $context["modalDepartment"] : (function () { throw new RuntimeError('Variable "modalDepartment" does not exist.'44$this->source); })()), "Cms\\ContainerBundle\\Entity\\Container")) {
  132.                 // line 45
  133.                 echo "                                    ";
  134.                 $context["modalDepartment"] = twig_get_attribute($this->env$this->source, (isset($context["modalDepartment"]) || array_key_exists("modalDepartment"$context) ? $context["modalDepartment"] : (function () { throw new RuntimeError('Variable "modalDepartment" does not exist.'45$this->source); })()), "id", [], "any"falsefalsefalse45);
  135.                 // line 46
  136.                 echo "                                ";
  137.             }
  138.             // line 47
  139.             echo "                                ";
  140.             $this->loadTemplate("@ui/create/modals/full.html.twig""@ui/dashboards/default.html.twig"47)->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "modal-create""ajax" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms.container.dashboard.dashboard.create_modal", ["department" =>             // line 50
  141. (isset($context["modalDepartment"]) || array_key_exists("modalDepartment"$context) ? $context["modalDepartment"] : (function () { throw new RuntimeError('Variable "modalDepartment" does not exist.'50$this->source); })())])]), ['_args' => twig_to_array(["htmlId" => "modal-create""ajax" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms.container.dashboard.dashboard.create_modal", ["department" => (isset($context["modalDepartment"]) || array_key_exists("modalDepartment"$context) ? $context["modalDepartment"] : (function () { throw new RuntimeError('Variable "modalDepartment" does not exist.'50$this->source); })())])])]));
  142.             // line 53
  143.             echo "                            ";
  144.             $context['renderer']->currentScene()->getAssetsOrganizer()->getHtml()->add(new Cms\AssetsBundle\Model\Structure\HtmlStructure(trim(ob_get_clean())), nullnull);
  145.             // line 54
  146.             echo "                        </li>
  147.                         <li class=\"cs-topbar__li-recent\">
  148.                             <a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-recent\" data-backdrop=\"static\" data-keyboard=\"true\">
  149.                                 <span class=\"cs-topbar__li-text\">Recent</span>
  150.                             </a>
  151.                             ";
  152.             // line 59
  153.             ob_start();
  154.             // line 60
  155.             echo "                                ";
  156.             $this->loadTemplate("@ui/create/modals/full.html.twig""@ui/dashboards/default.html.twig"60)->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "modal-recent""ajax" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms.container.dashboard.dashboard.recents_modal", [])]), ['_args' => twig_to_array(["htmlId" => "modal-recent""ajax" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms.container.dashboard.dashboard.recents_modal", [])])]));
  157.             // line 64
  158.             echo "                            ";
  159.             $context['renderer']->currentScene()->getAssetsOrganizer()->getHtml()->add(new Cms\AssetsBundle\Model\Structure\HtmlStructure(trim(ob_get_clean())), nullnull);
  160.             // line 65
  161.             echo "                        </li>
  162.                         <li class=\"cs-topbar__li-help\">
  163.                             <a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-help\" data-backdrop=\"static\" data-keyboard=\"true\">
  164.                                 <span class=\"cs-topbar__li-text\">Help</span>
  165.                             </a>
  166.                             ";
  167.             // line 70
  168.             ob_start();
  169.             // line 71
  170.             echo "                                ";
  171.             $this->loadTemplate("@ui/create/modals/full.html.twig""@ui/dashboards/default.html.twig"71)->display(twig_array_merge(twig_array_merge($context, ["htmlId" => "modal-help""ajax" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms.container.dashboard.dashboard.help_modal", [])]), ['_args' => twig_to_array(["htmlId" => "modal-help""ajax" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cms.container.dashboard.dashboard.help_modal", [])])]));
  172.             // line 75
  173.             echo "                            ";
  174.             $context['renderer']->currentScene()->getAssetsOrganizer()->getHtml()->add(new Cms\AssetsBundle\Model\Structure\HtmlStructure(trim(ob_get_clean())), nullnull);
  175.             // line 76
  176.             echo "                        </li>
  177. \t\t\t\t\t\t<li class=\"cs-topbar-control";
  178.             // line 77
  179.             if (("system" === (isset($context["navhighlight"]) || array_key_exists("navhighlight"$context) ? $context["navhighlight"] : (function () { throw new RuntimeError('Variable "navhighlight" does not exist.'77$this->source); })()))) {
  180.                 echo " active";
  181.             }
  182.             echo "\">
  183. \t\t\t\t\t\t\t<a href=\"";
  184.             // line 78
  185.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("platform.security.dashboard.profile.landing");
  186.             echo "\">
  187. \t\t\t\t\t\t\t\t<em class=\"cs-topbar__icon fa fa-gear\"></em>
  188. \t\t\t\t\t\t\t\t<span class=\"sr-only\">Settings</span>
  189. \t\t\t\t\t\t\t</a>
  190. \t\t\t\t\t\t</li>
  191.                         ";
  192.             // line 84
  193.             $this->loadTemplate("@ui/dashboards/default/header/search.html.twig""@ui/dashboards/default.html.twig"84)->display(twig_array_merge($context, ['_args' => []]));
  194.             // line 85
  195.             echo "
  196.                         ";
  197.             // line 96
  198.             echo "\t\t\t\t\t\t
  199.                     </ul>
  200.                     ";
  201.             // line 98
  202.             $this->loadTemplate("@ui/dashboards/default/header/profile.html.twig""@ui/dashboards/default.html.twig"98)->display(twig_array_merge($context, ['_args' => []]));
  203.             // line 99
  204.             echo "                </div>
  205.             </div>
  206.         </header>
  207.         <div id=\"cs-console-main\" class=\"";
  208.             // line 102
  209.             $this->displayBlock('main_class'$context$blocks);
  210.             echo "\">
  211.             ";
  212.             // line 103
  213.             $this->displayBlock('header'$context$blocks);
  214.             // line 104
  215.             echo "            <div class=\"cs-console-main-content\">
  216.                 ";
  217.             // line 105
  218.             $this->displayBlock('content'$context$blocks);
  219.             // line 106
  220.             echo "            </div>
  221.             ";
  222.             // line 107
  223.             $this->displayBlock('footer'$context$blocks);
  224.             // line 108
  225.             echo "        </div>
  226.         <div class=\"clearfix\"></div>
  227.         <footer id=\"cs-console-footer\">
  228.             <p>© ";
  229.             // line 111
  230.             echo twig_escape_filter($this->envtwig_date_format_filter($this->env"now""Y"), "html"nulltrue);
  231.             echo " <a href=\"https://www.schoolnow.com\" target=\"_blank\">SchoolNow</a>. All rights reserved.</p>
  232.         </footer>
  233.     </div>
  234.     ";
  235.             // line 115
  236.             $this->displayBlock('iframes'$context$blocks);
  237.             // line 116
  238.             echo "
  239. ";
  240.         }
  241.         
  242.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  243.         
  244.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  245.     }
  246.     // line 9
  247.     public function block_console_classes($context, array $blocks = [])
  248.     {
  249.         $macros $this->macros;
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  251.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""console_classes"));
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""console_classes"));
  254.         
  255.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  256.         
  257.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  258.     }
  259.     // line 10
  260.     public function block_console_sidebar_classes($context, array $blocks = [])
  261.     {
  262.         $macros $this->macros;
  263.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  264.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""console_sidebar_classes"));
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  266.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""console_sidebar_classes"));
  267.         
  268.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  269.         
  270.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  271.     }
  272.     // line 13
  273.     public function block_sidebar($context, array $blocks = [])
  274.     {
  275.         $macros $this->macros;
  276.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  277.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  278.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  280.         // line 14
  281.         echo "                    ";
  282.         $this->loadTemplate("@ui/dashboards/default/sidebar/content.html.twig""@ui/dashboards/default.html.twig"14)->display(twig_array_merge($context, ['_args' => []]));
  283.         // line 15
  284.         echo "                ";
  285.         
  286.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  287.         
  288.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  289.     }
  290.     // line 102
  291.     public function block_main_class($context, array $blocks = [])
  292.     {
  293.         $macros $this->macros;
  294.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  295.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_class"));
  296.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  297.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_class"));
  298.         
  299.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  300.         
  301.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  302.     }
  303.     // line 103
  304.     public function block_header($context, array $blocks = [])
  305.     {
  306.         $macros $this->macros;
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  308.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  310.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  311.         
  312.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  313.         
  314.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  315.     }
  316.     // line 105
  317.     public function block_content($context, array $blocks = [])
  318.     {
  319.         $macros $this->macros;
  320.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  322.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  324.         
  325.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  326.         
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  328.     }
  329.     // line 107
  330.     public function block_footer($context, array $blocks = [])
  331.     {
  332.         $macros $this->macros;
  333.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  334.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  335.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  336.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  337.         
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  339.         
  340.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  341.     }
  342.     // line 115
  343.     public function block_iframes($context, array $blocks = [])
  344.     {
  345.         $macros $this->macros;
  346.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  347.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""iframes"));
  348.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  349.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""iframes"));
  350.         
  351.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  352.         
  353.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  354.     }
  355.     public function getTemplateName()
  356.     {
  357.         return "@ui/dashboards/default.html.twig";
  358.     }
  359.     public function isTraitable()
  360.     {
  361.         return false;
  362.     }
  363.     public function getDebugInfo()
  364.     {
  365.         return array (  392 => 115,  374 => 107,  356 => 105,  338 => 103,  320 => 102,  310 => 15,  307 => 14,  297 => 13,  279 => 10,  261 => 9,  249 => 116,  247 => 115,  240 => 111,  235 => 108,  233 => 107,  230 => 106,  228 => 105,  225 => 104,  223 => 103,  219 => 102,  214 => 99,  212 => 98,  208 => 96,  205 => 85,  203 => 84,  194 => 78,  188 => 77,  185 => 76,  182 => 75,  179 => 71,  177 => 70,  170 => 65,  167 => 64,  164 => 60,  162 => 59,  155 => 54,  152 => 53,  150 => 50,  148 => 47,  145 => 46,  142 => 45,  139 => 44,  136 => 43,  133 => 42,  130 => 41,  127 => 40,  124 => 39,  121 => 38,  118 => 37,  116 => 36,  108 => 30,  105 => 29,  103 => 28,  96 => 23,  94 => 20,  93 => 19,  88 => 16,  85 => 13,  83 => 12,  78 => 10,  74 => 9,  71 => 8,  68 => 7,  66 => 6,  62 => 5,  59 => 4,  53 => 2,  51 => 1,);
  366.     }
  367.     public function getSourceContext()
  368.     {
  369.         return new Source("{% if app.request.isXmlHttpRequest() %}
  370.     {{ block('content') }}
  371. {% else %}
  372.     {{ embed_title('SchoolNow', 100) }}
  373.     {% include '@ui/dashboards/default/scripts.html.twig' %}
  374.     {% include '@ui/dashboards/default/styles.html.twig' %}
  375.     <div id=\"cs-console\" class=\"cs-console-lg sb-expand {% block console_classes %}{% endblock %}\">
  376.         <div id=\"cs-console-sidebar\" class=\"{% block console_sidebar_classes %}{% endblock %}\">
  377.             <div class=\"sb-scroll\">
  378.                 {% include '@ui/dashboards/default/sidebar/header.html.twig' %}
  379.                 {% block sidebar %}
  380.                     {% include '@ui/dashboards/default/sidebar/content.html.twig' %}
  381.                 {% endblock %}
  382.             </div>
  383.         </div>
  384.         <header id=\"cs-console-header\">
  385.             <a href=\"{{-
  386.                 (cms is defined and cms.tenant and cms.tenant.isSchoolNow)
  387.                     ? path('app.schoolnow.dashboard.default.main')
  388.                     : path('cms.container.dashboard.dashboard.index')
  389.             -}}\" class=\"cs-brand\">
  390.                 <em class=\"fa fa-home cs-brand-icon\"></em>
  391. \t\t\t\t<span class=\"cs-brand-name\">SchoolNow</span>
  392.             </a>
  393.             <div class=\"cs-topbar-nav-wrap\">
  394.                 {% set navhighlight = navhighlight|default('default') %}
  395.                 {% include '@ui/dashboards/default/header/nav.html.twig' %}
  396.                 <div class=\"pull-right\">
  397.                     <ul class=\"cs-topbar-nav pull-left\">
  398.                         <li class=\"cs-topbar__li-create\">
  399.                             <a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-create\" data-backdrop=\"static\" data-keyboard=\"true\">
  400.                                 <span class=\"cs-topbar__li-text\">+ Add</span>
  401.                             </a>
  402.                             {% inline_html %}
  403.                                 {% set modalDepartment = (app.request.attributes.has('department')) ? app.request.attributes.get('department') : null %}
  404.                                 {% if modalDepartment is empty %}
  405.                                     {% set modalDepartment = (app.request.attributes.has('container')) ? app.request.attributes.get('container') : null %}
  406.                                 {% endif %}
  407.                                 {% if modalDepartment is empty %}
  408.                                     {% set modalDepartment = (app.request.attributes.has('containerId')) ? app.request.attributes.get('containerId') : null %}
  409.                                 {% endif %}
  410.                                 {% if instanceof(modalDepartment, 'Cms\\\\ContainerBundle\\\\Entity\\\\Container') %}
  411.                                     {% set modalDepartment = modalDepartment.id %}
  412.                                 {% endif %}
  413.                                 {% include '@ui/create/modals/full.html.twig' with {
  414.                                     htmlId: 'modal-create',
  415.                                     ajax: path('cms.container.dashboard.dashboard.create_modal', {
  416.                                         department: modalDepartment
  417.                                     }),
  418.                                 } %}
  419.                             {% endinline %}
  420.                         </li>
  421.                         <li class=\"cs-topbar__li-recent\">
  422.                             <a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-recent\" data-backdrop=\"static\" data-keyboard=\"true\">
  423.                                 <span class=\"cs-topbar__li-text\">Recent</span>
  424.                             </a>
  425.                             {% inline_html %}
  426.                                 {% include '@ui/create/modals/full.html.twig' with {
  427.                                     htmlId: 'modal-recent',
  428.                                     ajax: path('cms.container.dashboard.dashboard.recents_modal', {}),
  429.                                 } %}
  430.                             {% endinline %}
  431.                         </li>
  432.                         <li class=\"cs-topbar__li-help\">
  433.                             <a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-help\" data-backdrop=\"static\" data-keyboard=\"true\">
  434.                                 <span class=\"cs-topbar__li-text\">Help</span>
  435.                             </a>
  436.                             {% inline_html %}
  437.                                 {% include '@ui/create/modals/full.html.twig' with {
  438.                                     htmlId: 'modal-help',
  439.                                     ajax: path('cms.container.dashboard.dashboard.help_modal', {})
  440.                                 } %}
  441.                             {% endinline %}
  442.                         </li>
  443. \t\t\t\t\t\t<li class=\"cs-topbar-control{% if 'system' is same as(navhighlight) %} active{% endif %}\">
  444. \t\t\t\t\t\t\t<a href=\"{{ path('platform.security.dashboard.profile.landing') }}\">
  445. \t\t\t\t\t\t\t\t<em class=\"cs-topbar__icon fa fa-gear\"></em>
  446. \t\t\t\t\t\t\t\t<span class=\"sr-only\">Settings</span>
  447. \t\t\t\t\t\t\t</a>
  448. \t\t\t\t\t\t</li>
  449.                         {% include '@ui/dashboards/default/header/search.html.twig' %}
  450.                         {# TO REMOVE - FARLEY
  451. \t\t\t\t\t\t{% set announcements = []|merge(
  452.                             cms_systemAnnouncements(),
  453.                             cms_siteAnnouncements()
  454.                         ) %}
  455. \t\t\t\t\t\t
  456.                         {% if announcements|length > 0 %}
  457.                             {% include '@ui/dashboards/default/header/announcements.html.twig' %}
  458.                         {% endif %}
  459. \t\t\t\t\t\t#}
  460. \t\t\t\t\t\t
  461.                     </ul>
  462.                     {% include '@ui/dashboards/default/header/profile.html.twig' %}
  463.                 </div>
  464.             </div>
  465.         </header>
  466.         <div id=\"cs-console-main\" class=\"{% block main_class %}{% endblock %}\">
  467.             {% block header %}{% endblock %}
  468.             <div class=\"cs-console-main-content\">
  469.                 {% block content %}{% endblock %}
  470.             </div>
  471.             {% block footer %}{% endblock %}
  472.         </div>
  473.         <div class=\"clearfix\"></div>
  474.         <footer id=\"cs-console-footer\">
  475.             <p>© {{ 'now'|date('Y') }} <a href=\"https://www.schoolnow.com\" target=\"_blank\">SchoolNow</a>. All rights reserved.</p>
  476.         </footer>
  477.     </div>
  478.     {% block iframes %}{% endblock %}
  479. {% endif %}
  480. ""@ui/dashboards/default.html.twig""/var/www/campussuite/ui/twig/dashboards/default.html.twig");
  481.     }
  482. }