<?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;
/* @App/dashboard/settings/base.html.twig */
class __TwigTemplate_998444f45abc08402a2fc40429d63921 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main_classes' => [$this, 'block_main_classes'],
'content_classes' => [$this, 'block_content_classes'],
'topbar' => [$this, 'block_topbar'],
'navbar' => [$this, 'block_navbar'],
'modals' => [$this, 'block_modals'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ui2022/schoolnow/page.html.twig";
}
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", "@App/dashboard/settings/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/dashboard/settings/base.html.twig"));
// line 4
$this->extensions['App\Twig\Extension\DomExtension']->dom_html_attr_($context, "set", "class", "hc-header");
// line 5
$this->extensions['App\Twig\Extension\DomExtension']->dom_styles($context, [0 => "https://honeycomb.style/css/honeycomb.css", 1 => "/hc/css/custom.css"]);
// line 10
twig_include($this->env, $context, "@ProductsSchoolNow/_assets.html.twig");
// line 11
twig_include($this->env, $context, "@ProductsSchoolNow/_assets_tracking.html.twig");
// line 1
$this->parent = $this->loadTemplate("@ui2022/schoolnow/page.html.twig", "@App/dashboard/settings/base.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 13
public function block_main_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", "main_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_classes"));
// line 14
echo "uilib";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 17
public function block_content_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", "content_classes"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content_classes"));
// line 18
echo "content__area--uilib";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 21
public function block_topbar($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", "topbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "topbar"));
// line 22
echo " ";
$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->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 23
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "user", [], "any", false, false, false, 23), "systemProfile", [], "any", false, false, false, 23), "hasAvatar", [], "any", false, false, false, 23)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env, $this->source, // line 24
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "user", [], "any", false, false, false, 24), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 26
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "user", [], "any", false, false, false, 26), "displayName", [], "any", false, false, false, 26)]), ['_args' => twig_to_array(["avatar" => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 23
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "user", [], "any", false, false, false, 23), "systemProfile", [], "any", false, false, false, 23), "hasAvatar", [], "any", false, false, false, 23)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env, $this->source, // line 24
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "user", [], "any", false, false, false, 24), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 26
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "user", [], "any", false, false, false, 26), "displayName", [], "any", false, false, false, 26)])]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 30
public function block_navbar($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", "navbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navbar"));
// line 31
echo " ";
$this->loadTemplate("@App/dashboard/settings/navbar.html.twig", "@App/dashboard/settings/base.html.twig", 31)->display(twig_array_merge($context, ['_args' => []]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 34
public function block_modals($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", "modals"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modals"));
// line 35
echo " ";
$this->displayParentBlock("modals", $context, $blocks);
echo "
";
// line 36
$this->loadTemplate("@App/dashboard/settings/base.html.twig", "@App/dashboard/settings/base.html.twig", 36, "1035501698")->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"]])]));
// line 43
echo " ";
$this->loadTemplate("@App/dashboard/settings/base.html.twig", "@App/dashboard/settings/base.html.twig", 43, "1316608974")->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"]])]));
// line 56
echo "
<script type=\"text/javascript\">
(function (window, document, \$, undefined) {
\$(function () {
\$('#topbar-help').on('show.cs.sidepanel', function (e) {
\$('#topbar-help .sidepanel__content')
.html('<iframe width=\"100%\" src=\"https://www-schoolnow-com.sandbox.hs-sites.com/schoolnew-home-page-2022?email=";
// line 62
echo twig_escape_filter($this->env, 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.', 62, $this->source); })()), "user", [], "any", false, false, false, 62), "email", [], "any", false, false, false, 62), "html", null, true);
echo "&slug=";
echo twig_escape_filter($this->env, 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.', 62, $this->source); })()), "tenant", [], "any", false, false, false, 62), "slug", [], "any", false, false, false, 62), "html", null, true);
echo "\"></iframe>')
;
});
});
})(window, document, jQuery);
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@App/dashboard/settings/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
{# TODO: REMOVE - style for basic hc header #}
{% do dom_html_attr_set_class('hc-header') %}
{% do dom_styles([
'https://honeycomb.style/css/honeycomb.css',
'/hc/css/custom.css',
]) %}
{% do include('@ProductsSchoolNow/_assets.html.twig') %}
{% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
{% block main_classes -%}
uilib
{%- endblock %}
{% block content_classes -%}
content__area--uilib
{%- endblock %}
{% block topbar %}
{% include 'topbar.html.twig' with {
avatar: (app.user.systemProfile.hasAvatar)
? s3_entity(app.user, '/avatar/thumb')
: null,
displayName: app.user.displayName
} %}
{% endblock %}
{% block navbar %}
{% include '@App/dashboard/settings/navbar.html.twig' %}
{% endblock %}
{% block modals %}
{{ parent() }}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'topbar-help',
class: 'sidepanel--help',
},
} %}
{% endembed %}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'sidepanel-setting',
class: 'setting-sidepanel',
},
} %}
{% block header %}
{% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
{% endblock %}
{% block content %}
{% include '@App/dashboard/settings/navbar.html.twig' with { topMenu: true } %}
{% endblock %}
{% endembed %}
<script type=\"text/javascript\">
(function (window, document, \$, undefined) {
\$(function () {
\$('#topbar-help').on('show.cs.sidepanel', function (e) {
\$('#topbar-help .sidepanel__content')
.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>')
;
});
});
})(window, document, jQuery);
</script>
{% endblock %}
", "@App/dashboard/settings/base.html.twig", "/var/www/campussuite/src/App/Resources/views/dashboard/settings/base.html.twig");
}
}
/* @App/dashboard/settings/base.html.twig */
class __TwigTemplate_998444f45abc08402a2fc40429d63921___1035501698 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 36
return "@ui2022/schoolnow/modal--sidepanel.html.twig";
}
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", "@App/dashboard/settings/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/dashboard/settings/base.html.twig"));
$this->parent = $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig", "@App/dashboard/settings/base.html.twig", 36);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@App/dashboard/settings/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
{# TODO: REMOVE - style for basic hc header #}
{% do dom_html_attr_set_class('hc-header') %}
{% do dom_styles([
'https://honeycomb.style/css/honeycomb.css',
'/hc/css/custom.css',
]) %}
{% do include('@ProductsSchoolNow/_assets.html.twig') %}
{% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
{% block main_classes -%}
uilib
{%- endblock %}
{% block content_classes -%}
content__area--uilib
{%- endblock %}
{% block topbar %}
{% include 'topbar.html.twig' with {
avatar: (app.user.systemProfile.hasAvatar)
? s3_entity(app.user, '/avatar/thumb')
: null,
displayName: app.user.displayName
} %}
{% endblock %}
{% block navbar %}
{% include '@App/dashboard/settings/navbar.html.twig' %}
{% endblock %}
{% block modals %}
{{ parent() }}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'topbar-help',
class: 'sidepanel--help',
},
} %}
{% endembed %}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'sidepanel-setting',
class: 'setting-sidepanel',
},
} %}
{% block header %}
{% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
{% endblock %}
{% block content %}
{% include '@App/dashboard/settings/navbar.html.twig' with { topMenu: true } %}
{% endblock %}
{% endembed %}
<script type=\"text/javascript\">
(function (window, document, \$, undefined) {
\$(function () {
\$('#topbar-help').on('show.cs.sidepanel', function (e) {
\$('#topbar-help .sidepanel__content')
.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>')
;
});
});
})(window, document, jQuery);
</script>
{% endblock %}
", "@App/dashboard/settings/base.html.twig", "/var/www/campussuite/src/App/Resources/views/dashboard/settings/base.html.twig");
}
}
/* @App/dashboard/settings/base.html.twig */
class __TwigTemplate_998444f45abc08402a2fc40429d63921___1316608974 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 43
return "@ui2022/schoolnow/modal--sidepanel.html.twig";
}
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", "@App/dashboard/settings/base.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@App/dashboard/settings/base.html.twig"));
$this->parent = $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig", "@App/dashboard/settings/base.html.twig", 43);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 49
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"));
// line 50
echo " ";
$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", false, false, false, 50)]), ['_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", false, false, false, 50)])]));
// line 51
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 52
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"));
// line 53
echo " ";
$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])]));
// line 54
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@App/dashboard/settings/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui2022/schoolnow/page.html.twig' %}
{# TODO: REMOVE - style for basic hc header #}
{% do dom_html_attr_set_class('hc-header') %}
{% do dom_styles([
'https://honeycomb.style/css/honeycomb.css',
'/hc/css/custom.css',
]) %}
{% do include('@ProductsSchoolNow/_assets.html.twig') %}
{% do include('@ProductsSchoolNow/_assets_tracking.html.twig') %}
{% block main_classes -%}
uilib
{%- endblock %}
{% block content_classes -%}
content__area--uilib
{%- endblock %}
{% block topbar %}
{% include 'topbar.html.twig' with {
avatar: (app.user.systemProfile.hasAvatar)
? s3_entity(app.user, '/avatar/thumb')
: null,
displayName: app.user.displayName
} %}
{% endblock %}
{% block navbar %}
{% include '@App/dashboard/settings/navbar.html.twig' %}
{% endblock %}
{% block modals %}
{{ parent() }}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'topbar-help',
class: 'sidepanel--help',
},
} %}
{% endembed %}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'sidepanel-setting',
class: 'setting-sidepanel',
},
} %}
{% block header %}
{% include '@ui2022/schoolnow/topbar__menu_user_header.html.twig' with { account: app.user } %}
{% endblock %}
{% block content %}
{% include '@App/dashboard/settings/navbar.html.twig' with { topMenu: true } %}
{% endblock %}
{% endembed %}
<script type=\"text/javascript\">
(function (window, document, \$, undefined) {
\$(function () {
\$('#topbar-help').on('show.cs.sidepanel', function (e) {
\$('#topbar-help .sidepanel__content')
.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>')
;
});
});
})(window, document, jQuery);
</script>
{% endblock %}
", "@App/dashboard/settings/base.html.twig", "/var/www/campussuite/src/App/Resources/views/dashboard/settings/base.html.twig");
}
}