<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @ui/dashboards/default.html.twig */
class __TwigTemplate_cba58e18dc26f4e86db2a2d6c2de598f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'console_classes' => [$this, 'block_console_classes'],
'console_sidebar_classes' => [$this, 'block_console_sidebar_classes'],
'sidebar' => [$this, 'block_sidebar'],
'main_class' => [$this, 'block_main_class'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'iframes' => [$this, 'block_iframes'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ui/dashboards/default.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ui/dashboards/default.html.twig"));
// line 1
if (twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 1), "isXmlHttpRequest", [], "method", false, false, false, 1)) {
// line 2
echo " ";
$this->displayBlock("content", $context, $blocks);
echo "
";
} else {
// line 4
echo "
";
// line 5
echo $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->embedTitle("SchoolNow", 100);
echo "
";
// line 6
$this->loadTemplate("@ui/dashboards/default/scripts.html.twig", "@ui/dashboards/default.html.twig", 6)->display(twig_array_merge($context, ['_args' => []]));
// line 7
echo " ";
$this->loadTemplate("@ui/dashboards/default/styles.html.twig", "@ui/dashboards/default.html.twig", 7)->display(twig_array_merge($context, ['_args' => []]));
// line 8
echo "
<div id=\"cs-console\" class=\"cs-console-lg sb-expand ";
// line 9
$this->displayBlock('console_classes', $context, $blocks);
echo "\">
<div id=\"cs-console-sidebar\" class=\"";
// line 10
$this->displayBlock('console_sidebar_classes', $context, $blocks);
echo "\">
<div class=\"sb-scroll\">
";
// line 12
$this->loadTemplate("@ui/dashboards/default/sidebar/header.html.twig", "@ui/dashboards/default.html.twig", 12)->display(twig_array_merge($context, ['_args' => []]));
// line 13
echo " ";
$this->displayBlock('sidebar', $context, $blocks);
// line 16
echo " </div>
</div>
<header id=\"cs-console-header\">
<a href=\"";
// line 19
echo (((( // line 20
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", false, false, false, 20)) && twig_get_attribute($this->env, $this->source, 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", false, false, false, 20), "isSchoolNow", [], "any", false, false, false, 20))) ? ($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")));
// line 23
echo "\" class=\"cs-brand\">
<em class=\"fa fa-home cs-brand-icon\"></em>
\t\t\t\t<span class=\"cs-brand-name\">SchoolNow</span>
</a>
<div class=\"cs-topbar-nav-wrap\">
";
// line 28
$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"));
// line 29
echo " ";
$this->loadTemplate("@ui/dashboards/default/header/nav.html.twig", "@ui/dashboards/default.html.twig", 29)->display(twig_array_merge($context, ['_args' => []]));
// line 30
echo " <div class=\"pull-right\">
<ul class=\"cs-topbar-nav pull-left\">
<li class=\"cs-topbar__li-create\">
<a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-create\" data-backdrop=\"static\" data-keyboard=\"true\">
<span class=\"cs-topbar__li-text\">+ Add</span>
</a>
";
// line 36
ob_start();
// line 37
echo " ";
$context["modalDepartment"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 37), "attributes", [], "any", false, false, false, 37), "has", [0 => "department"], "method", false, false, false, 37)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 37), "attributes", [], "any", false, false, false, 37), "get", [0 => "department"], "method", false, false, false, 37)) : (null));
// line 38
echo " ";
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); })()))) {
// line 39
echo " ";
$context["modalDepartment"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 39), "attributes", [], "any", false, false, false, 39), "has", [0 => "container"], "method", false, false, false, 39)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 39), "attributes", [], "any", false, false, false, 39), "get", [0 => "container"], "method", false, false, false, 39)) : (null));
// line 40
echo " ";
}
// line 41
echo " ";
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); })()))) {
// line 42
echo " ";
$context["modalDepartment"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 42), "attributes", [], "any", false, false, false, 42), "has", [0 => "containerId"], "method", false, false, false, 42)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 42), "attributes", [], "any", false, false, false, 42), "get", [0 => "containerId"], "method", false, false, false, 42)) : (null));
// line 43
echo " ";
}
// line 44
echo " ";
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")) {
// line 45
echo " ";
$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", false, false, false, 45);
// line 46
echo " ";
}
// line 47
echo " ";
$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
(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); })())])])]));
// line 53
echo " ";
$context['renderer']->currentScene()->getAssetsOrganizer()->getHtml()->add(new Cms\AssetsBundle\Model\Structure\HtmlStructure(trim(ob_get_clean())), null, null);
// line 54
echo " </li>
<li class=\"cs-topbar__li-recent\">
<a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-recent\" data-backdrop=\"static\" data-keyboard=\"true\">
<span class=\"cs-topbar__li-text\">Recent</span>
</a>
";
// line 59
ob_start();
// line 60
echo " ";
$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", [])])]));
// line 64
echo " ";
$context['renderer']->currentScene()->getAssetsOrganizer()->getHtml()->add(new Cms\AssetsBundle\Model\Structure\HtmlStructure(trim(ob_get_clean())), null, null);
// line 65
echo " </li>
<li class=\"cs-topbar__li-help\">
<a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-help\" data-backdrop=\"static\" data-keyboard=\"true\">
<span class=\"cs-topbar__li-text\">Help</span>
</a>
";
// line 70
ob_start();
// line 71
echo " ";
$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", [])])]));
// line 75
echo " ";
$context['renderer']->currentScene()->getAssetsOrganizer()->getHtml()->add(new Cms\AssetsBundle\Model\Structure\HtmlStructure(trim(ob_get_clean())), null, null);
// line 76
echo " </li>
\t\t\t\t\t\t<li class=\"cs-topbar-control";
// line 77
if (("system" === (isset($context["navhighlight"]) || array_key_exists("navhighlight", $context) ? $context["navhighlight"] : (function () { throw new RuntimeError('Variable "navhighlight" does not exist.', 77, $this->source); })()))) {
echo " active";
}
echo "\">
\t\t\t\t\t\t\t<a href=\"";
// line 78
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("platform.security.dashboard.profile.landing");
echo "\">
\t\t\t\t\t\t\t\t<em class=\"cs-topbar__icon fa fa-gear\"></em>
\t\t\t\t\t\t\t\t<span class=\"sr-only\">Settings</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</li>
";
// line 84
$this->loadTemplate("@ui/dashboards/default/header/search.html.twig", "@ui/dashboards/default.html.twig", 84)->display(twig_array_merge($context, ['_args' => []]));
// line 85
echo "
";
// line 96
echo "\t\t\t\t\t\t
</ul>
";
// line 98
$this->loadTemplate("@ui/dashboards/default/header/profile.html.twig", "@ui/dashboards/default.html.twig", 98)->display(twig_array_merge($context, ['_args' => []]));
// line 99
echo " </div>
</div>
</header>
<div id=\"cs-console-main\" class=\"";
// line 102
$this->displayBlock('main_class', $context, $blocks);
echo "\">
";
// line 103
$this->displayBlock('header', $context, $blocks);
// line 104
echo " <div class=\"cs-console-main-content\">
";
// line 105
$this->displayBlock('content', $context, $blocks);
// line 106
echo " </div>
";
// line 107
$this->displayBlock('footer', $context, $blocks);
// line 108
echo " </div>
<div class=\"clearfix\"></div>
<footer id=\"cs-console-footer\">
<p>© ";
// line 111
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo " <a href=\"https://www.schoolnow.com\" target=\"_blank\">SchoolNow</a>. All rights reserved.</p>
</footer>
</div>
";
// line 115
$this->displayBlock('iframes', $context, $blocks);
// line 116
echo "
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 9
public function block_console_classes($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "console_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "console_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
public function block_console_sidebar_classes($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "console_sidebar_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "console_sidebar_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 13
public function block_sidebar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
// line 14
echo " ";
$this->loadTemplate("@ui/dashboards/default/sidebar/content.html.twig", "@ui/dashboards/default.html.twig", 14)->display(twig_array_merge($context, ['_args' => []]));
// line 15
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 102
public function block_main_class($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_class"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 103
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 105
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 107
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 115
public function block_iframes($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "iframes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "iframes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ui/dashboards/default.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% if app.request.isXmlHttpRequest() %}
{{ block('content') }}
{% else %}
{{ embed_title('SchoolNow', 100) }}
{% include '@ui/dashboards/default/scripts.html.twig' %}
{% include '@ui/dashboards/default/styles.html.twig' %}
<div id=\"cs-console\" class=\"cs-console-lg sb-expand {% block console_classes %}{% endblock %}\">
<div id=\"cs-console-sidebar\" class=\"{% block console_sidebar_classes %}{% endblock %}\">
<div class=\"sb-scroll\">
{% include '@ui/dashboards/default/sidebar/header.html.twig' %}
{% block sidebar %}
{% include '@ui/dashboards/default/sidebar/content.html.twig' %}
{% endblock %}
</div>
</div>
<header id=\"cs-console-header\">
<a href=\"{{-
(cms is defined and cms.tenant and cms.tenant.isSchoolNow)
? path('app.schoolnow.dashboard.default.main')
: path('cms.container.dashboard.dashboard.index')
-}}\" class=\"cs-brand\">
<em class=\"fa fa-home cs-brand-icon\"></em>
\t\t\t\t<span class=\"cs-brand-name\">SchoolNow</span>
</a>
<div class=\"cs-topbar-nav-wrap\">
{% set navhighlight = navhighlight|default('default') %}
{% include '@ui/dashboards/default/header/nav.html.twig' %}
<div class=\"pull-right\">
<ul class=\"cs-topbar-nav pull-left\">
<li class=\"cs-topbar__li-create\">
<a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-create\" data-backdrop=\"static\" data-keyboard=\"true\">
<span class=\"cs-topbar__li-text\">+ Add</span>
</a>
{% inline_html %}
{% set modalDepartment = (app.request.attributes.has('department')) ? app.request.attributes.get('department') : null %}
{% if modalDepartment is empty %}
{% set modalDepartment = (app.request.attributes.has('container')) ? app.request.attributes.get('container') : null %}
{% endif %}
{% if modalDepartment is empty %}
{% set modalDepartment = (app.request.attributes.has('containerId')) ? app.request.attributes.get('containerId') : null %}
{% endif %}
{% if instanceof(modalDepartment, 'Cms\\\\ContainerBundle\\\\Entity\\\\Container') %}
{% set modalDepartment = modalDepartment.id %}
{% endif %}
{% include '@ui/create/modals/full.html.twig' with {
htmlId: 'modal-create',
ajax: path('cms.container.dashboard.dashboard.create_modal', {
department: modalDepartment
}),
} %}
{% endinline %}
</li>
<li class=\"cs-topbar__li-recent\">
<a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-recent\" data-backdrop=\"static\" data-keyboard=\"true\">
<span class=\"cs-topbar__li-text\">Recent</span>
</a>
{% inline_html %}
{% include '@ui/create/modals/full.html.twig' with {
htmlId: 'modal-recent',
ajax: path('cms.container.dashboard.dashboard.recents_modal', {}),
} %}
{% endinline %}
</li>
<li class=\"cs-topbar__li-help\">
<a href=\"#\" data-toggle=\"modal\" data-target=\"#modal-help\" data-backdrop=\"static\" data-keyboard=\"true\">
<span class=\"cs-topbar__li-text\">Help</span>
</a>
{% inline_html %}
{% include '@ui/create/modals/full.html.twig' with {
htmlId: 'modal-help',
ajax: path('cms.container.dashboard.dashboard.help_modal', {})
} %}
{% endinline %}
</li>
\t\t\t\t\t\t<li class=\"cs-topbar-control{% if 'system' is same as(navhighlight) %} active{% endif %}\">
\t\t\t\t\t\t\t<a href=\"{{ path('platform.security.dashboard.profile.landing') }}\">
\t\t\t\t\t\t\t\t<em class=\"cs-topbar__icon fa fa-gear\"></em>
\t\t\t\t\t\t\t\t<span class=\"sr-only\">Settings</span>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t</li>
{% include '@ui/dashboards/default/header/search.html.twig' %}
{# TO REMOVE - FARLEY
\t\t\t\t\t\t{% set announcements = []|merge(
cms_systemAnnouncements(),
cms_siteAnnouncements()
) %}
\t\t\t\t\t\t
{% if announcements|length > 0 %}
{% include '@ui/dashboards/default/header/announcements.html.twig' %}
{% endif %}
\t\t\t\t\t\t#}
\t\t\t\t\t\t
</ul>
{% include '@ui/dashboards/default/header/profile.html.twig' %}
</div>
</div>
</header>
<div id=\"cs-console-main\" class=\"{% block main_class %}{% endblock %}\">
{% block header %}{% endblock %}
<div class=\"cs-console-main-content\">
{% block content %}{% endblock %}
</div>
{% block footer %}{% endblock %}
</div>
<div class=\"clearfix\"></div>
<footer id=\"cs-console-footer\">
<p>© {{ 'now'|date('Y') }} <a href=\"https://www.schoolnow.com\" target=\"_blank\">SchoolNow</a>. All rights reserved.</p>
</footer>
</div>
{% block iframes %}{% endblock %}
{% endif %}
", "@ui/dashboards/default.html.twig", "/var/www/campussuite/ui/twig/dashboards/default.html.twig");
}
}