var/cache/test/twig/4c/4ca7380588e411abfbd55fa3cfe31aac.php line 40

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. /* @ProductsSchoolNow/base.html.twig */
  14. class __TwigTemplate_c4408ef1380685f3dab8bf841a335449 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->blocks = [
  23.             'topbar' => [$this'block_topbar'],
  24.             'navbar' => [$this'block_navbar'],
  25.             'modals' => [$this'block_modals'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@ui2022/schoolnow/page.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsSchoolNow/base.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsSchoolNow/base.html.twig"));
  40.         // line 5
  41.         $this->extensions['App\Twig\Extension\DomExtension']->dom_html_attr_($context"set""class""hc-header");
  42.         // line 6
  43.         $this->extensions['App\Twig\Extension\DomExtension']->dom_styles($context, [=> "https://honeycomb.style/css/honeycomb.css"=> "/hc/css/custom.css"]);
  44.         // line 11
  45.         twig_include($this->env$context"@ProductsSchoolNow/_assets.html.twig");
  46.         // line 12
  47.         twig_include($this->env$context"@ProductsSchoolNow/_assets_tracking.html.twig");
  48.         // line 1
  49.         $this->parent $this->loadTemplate("@ui2022/schoolnow/page.html.twig""@ProductsSchoolNow/base.html.twig"1);
  50.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 14
  57.     public function block_topbar($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topbar"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topbar"));
  64.         // line 15
  65.         echo "    ";
  66.         $this->loadTemplate("topbar.html.twig""@ProductsSchoolNow/base.html.twig"15)->display(twig_array_merge(twig_array_merge($context, ["avatar" => ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 16
  67. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "user", [], "any"falsefalsefalse16), "systemProfile", [], "any"falsefalsefalse16), "hasAvatar", [], "any"falsefalsefalse16)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env$this->source,         // line 17
  68. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "user", [], "any"falsefalsefalse17), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 19
  69. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "user", [], "any"falsefalsefalse19), "displayName", [], "any"falsefalsefalse19)]), ['_args' => twig_to_array(["avatar" => ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 16
  70. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'16$this->source); })()), "user", [], "any"falsefalsefalse16), "systemProfile", [], "any"falsefalsefalse16), "hasAvatar", [], "any"falsefalsefalse16)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env$this->source,         // line 17
  71. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'17$this->source); })()), "user", [], "any"falsefalsefalse17), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 19
  72. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'19$this->source); })()), "user", [], "any"falsefalsefalse19), "displayName", [], "any"falsefalsefalse19)])]));
  73.         
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  75.         
  76.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  77.     }
  78.     // line 23
  79.     public function block_navbar($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  86.         // line 24
  87.         echo "    ";
  88.         $this->loadTemplate("@ui2022/schoolnow/side__menu.html.twig""@ProductsSchoolNow/base.html.twig"24)->display(twig_array_merge(twig_array_merge($context, ["avatar" => ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 25
  89. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'25$this->source); })()), "user", [], "any"falsefalsefalse25), "systemProfile", [], "any"falsefalsefalse25), "hasAvatar", [], "any"falsefalsefalse25)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env$this->source,         // line 26
  90. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "user", [], "any"falsefalsefalse26), "/avatar/thumb")) : ("/ui2022/images/avatar.png")), "name" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 28
  91. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'28$this->source); })()), "user", [], "any"falsefalsefalse28), "displayName", [], "any"falsefalsefalse28), "items" => [=> ["title" => "My Feed""icon" => "icon-feed""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.main"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 34
  92. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "attributes", [], "any"falsefalsefalse34), "get", [=> "_route"], "method"falsefalsefalse34) === "app.schoolnow.dashboard.default.main")], => ["title" => "Important""icon" => "icon-inbox""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.feeds.notifications"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 40
  93. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "attributes", [], "any"falsefalsefalse40), "get", [=> "_route"], "method"falsefalsefalse40) === "app.schoolnow.dashboard.default.feeds.notifications")], => (($this->extensions['App\Twig\Extension\SecurityExtension']->maybeGranted("@app.cms.modules.access")) ? (["title" => "My Drafts""icon" => "icon-myposts""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.drafts.list"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 46
  94. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'46$this->source); })()), "request", [], "any"falsefalsefalse46), "attributes", [], "any"falsefalsefalse46), "get", [=> "_route"], "method"falsefalsefalse46) === "app.schoolnow.dashboard.default.drafts.list")]) : (null)), => ["title" => "Calendar""icon" => "icon-calendaricon""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.feeds.calendar"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 52
  95. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'52$this->source); })()), "request", [], "any"falsefalsefalse52), "attributes", [], "any"falsefalsefalse52), "get", [=> "_route"], "method"falsefalsefalse52) === "app.schoolnow.dashboard.default.feeds.calendar")], => ["title" => "Photos""icon" => "icon-photos""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.feeds.photos"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 58
  96. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "request", [], "any"falsefalsefalse58), "attributes", [], "any"falsefalsefalse58), "get", [=> "_route"], "method"falsefalsefalse58) === "app.schoolnow.dashboard.default.feeds.photos")]]]), ['_args' => twig_to_array(["avatar" => ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 25
  97. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'25$this->source); })()), "user", [], "any"falsefalsefalse25), "systemProfile", [], "any"falsefalsefalse25), "hasAvatar", [], "any"falsefalsefalse25)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env$this->source,         // line 26
  98. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'26$this->source); })()), "user", [], "any"falsefalsefalse26), "/avatar/thumb")) : ("/ui2022/images/avatar.png")), "name" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 28
  99. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'28$this->source); })()), "user", [], "any"falsefalsefalse28), "displayName", [], "any"falsefalsefalse28), "items" => [=> ["title" => "My Feed""icon" => "icon-feed""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.main"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 34
  100. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'34$this->source); })()), "request", [], "any"falsefalsefalse34), "attributes", [], "any"falsefalsefalse34), "get", [=> "_route"], "method"falsefalsefalse34) === "app.schoolnow.dashboard.default.main")], => ["title" => "Important""icon" => "icon-inbox""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.feeds.notifications"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 40
  101. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "attributes", [], "any"falsefalsefalse40), "get", [=> "_route"], "method"falsefalsefalse40) === "app.schoolnow.dashboard.default.feeds.notifications")], => (($this->extensions['App\Twig\Extension\SecurityExtension']->maybeGranted("@app.cms.modules.access")) ? (["title" => "My Drafts""icon" => "icon-myposts""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.drafts.list"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 46
  102. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'46$this->source); })()), "request", [], "any"falsefalsefalse46), "attributes", [], "any"falsefalsefalse46), "get", [=> "_route"], "method"falsefalsefalse46) === "app.schoolnow.dashboard.default.drafts.list")]) : (null)), => ["title" => "Calendar""icon" => "icon-calendaricon""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.feeds.calendar"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 52
  103. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'52$this->source); })()), "request", [], "any"falsefalsefalse52), "attributes", [], "any"falsefalsefalse52), "get", [=> "_route"], "method"falsefalsefalse52) === "app.schoolnow.dashboard.default.feeds.calendar")], => ["title" => "Photos""icon" => "icon-photos""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.schoolnow.dashboard.default.feeds.photos"), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 58
  104. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "request", [], "any"falsefalsefalse58), "attributes", [], "any"falsefalsefalse58), "get", [=> "_route"], "method"falsefalsefalse58) === "app.schoolnow.dashboard.default.feeds.photos")]]])]));
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     // line 64
  111.     public function block_modals($context, array $blocks = [])
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  118.         // line 65
  119.         echo "    ";
  120.         $this->displayParentBlock("modals"$context$blocks);
  121.         echo "
  122.     ";
  123.         // line 66
  124.         $this->loadTemplate("@ProductsSchoolNow/base.html.twig""@ProductsSchoolNow/base.html.twig"66"1693054758")->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "topbar-help""class" => "sidepanel--help"]]), ['_args' => twig_to_array(["attr" => ["id" => "topbar-help""class" => "sidepanel--help"]])]));
  125.         // line 81
  126.         echo "
  127.     ";
  128.         // line 82
  129.         $this->loadTemplate("@ProductsSchoolNow/base.html.twig""@ProductsSchoolNow/base.html.twig"82"769042832")->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "sidepanel-setting""class" => "setting-sidepanel"]]), ['_args' => twig_to_array(["attr" => ["id" => "sidepanel-setting""class" => "setting-sidepanel"]])]));
  130.         // line 95
  131.         echo "
  132.     <script type=\"text/javascript\">
  133.         (function (window, document, \$, undefined) {
  134.             \$(function () {
  135.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  136.                     \$('#topbar-help .sidepanel__content')
  137.                         .html('<iframe width=\"100%\" src=\"https://www-schoolnow-com.sandbox.hs-sites.com/schoolnew-home-page-2022?email=";
  138.         // line 101
  139.         echo twig_escape_filter($this->envtwig_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.'101$this->source); })()), "user", [], "any"falsefalsefalse101), "email", [], "any"falsefalsefalse101), "html"nulltrue);
  140.         echo "&slug=";
  141.         echo twig_escape_filter($this->envtwig_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.'101$this->source); })()), "tenant", [], "any"falsefalsefalse101), "slug", [], "any"falsefalsefalse101), "html"nulltrue);
  142.         echo "\"></iframe>')
  143.                     ;
  144.                 });
  145.             });
  146.         })(window, document, jQuery);
  147.     </script>
  148. ";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.     }
  154.     public function getTemplateName()
  155.     {
  156.         return "@ProductsSchoolNow/base.html.twig";
  157.     }
  158.     public function isTraitable()
  159.     {
  160.         return false;
  161.     }
  162.     public function getDebugInfo()
  163.     {
  164.         return array (  163 => 101,  155 => 95,  153 => 82,  150 => 81,  148 => 66,  143 => 65,  133 => 64,  123 => 58,  122 => 52,  121 => 46,  120 => 40,  119 => 34,  118 => 28,  117 => 26,  116 => 25,  115 => 58,  114 => 52,  113 => 46,  112 => 40,  111 => 34,  110 => 28,  109 => 26,  108 => 25,  106 => 24,  96 => 23,  86 => 19,  85 => 17,  84 => 16,  83 => 19,  82 => 17,  81 => 16,  79 => 15,  69 => 14,  58 => 1,  56 => 12,  54 => 11,  52 => 6,  50 => 5,  37 => 1,);
  165.     }
  166.     public function getSourceContext()
  167.     {
  168.         return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
  169. {# TODO: REMOVE - style for basic hc header #}
  170. {% do dom_html_attr_set_class('hc-header') %}
  171. {% do dom_styles([
  172.     'https://honeycomb.style/css/honeycomb.css',
  173.     '/hc/css/custom.css',
  174. ]) %}
  175. {% do include('@ProductsSchoolNow/_assets.html.twig') %}
  176. {% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
  177. {% block topbar %}
  178.     {% include 'topbar.html.twig' with {
  179.         avatar: (app.user.systemProfile.hasAvatar)
  180.         ? s3_entity(app.user, '/avatar/thumb')
  181.         : null,
  182.         displayName: app.user.displayName
  183.     } %}
  184. {% endblock %}
  185. {% block navbar %}
  186.     {% include '@ui2022/schoolnow/side__menu.html.twig' with {
  187.         avatar: (app.user.systemProfile.hasAvatar)
  188.             ? s3_entity(app.user, '/avatar/thumb')
  189.             : '/ui2022/images/avatar.png',
  190.         name: app.user.displayName,
  191.         items: [
  192.             {
  193.                 title: 'My Feed',
  194.                 icon: 'icon-feed',
  195.                 link: path('app.schoolnow.dashboard.default.main'),
  196.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.main')),
  197.             },
  198.             {
  199.                 title: 'Important',
  200.                 icon: 'icon-inbox',
  201.                 link: path('app.schoolnow.dashboard.default.feeds.notifications'),
  202.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.notifications')),
  203.             },
  204.             maybe_granted('@app.cms.modules.access') ? {
  205.                 title: 'My Drafts',
  206.                 icon: 'icon-myposts',
  207.                 link: path('app.schoolnow.dashboard.default.drafts.list'),
  208.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.drafts.list')),
  209.             } : null,
  210.             {
  211.                 title: 'Calendar',
  212.                 icon: 'icon-calendaricon',
  213.                 link: path('app.schoolnow.dashboard.default.feeds.calendar'),
  214.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.calendar')),
  215.             },
  216.             {
  217.                 title: 'Photos',
  218.                 icon: 'icon-photos',
  219.                 link: path('app.schoolnow.dashboard.default.feeds.photos'),
  220.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.photos')),
  221.             }
  222.         ],
  223.     } %}
  224. {% endblock %}
  225. {% block modals %}
  226.     {{ parent() }}
  227.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  228.         attr: {
  229.             id: 'topbar-help',
  230.             class: 'sidepanel--help',
  231.         },
  232.     } %}
  233.         {% block header %}
  234.             <div class=\"sidepanel__head-left\">
  235.                 <h2 class=\"text-an-demibold\">Help Center</h2>
  236.             </div>
  237.             <div class=\"sidepanel__head--right\">
  238.                 <img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
  239.             </div>
  240.         {% endblock %}
  241.     {% endembed %}
  242.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  243.         attr: {
  244.             id: 'sidepanel-setting',
  245.             class: 'setting-sidepanel',
  246.         },
  247.     } %}
  248.         {% block header %}
  249.             {% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
  250.         {% endblock %}
  251.         {% block content %}
  252.             {% include '@App/dashboard/settings/navbar.html.twig'  with { topMenu: true } %}
  253.         {% endblock %}
  254.     {% endembed %}
  255.     <script type=\"text/javascript\">
  256.         (function (window, document, \$, undefined) {
  257.             \$(function () {
  258.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  259.                     \$('#topbar-help .sidepanel__content')
  260.                         .html('<iframe width=\"100%\" src=\"https://www-schoolnow-com.sandbox.hs-sites.com/schoolnew-home-page-2022?email={{- app.user.email -}}&slug={{- cms.tenant.slug -}}\"></iframe>')
  261.                     ;
  262.                 });
  263.             });
  264.         })(window, document, jQuery);
  265.     </script>
  266. {% endblock %}
  267. ""@ProductsSchoolNow/base.html.twig""/var/www/campussuite/src/Products/SchoolNowBundle/Resources/views/base.html.twig");
  268.     }
  269. }
  270. /* @ProductsSchoolNow/base.html.twig */
  271. class __TwigTemplate_c4408ef1380685f3dab8bf841a335449___1693054758 extends \Twig\Template
  272. {
  273.     private $source;
  274.     private $macros = [];
  275.     public function __construct(Environment $env)
  276.     {
  277.         parent::__construct($env);
  278.         $this->source $this->getSourceContext();
  279.         $this->blocks = [
  280.             'header' => [$this'block_header'],
  281.         ];
  282.     }
  283.     protected function doGetParent(array $context)
  284.     {
  285.         // line 66
  286.         return "@ui2022/schoolnow/modal--sidepanel.html.twig";
  287.     }
  288.     protected function doDisplay(array $context, array $blocks = [])
  289.     {
  290.         $macros $this->macros;
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsSchoolNow/base.html.twig"));
  293.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  294.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsSchoolNow/base.html.twig"));
  295.         $this->parent $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig""@ProductsSchoolNow/base.html.twig"66);
  296.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  297.         
  298.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  299.         
  300.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  301.     }
  302.     // line 72
  303.     public function block_header($context, array $blocks = [])
  304.     {
  305.         $macros $this->macros;
  306.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  307.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  308.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  310.         // line 73
  311.         echo "            <div class=\"sidepanel__head-left\">
  312.                 <h2 class=\"text-an-demibold\">Help Center</h2>
  313.             </div>
  314.             <div class=\"sidepanel__head--right\">
  315.                 <img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
  316.             </div>
  317.         ";
  318.         
  319.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  320.         
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  322.     }
  323.     public function getTemplateName()
  324.     {
  325.         return "@ProductsSchoolNow/base.html.twig";
  326.     }
  327.     public function isTraitable()
  328.     {
  329.         return false;
  330.     }
  331.     public function getDebugInfo()
  332.     {
  333.         return array (  363 => 73,  353 => 72,  330 => 66,  163 => 101,  155 => 95,  153 => 82,  150 => 81,  148 => 66,  143 => 65,  133 => 64,  123 => 58,  122 => 52,  121 => 46,  120 => 40,  119 => 34,  118 => 28,  117 => 26,  116 => 25,  115 => 58,  114 => 52,  113 => 46,  112 => 40,  111 => 34,  110 => 28,  109 => 26,  108 => 25,  106 => 24,  96 => 23,  86 => 19,  85 => 17,  84 => 16,  83 => 19,  82 => 17,  81 => 16,  79 => 15,  69 => 14,  58 => 1,  56 => 12,  54 => 11,  52 => 6,  50 => 5,  37 => 1,);
  334.     }
  335.     public function getSourceContext()
  336.     {
  337.         return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
  338. {# TODO: REMOVE - style for basic hc header #}
  339. {% do dom_html_attr_set_class('hc-header') %}
  340. {% do dom_styles([
  341.     'https://honeycomb.style/css/honeycomb.css',
  342.     '/hc/css/custom.css',
  343. ]) %}
  344. {% do include('@ProductsSchoolNow/_assets.html.twig') %}
  345. {% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
  346. {% block topbar %}
  347.     {% include 'topbar.html.twig' with {
  348.         avatar: (app.user.systemProfile.hasAvatar)
  349.         ? s3_entity(app.user, '/avatar/thumb')
  350.         : null,
  351.         displayName: app.user.displayName
  352.     } %}
  353. {% endblock %}
  354. {% block navbar %}
  355.     {% include '@ui2022/schoolnow/side__menu.html.twig' with {
  356.         avatar: (app.user.systemProfile.hasAvatar)
  357.             ? s3_entity(app.user, '/avatar/thumb')
  358.             : '/ui2022/images/avatar.png',
  359.         name: app.user.displayName,
  360.         items: [
  361.             {
  362.                 title: 'My Feed',
  363.                 icon: 'icon-feed',
  364.                 link: path('app.schoolnow.dashboard.default.main'),
  365.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.main')),
  366.             },
  367.             {
  368.                 title: 'Important',
  369.                 icon: 'icon-inbox',
  370.                 link: path('app.schoolnow.dashboard.default.feeds.notifications'),
  371.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.notifications')),
  372.             },
  373.             maybe_granted('@app.cms.modules.access') ? {
  374.                 title: 'My Drafts',
  375.                 icon: 'icon-myposts',
  376.                 link: path('app.schoolnow.dashboard.default.drafts.list'),
  377.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.drafts.list')),
  378.             } : null,
  379.             {
  380.                 title: 'Calendar',
  381.                 icon: 'icon-calendaricon',
  382.                 link: path('app.schoolnow.dashboard.default.feeds.calendar'),
  383.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.calendar')),
  384.             },
  385.             {
  386.                 title: 'Photos',
  387.                 icon: 'icon-photos',
  388.                 link: path('app.schoolnow.dashboard.default.feeds.photos'),
  389.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.photos')),
  390.             }
  391.         ],
  392.     } %}
  393. {% endblock %}
  394. {% block modals %}
  395.     {{ parent() }}
  396.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  397.         attr: {
  398.             id: 'topbar-help',
  399.             class: 'sidepanel--help',
  400.         },
  401.     } %}
  402.         {% block header %}
  403.             <div class=\"sidepanel__head-left\">
  404.                 <h2 class=\"text-an-demibold\">Help Center</h2>
  405.             </div>
  406.             <div class=\"sidepanel__head--right\">
  407.                 <img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
  408.             </div>
  409.         {% endblock %}
  410.     {% endembed %}
  411.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  412.         attr: {
  413.             id: 'sidepanel-setting',
  414.             class: 'setting-sidepanel',
  415.         },
  416.     } %}
  417.         {% block header %}
  418.             {% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
  419.         {% endblock %}
  420.         {% block content %}
  421.             {% include '@App/dashboard/settings/navbar.html.twig'  with { topMenu: true } %}
  422.         {% endblock %}
  423.     {% endembed %}
  424.     <script type=\"text/javascript\">
  425.         (function (window, document, \$, undefined) {
  426.             \$(function () {
  427.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  428.                     \$('#topbar-help .sidepanel__content')
  429.                         .html('<iframe width=\"100%\" src=\"https://www-schoolnow-com.sandbox.hs-sites.com/schoolnew-home-page-2022?email={{- app.user.email -}}&slug={{- cms.tenant.slug -}}\"></iframe>')
  430.                     ;
  431.                 });
  432.             });
  433.         })(window, document, jQuery);
  434.     </script>
  435. {% endblock %}
  436. ""@ProductsSchoolNow/base.html.twig""/var/www/campussuite/src/Products/SchoolNowBundle/Resources/views/base.html.twig");
  437.     }
  438. }
  439. /* @ProductsSchoolNow/base.html.twig */
  440. class __TwigTemplate_c4408ef1380685f3dab8bf841a335449___769042832 extends \Twig\Template
  441. {
  442.     private $source;
  443.     private $macros = [];
  444.     public function __construct(Environment $env)
  445.     {
  446.         parent::__construct($env);
  447.         $this->source $this->getSourceContext();
  448.         $this->blocks = [
  449.             'header' => [$this'block_header'],
  450.             'content' => [$this'block_content'],
  451.         ];
  452.     }
  453.     protected function doGetParent(array $context)
  454.     {
  455.         // line 82
  456.         return "@ui2022/schoolnow/modal--sidepanel.html.twig";
  457.     }
  458.     protected function doDisplay(array $context, array $blocks = [])
  459.     {
  460.         $macros $this->macros;
  461.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  462.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsSchoolNow/base.html.twig"));
  463.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  464.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsSchoolNow/base.html.twig"));
  465.         $this->parent $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig""@ProductsSchoolNow/base.html.twig"82);
  466.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  467.         
  468.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  469.         
  470.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  471.     }
  472.     // line 88
  473.     public function block_header($context, array $blocks = [])
  474.     {
  475.         $macros $this->macros;
  476.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  477.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  478.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  479.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  480.         // line 89
  481.         echo "            ";
  482.         $this->loadTemplate("@ui2022/schoolnow/topbar__menu_user_header.html.twig""@ProductsSchoolNow/base.html.twig"89)->display(twig_array_merge(twig_array_merge($context, ["account" => 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.'89$this->source); })()), "user", [], "any"falsefalsefalse89)]), ['_args' => twig_to_array(["account" => 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.'89$this->source); })()), "user", [], "any"falsefalsefalse89)])]));
  483.         // line 90
  484.         echo "        ";
  485.         
  486.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  487.         
  488.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  489.     }
  490.     // line 91
  491.     public function block_content($context, array $blocks = [])
  492.     {
  493.         $macros $this->macros;
  494.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  495.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  496.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  497.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  498.         // line 92
  499.         echo "            ";
  500.         $this->loadTemplate("@App/dashboard/settings/navbar.html.twig""@ProductsSchoolNow/base.html.twig"92)->display(twig_array_merge(twig_array_merge($context, ["topMenu" => true]), ['_args' => twig_to_array(["topMenu" => true])]));
  501.         // line 93
  502.         echo "        ";
  503.         
  504.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  505.         
  506.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  507.     }
  508.     public function getTemplateName()
  509.     {
  510.         return "@ProductsSchoolNow/base.html.twig";
  511.     }
  512.     public function isTraitable()
  513.     {
  514.         return false;
  515.     }
  516.     public function getDebugInfo()
  517.     {
  518.         return array (  587 => 93,  584 => 92,  574 => 91,  564 => 90,  561 => 89,  551 => 88,  528 => 82,  363 => 73,  353 => 72,  330 => 66,  163 => 101,  155 => 95,  153 => 82,  150 => 81,  148 => 66,  143 => 65,  133 => 64,  123 => 58,  122 => 52,  121 => 46,  120 => 40,  119 => 34,  118 => 28,  117 => 26,  116 => 25,  115 => 58,  114 => 52,  113 => 46,  112 => 40,  111 => 34,  110 => 28,  109 => 26,  108 => 25,  106 => 24,  96 => 23,  86 => 19,  85 => 17,  84 => 16,  83 => 19,  82 => 17,  81 => 16,  79 => 15,  69 => 14,  58 => 1,  56 => 12,  54 => 11,  52 => 6,  50 => 5,  37 => 1,);
  519.     }
  520.     public function getSourceContext()
  521.     {
  522.         return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
  523. {# TODO: REMOVE - style for basic hc header #}
  524. {% do dom_html_attr_set_class('hc-header') %}
  525. {% do dom_styles([
  526.     'https://honeycomb.style/css/honeycomb.css',
  527.     '/hc/css/custom.css',
  528. ]) %}
  529. {% do include('@ProductsSchoolNow/_assets.html.twig') %}
  530. {% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
  531. {% block topbar %}
  532.     {% include 'topbar.html.twig' with {
  533.         avatar: (app.user.systemProfile.hasAvatar)
  534.         ? s3_entity(app.user, '/avatar/thumb')
  535.         : null,
  536.         displayName: app.user.displayName
  537.     } %}
  538. {% endblock %}
  539. {% block navbar %}
  540.     {% include '@ui2022/schoolnow/side__menu.html.twig' with {
  541.         avatar: (app.user.systemProfile.hasAvatar)
  542.             ? s3_entity(app.user, '/avatar/thumb')
  543.             : '/ui2022/images/avatar.png',
  544.         name: app.user.displayName,
  545.         items: [
  546.             {
  547.                 title: 'My Feed',
  548.                 icon: 'icon-feed',
  549.                 link: path('app.schoolnow.dashboard.default.main'),
  550.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.main')),
  551.             },
  552.             {
  553.                 title: 'Important',
  554.                 icon: 'icon-inbox',
  555.                 link: path('app.schoolnow.dashboard.default.feeds.notifications'),
  556.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.notifications')),
  557.             },
  558.             maybe_granted('@app.cms.modules.access') ? {
  559.                 title: 'My Drafts',
  560.                 icon: 'icon-myposts',
  561.                 link: path('app.schoolnow.dashboard.default.drafts.list'),
  562.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.drafts.list')),
  563.             } : null,
  564.             {
  565.                 title: 'Calendar',
  566.                 icon: 'icon-calendaricon',
  567.                 link: path('app.schoolnow.dashboard.default.feeds.calendar'),
  568.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.calendar')),
  569.             },
  570.             {
  571.                 title: 'Photos',
  572.                 icon: 'icon-photos',
  573.                 link: path('app.schoolnow.dashboard.default.feeds.photos'),
  574.                 active: (app.request.attributes.get('_route') is same as('app.schoolnow.dashboard.default.feeds.photos')),
  575.             }
  576.         ],
  577.     } %}
  578. {% endblock %}
  579. {% block modals %}
  580.     {{ parent() }}
  581.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  582.         attr: {
  583.             id: 'topbar-help',
  584.             class: 'sidepanel--help',
  585.         },
  586.     } %}
  587.         {% block header %}
  588.             <div class=\"sidepanel__head-left\">
  589.                 <h2 class=\"text-an-demibold\">Help Center</h2>
  590.             </div>
  591.             <div class=\"sidepanel__head--right\">
  592.                 <img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
  593.             </div>
  594.         {% endblock %}
  595.     {% endembed %}
  596.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  597.         attr: {
  598.             id: 'sidepanel-setting',
  599.             class: 'setting-sidepanel',
  600.         },
  601.     } %}
  602.         {% block header %}
  603.             {% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
  604.         {% endblock %}
  605.         {% block content %}
  606.             {% include '@App/dashboard/settings/navbar.html.twig'  with { topMenu: true } %}
  607.         {% endblock %}
  608.     {% endembed %}
  609.     <script type=\"text/javascript\">
  610.         (function (window, document, \$, undefined) {
  611.             \$(function () {
  612.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  613.                     \$('#topbar-help .sidepanel__content')
  614.                         .html('<iframe width=\"100%\" src=\"https://www-schoolnow-com.sandbox.hs-sites.com/schoolnew-home-page-2022?email={{- app.user.email -}}&slug={{- cms.tenant.slug -}}\"></iframe>')
  615.                     ;
  616.                 });
  617.             });
  618.         })(window, document, jQuery);
  619.     </script>
  620. {% endblock %}
  621. ""@ProductsSchoolNow/base.html.twig""/var/www/campussuite/src/Products/SchoolNowBundle/Resources/views/base.html.twig");
  622.     }
  623. }