var/cache/test/twig/62/6250c70b3f6e4b5248ce773894d8a9b3.php line 111

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. /* @App/dashboard/settings/base.html.twig */
  14. class __TwigTemplate_998444f45abc08402a2fc40429d63921 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.             'main_classes' => [$this'block_main_classes'],
  24.             'content_classes' => [$this'block_content_classes'],
  25.             'topbar' => [$this'block_topbar'],
  26.             'navbar' => [$this'block_navbar'],
  27.             'modals' => [$this'block_modals'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@ui2022/schoolnow/page.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/base.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/base.html.twig"));
  42.         // line 4
  43.         $this->extensions['App\Twig\Extension\DomExtension']->dom_html_attr_($context"set""class""hc-header");
  44.         // line 5
  45.         $this->extensions['App\Twig\Extension\DomExtension']->dom_styles($context, [=> "https://honeycomb.style/css/honeycomb.css"=> "/hc/css/custom.css"]);
  46.         // line 10
  47.         twig_include($this->env$context"@ProductsSchoolNow/_assets.html.twig");
  48.         // line 11
  49.         twig_include($this->env$context"@ProductsSchoolNow/_assets_tracking.html.twig");
  50.         // line 1
  51.         $this->parent $this->loadTemplate("@ui2022/schoolnow/page.html.twig""@App/dashboard/settings/base.html.twig"1);
  52.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  53.         
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.     }
  58.     // line 13
  59.     public function block_main_classes($context, array $blocks = [])
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_classes"));
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main_classes"));
  66.         // line 14
  67.         echo "uilib";
  68.         
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70.         
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72.     }
  73.     // line 17
  74.     public function block_content_classes($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_classes"));
  79.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content_classes"));
  81.         // line 18
  82.         echo "content__area--uilib";
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.     }
  88.     // line 21
  89.     public function block_topbar($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topbar"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""topbar"));
  96.         // line 22
  97.         echo "    ";
  98.         $this->loadTemplate("topbar.html.twig""@App/dashboard/settings/base.html.twig"22)->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 23
  99. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'23$this->source); })()), "user", [], "any"falsefalsefalse23), "systemProfile", [], "any"falsefalsefalse23), "hasAvatar", [], "any"falsefalsefalse23)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env$this->source,         // line 24
  100. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "user", [], "any"falsefalsefalse24), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 26
  101. (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), "displayName", [], "any"falsefalsefalse26)]), ['_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 23
  102. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'23$this->source); })()), "user", [], "any"falsefalsefalse23), "systemProfile", [], "any"falsefalsefalse23), "hasAvatar", [], "any"falsefalsefalse23)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env$this->source,         // line 24
  103. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'24$this->source); })()), "user", [], "any"falsefalsefalse24), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 26
  104. (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), "displayName", [], "any"falsefalsefalse26)])]));
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.     }
  110.     // line 30
  111.     public function block_navbar($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""navbar"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navbar"));
  118.         // line 31
  119.         echo "    ";
  120.         $this->loadTemplate("@App/dashboard/settings/navbar.html.twig""@App/dashboard/settings/base.html.twig"31)->display(twig_array_merge($context, ['_args' => []]));
  121.         
  122.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123.         
  124.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  125.     }
  126.     // line 34
  127.     public function block_modals($context, array $blocks = [])
  128.     {
  129.         $macros $this->macros;
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  132.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  133.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  134.         // line 35
  135.         echo "    ";
  136.         $this->displayParentBlock("modals"$context$blocks);
  137.         echo "
  138.     ";
  139.         // line 36
  140.         $this->loadTemplate("@App/dashboard/settings/base.html.twig""@App/dashboard/settings/base.html.twig"36"1980956534")->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"]])]));
  141.         // line 43
  142.         echo "    ";
  143.         $this->loadTemplate("@App/dashboard/settings/base.html.twig""@App/dashboard/settings/base.html.twig"43"957675926")->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"]])]));
  144.         // line 56
  145.         echo "
  146.     <script type=\"text/javascript\">
  147.         (function (window, document, \$, undefined) {
  148.             \$(function () {
  149.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  150.                     \$('#topbar-help .sidepanel__content')
  151.                         .html('<iframe width=\"100%\" src=\"https://www-schoolnow-com.sandbox.hs-sites.com/schoolnew-home-page-2022?email=";
  152.         // line 62
  153.         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.'62$this->source); })()), "user", [], "any"falsefalsefalse62), "email", [], "any"falsefalsefalse62), "html"nulltrue);
  154.         echo "&slug=";
  155.         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.'62$this->source); })()), "tenant", [], "any"falsefalsefalse62), "slug", [], "any"falsefalsefalse62), "html"nulltrue);
  156.         echo "\"></iframe>')
  157.                     ;
  158.                 });
  159.             });
  160.         })(window, document, jQuery);
  161.     </script>
  162. ";
  163.         
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  165.         
  166.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  167.     }
  168.     public function getTemplateName()
  169.     {
  170.         return "@App/dashboard/settings/base.html.twig";
  171.     }
  172.     public function isTraitable()
  173.     {
  174.         return false;
  175.     }
  176.     public function getDebugInfo()
  177.     {
  178.         return array (  187 => 62,  179 => 56,  176 => 43,  174 => 36,  169 => 35,  159 => 34,  148 => 31,  138 => 30,  128 => 26,  127 => 24,  126 => 23,  125 => 26,  124 => 24,  123 => 23,  121 => 22,  111 => 21,  101 => 18,  91 => 17,  81 => 14,  71 => 13,  60 => 1,  58 => 11,  56 => 10,  54 => 5,  52 => 4,  39 => 1,);
  179.     }
  180.     public function getSourceContext()
  181.     {
  182.         return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
  183. {# TODO: REMOVE - style for basic hc header #}
  184. {% do dom_html_attr_set_class('hc-header') %}
  185. {% do dom_styles([
  186.     'https://honeycomb.style/css/honeycomb.css',
  187.     '/hc/css/custom.css',
  188. ]) %}
  189. {% do include('@ProductsSchoolNow/_assets.html.twig') %}
  190. {% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
  191. {% block main_classes -%}
  192.     uilib
  193. {%- endblock %}
  194. {% block content_classes -%}
  195.     content__area--uilib
  196. {%- endblock %}
  197. {% block topbar %}
  198.     {% include 'topbar.html.twig' with {
  199.         avatar: (app.user.systemProfile.hasAvatar)
  200.         ? s3_entity(app.user, '/avatar/thumb')
  201.         : null,
  202.         displayName: app.user.displayName
  203.     } %}
  204. {% endblock %}
  205. {% block navbar %}
  206.     {% include '@App/dashboard/settings/navbar.html.twig' %}
  207. {% endblock %}
  208. {% block modals %}
  209.     {{ parent() }}
  210.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  211.         attr: {
  212.             id: 'topbar-help',
  213.             class: 'sidepanel--help',
  214.         },
  215.     } %}
  216.     {% endembed %}
  217.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  218.         attr: {
  219.             id: 'sidepanel-setting',
  220.             class: 'setting-sidepanel',
  221.         },
  222.     } %}
  223.         {% block header %}
  224.             {% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
  225.         {% endblock %}
  226.         {% block content %}
  227.             {% include '@App/dashboard/settings/navbar.html.twig'  with { topMenu: true } %}
  228.         {% endblock %}
  229.     {% endembed %}
  230.     <script type=\"text/javascript\">
  231.         (function (window, document, \$, undefined) {
  232.             \$(function () {
  233.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  234.                     \$('#topbar-help .sidepanel__content')
  235.                         .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>')
  236.                     ;
  237.                 });
  238.             });
  239.         })(window, document, jQuery);
  240.     </script>
  241. {% endblock %}
  242. ""@App/dashboard/settings/base.html.twig""/var/www/campussuite/src/App/Resources/views/dashboard/settings/base.html.twig");
  243.     }
  244. }
  245. /* @App/dashboard/settings/base.html.twig */
  246. class __TwigTemplate_998444f45abc08402a2fc40429d63921___1980956534 extends \Twig\Template
  247. {
  248.     private $source;
  249.     private $macros = [];
  250.     public function __construct(Environment $env)
  251.     {
  252.         parent::__construct($env);
  253.         $this->source $this->getSourceContext();
  254.         $this->blocks = [
  255.         ];
  256.     }
  257.     protected function doGetParent(array $context)
  258.     {
  259.         // line 36
  260.         return "@ui2022/schoolnow/modal--sidepanel.html.twig";
  261.     }
  262.     protected function doDisplay(array $context, array $blocks = [])
  263.     {
  264.         $macros $this->macros;
  265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  266.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/base.html.twig"));
  267.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  268.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/base.html.twig"));
  269.         $this->parent $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig""@App/dashboard/settings/base.html.twig"36);
  270.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  271.         
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  273.         
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  275.     }
  276.     public function getTemplateName()
  277.     {
  278.         return "@App/dashboard/settings/base.html.twig";
  279.     }
  280.     public function isTraitable()
  281.     {
  282.         return false;
  283.     }
  284.     public function getDebugInfo()
  285.     {
  286.         return array (  314 => 36,  187 => 62,  179 => 56,  176 => 43,  174 => 36,  169 => 35,  159 => 34,  148 => 31,  138 => 30,  128 => 26,  127 => 24,  126 => 23,  125 => 26,  124 => 24,  123 => 23,  121 => 22,  111 => 21,  101 => 18,  91 => 17,  81 => 14,  71 => 13,  60 => 1,  58 => 11,  56 => 10,  54 => 5,  52 => 4,  39 => 1,);
  287.     }
  288.     public function getSourceContext()
  289.     {
  290.         return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
  291. {# TODO: REMOVE - style for basic hc header #}
  292. {% do dom_html_attr_set_class('hc-header') %}
  293. {% do dom_styles([
  294.     'https://honeycomb.style/css/honeycomb.css',
  295.     '/hc/css/custom.css',
  296. ]) %}
  297. {% do include('@ProductsSchoolNow/_assets.html.twig') %}
  298. {% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
  299. {% block main_classes -%}
  300.     uilib
  301. {%- endblock %}
  302. {% block content_classes -%}
  303.     content__area--uilib
  304. {%- endblock %}
  305. {% block topbar %}
  306.     {% include 'topbar.html.twig' with {
  307.         avatar: (app.user.systemProfile.hasAvatar)
  308.         ? s3_entity(app.user, '/avatar/thumb')
  309.         : null,
  310.         displayName: app.user.displayName
  311.     } %}
  312. {% endblock %}
  313. {% block navbar %}
  314.     {% include '@App/dashboard/settings/navbar.html.twig' %}
  315. {% endblock %}
  316. {% block modals %}
  317.     {{ parent() }}
  318.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  319.         attr: {
  320.             id: 'topbar-help',
  321.             class: 'sidepanel--help',
  322.         },
  323.     } %}
  324.     {% endembed %}
  325.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  326.         attr: {
  327.             id: 'sidepanel-setting',
  328.             class: 'setting-sidepanel',
  329.         },
  330.     } %}
  331.         {% block header %}
  332.             {% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
  333.         {% endblock %}
  334.         {% block content %}
  335.             {% include '@App/dashboard/settings/navbar.html.twig'  with { topMenu: true } %}
  336.         {% endblock %}
  337.     {% endembed %}
  338.     <script type=\"text/javascript\">
  339.         (function (window, document, \$, undefined) {
  340.             \$(function () {
  341.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  342.                     \$('#topbar-help .sidepanel__content')
  343.                         .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>')
  344.                     ;
  345.                 });
  346.             });
  347.         })(window, document, jQuery);
  348.     </script>
  349. {% endblock %}
  350. ""@App/dashboard/settings/base.html.twig""/var/www/campussuite/src/App/Resources/views/dashboard/settings/base.html.twig");
  351.     }
  352. }
  353. /* @App/dashboard/settings/base.html.twig */
  354. class __TwigTemplate_998444f45abc08402a2fc40429d63921___957675926 extends \Twig\Template
  355. {
  356.     private $source;
  357.     private $macros = [];
  358.     public function __construct(Environment $env)
  359.     {
  360.         parent::__construct($env);
  361.         $this->source $this->getSourceContext();
  362.         $this->blocks = [
  363.             'header' => [$this'block_header'],
  364.             'content' => [$this'block_content'],
  365.         ];
  366.     }
  367.     protected function doGetParent(array $context)
  368.     {
  369.         // line 43
  370.         return "@ui2022/schoolnow/modal--sidepanel.html.twig";
  371.     }
  372.     protected function doDisplay(array $context, array $blocks = [])
  373.     {
  374.         $macros $this->macros;
  375.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  376.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/base.html.twig"));
  377.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  378.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/base.html.twig"));
  379.         $this->parent $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig""@App/dashboard/settings/base.html.twig"43);
  380.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  381.         
  382.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  383.         
  384.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  385.     }
  386.     // line 49
  387.     public function block_header($context, array $blocks = [])
  388.     {
  389.         $macros $this->macros;
  390.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  391.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  392.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  393.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  394.         // line 50
  395.         echo "            ";
  396.         $this->loadTemplate("@ui2022/schoolnow/topbar__menu_user_header.html.twig""@App/dashboard/settings/base.html.twig"50)->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.'50$this->source); })()), "user", [], "any"falsefalsefalse50)]), ['_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.'50$this->source); })()), "user", [], "any"falsefalsefalse50)])]));
  397.         // line 51
  398.         echo "        ";
  399.         
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  401.         
  402.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  403.     }
  404.     // line 52
  405.     public function block_content($context, array $blocks = [])
  406.     {
  407.         $macros $this->macros;
  408.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  409.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  410.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  411.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  412.         // line 53
  413.         echo "            ";
  414.         $this->loadTemplate("@App/dashboard/settings/navbar.html.twig""@App/dashboard/settings/base.html.twig"53)->display(twig_array_merge(twig_array_merge($context, ["topMenu" => true]), ['_args' => twig_to_array(["topMenu" => true])]));
  415.         // line 54
  416.         echo "        ";
  417.         
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  419.         
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  421.     }
  422.     public function getTemplateName()
  423.     {
  424.         return "@App/dashboard/settings/base.html.twig";
  425.     }
  426.     public function isTraitable()
  427.     {
  428.         return false;
  429.     }
  430.     public function getDebugInfo()
  431.     {
  432.         return array (  506 => 54,  503 => 53,  493 => 52,  483 => 51,  480 => 50,  470 => 49,  447 => 43,  314 => 36,  187 => 62,  179 => 56,  176 => 43,  174 => 36,  169 => 35,  159 => 34,  148 => 31,  138 => 30,  128 => 26,  127 => 24,  126 => 23,  125 => 26,  124 => 24,  123 => 23,  121 => 22,  111 => 21,  101 => 18,  91 => 17,  81 => 14,  71 => 13,  60 => 1,  58 => 11,  56 => 10,  54 => 5,  52 => 4,  39 => 1,);
  433.     }
  434.     public function getSourceContext()
  435.     {
  436.         return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
  437. {# TODO: REMOVE - style for basic hc header #}
  438. {% do dom_html_attr_set_class('hc-header') %}
  439. {% do dom_styles([
  440.     'https://honeycomb.style/css/honeycomb.css',
  441.     '/hc/css/custom.css',
  442. ]) %}
  443. {% do include('@ProductsSchoolNow/_assets.html.twig') %}
  444. {% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
  445. {% block main_classes -%}
  446.     uilib
  447. {%- endblock %}
  448. {% block content_classes -%}
  449.     content__area--uilib
  450. {%- endblock %}
  451. {% block topbar %}
  452.     {% include 'topbar.html.twig' with {
  453.         avatar: (app.user.systemProfile.hasAvatar)
  454.         ? s3_entity(app.user, '/avatar/thumb')
  455.         : null,
  456.         displayName: app.user.displayName
  457.     } %}
  458. {% endblock %}
  459. {% block navbar %}
  460.     {% include '@App/dashboard/settings/navbar.html.twig' %}
  461. {% endblock %}
  462. {% block modals %}
  463.     {{ parent() }}
  464.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  465.         attr: {
  466.             id: 'topbar-help',
  467.             class: 'sidepanel--help',
  468.         },
  469.     } %}
  470.     {% endembed %}
  471.     {% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  472.         attr: {
  473.             id: 'sidepanel-setting',
  474.             class: 'setting-sidepanel',
  475.         },
  476.     } %}
  477.         {% block header %}
  478.             {% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
  479.         {% endblock %}
  480.         {% block content %}
  481.             {% include '@App/dashboard/settings/navbar.html.twig'  with { topMenu: true } %}
  482.         {% endblock %}
  483.     {% endembed %}
  484.     <script type=\"text/javascript\">
  485.         (function (window, document, \$, undefined) {
  486.             \$(function () {
  487.                 \$('#topbar-help').on('show.cs.sidepanel', function (e) {
  488.                     \$('#topbar-help .sidepanel__content')
  489.                         .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>')
  490.                     ;
  491.                 });
  492.             });
  493.         })(window, document, jQuery);
  494.     </script>
  495. {% endblock %}
  496. ""@App/dashboard/settings/base.html.twig""/var/www/campussuite/src/App/Resources/views/dashboard/settings/base.html.twig");
  497.     }
  498. }