<?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;
/* @ProductsNotifications/base.html.twig */
class __TwigTemplate_2def8f4ff16694c97ac292512769b679 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'topbar' => [$this, 'block_topbar'],
'navbar' => [$this, 'block_navbar'],
'modals' => [$this, 'block_modals'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ui2022/schoolnow/page--wide.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", "@ProductsNotifications/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", "@ProductsNotifications/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, "@ProductsNotifications/_assets.html.twig");
// line 11
twig_include($this->env, $context, "@ProductsNotifications/_assets_tracking.html.twig");
// line 1
$this->parent = $this->loadTemplate("@ui2022/schoolnow/page--wide.html.twig", "@ProductsNotifications/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_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 14
echo " ";
$this->loadTemplate("topbar.html.twig", "@ProductsNotifications/base.html.twig", 14)->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 15
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "user", [], "any", false, false, false, 15), "systemProfile", [], "any", false, false, false, 15), "hasAvatar", [], "any", false, false, false, 15)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env, $this->source, // line 16
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "user", [], "any", false, false, false, 16), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 18
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "user", [], "any", false, false, false, 18), "displayName", [], "any", false, false, false, 18)]), ['_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 15
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "user", [], "any", false, false, false, 15), "systemProfile", [], "any", false, false, false, 15), "hasAvatar", [], "any", false, false, false, 15)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env, $this->source, // line 16
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "user", [], "any", false, false, false, 16), "/avatar/thumb")) : (null)), "displayName" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 18
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 18, $this->source); })()), "user", [], "any", false, false, false, 18), "displayName", [], "any", false, false, false, 18)])]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 22
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 23
echo " ";
$this->loadTemplate("@ui2022/schoolnow/side__menu.html.twig", "@ProductsNotifications/base.html.twig", 23)->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 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), "systemProfile", [], "any", false, false, false, 24), "hasAvatar", [], "any", false, false, false, 24)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env, $this->source, // line 25
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "user", [], "any", false, false, false, 25), "/avatar/thumb")) : ("/ui2022/images/avatar.png")), "name" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 27
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "user", [], "any", false, false, false, 27), "displayName", [], "any", false, false, false, 27), "items" => [0 => ["title" => "Dashboard", "icon" => "icon-dash-board", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.default.main"), "active" => (is_string($__internal_compile_0 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 33
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "attributes", [], "any", false, false, false, 33), "get", [0 => "_route"], "method", false, false, false, 33)) && is_string($__internal_compile_1 = "app.notifications.dashboard.default.") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1)))], 1 => (($this->extensions['App\Twig\Extension\SecurityExtension']->maybeGranted([0 => "app.notifications.messaging.general", 1 => "app.notifications.messaging.urgent"])) ? (["title" => "Messages", "icon" => "icon-message-plane", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.main"), "active" => (is_string($__internal_compile_2 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 39
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "attributes", [], "any", false, false, false, 39), "get", [0 => "_route"], "method", false, false, false, 39)) && is_string($__internal_compile_3 = "app.notifications.dashboard.messages.") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3)))]) : (null)), 2 => ["title" => "Contacts", "icon" => "icon-userlist", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main"), "active" => (is_string($__internal_compile_4 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 45
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "attributes", [], "any", false, false, false, 45), "get", [0 => "_route"], "method", false, false, false, 45)) && is_string($__internal_compile_5 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_5 || 0 === strpos($__internal_compile_4, $__internal_compile_5))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"]), "items" => [0 => ["title" => "Parents", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main", ["query[filter]" => "family"]), "active" => ((is_string($__internal_compile_6 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 53
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "request", [], "any", false, false, false, 53), "attributes", [], "any", false, false, false, 53), "get", [0 => "_route"], "method", false, false, false, 53)) && is_string($__internal_compile_7 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_7 || 0 === strpos($__internal_compile_6, $__internal_compile_7))) && (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 53), "query", [], "any", false, true, false, 53), "get", [0 => "query"], "method", false, true, false, 53), "filter", [], "array", true, true, false, 53)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 53), "query", [], "any", false, true, false, 53), "get", [0 => "query"], "method", false, true, false, 53), "filter", [], "array", false, false, false, 53), null)) : (null)) === "family")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 1 => ["title" => "Staff", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main", ["query[filter]" => "staff"]), "active" => ((is_string($__internal_compile_8 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 61
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "attributes", [], "any", false, false, false, 61), "get", [0 => "_route"], "method", false, false, false, 61)) && is_string($__internal_compile_9 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_9 || 0 === strpos($__internal_compile_8, $__internal_compile_9))) && (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 61), "query", [], "any", false, true, false, 61), "get", [0 => "query"], "method", false, true, false, 61), "filter", [], "array", true, true, false, 61)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 61), "query", [], "any", false, true, false, 61), "get", [0 => "query"], "method", false, true, false, 61), "filter", [], "array", false, false, false, 61), null)) : (null)) === "staff")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 2 => ["title" => "Community", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main", ["query[filter]" => "community", "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])]), "active" => ((is_string($__internal_compile_10 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 70
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "attributes", [], "any", false, false, false, 70), "get", [0 => "_route"], "method", false, false, false, 70)) && is_string($__internal_compile_11 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_11 || 0 === strpos($__internal_compile_10, $__internal_compile_11))) && (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 70), "query", [], "any", false, true, false, 70), "get", [0 => "query"], "method", false, true, false, 70), "filter", [], "array", true, true, false, 70)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 70), "query", [], "any", false, true, false, 70), "get", [0 => "query"], "method", false, true, false, 70), "filter", [], "array", false, false, false, 70), null)) : (null)) === "community")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 3 => ["title" => "Students", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.students.main"), "active" => (is_string($__internal_compile_12 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 76
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "attributes", [], "any", false, false, false, 76), "get", [0 => "_route"], "method", false, false, false, 76)) && is_string($__internal_compile_13 = "app.notifications.dashboard.students.") && ('' === $__internal_compile_13 || 0 === strpos($__internal_compile_12, $__internal_compile_13))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])]]], 3 => (($this->extensions['App\Twig\Extension\SecurityExtension']->maybeGranted("app.notifications.lists.admin")) ? (["title" => "Lists", "icon" => "icon-templates", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.lists.main"), "active" => (is_string($__internal_compile_14 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 85
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 85, $this->source); })()), "request", [], "any", false, false, false, 85), "attributes", [], "any", false, false, false, 85), "get", [0 => "_route"], "method", false, false, false, 85)) && is_string($__internal_compile_15 = "app.notifications.dashboard.lists.") && ('' === $__internal_compile_15 || 0 === strpos($__internal_compile_14, $__internal_compile_15)))]) : (null)), 4 => ["title" => "Reports", "icon" => "icon-contacts", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.reports.main"), "active" => (is_string($__internal_compile_16 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 91
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 91, $this->source); })()), "request", [], "any", false, false, false, 91), "attributes", [], "any", false, false, false, 91), "get", [0 => "_route"], "method", false, false, false, 91)) && is_string($__internal_compile_17 = "app.notifications.dashboard.reports.") && ('' === $__internal_compile_17 || 0 === strpos($__internal_compile_16, $__internal_compile_17))), "permission" => "@app.notifications.access", "items" => [0 => ["title" => "SIS Records", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.sis.main"), "active" => (is_string($__internal_compile_18 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 97
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "attributes", [], "any", false, false, false, 97), "get", [0 => "_route"], "method", false, false, false, 97)) && is_string($__internal_compile_19 = "app.notifications.dashboard.sis.") && ('' === $__internal_compile_19 || 0 === strpos($__internal_compile_18, $__internal_compile_19))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 1 => ["title" => "Logs", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.logs.main"), "active" => (is_string($__internal_compile_20 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 103
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 103, $this->source); })()), "request", [], "any", false, false, false, 103), "attributes", [], "any", false, false, false, 103), "get", [0 => "_route"], "method", false, false, false, 103)) && is_string($__internal_compile_21 = "app.notifications.dashboard.logs.") && ('' === $__internal_compile_21 || 0 === strpos($__internal_compile_20, $__internal_compile_21))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])]]], 5 => ["title" => "Templates", "icon" => "icon-reports", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.templates.main"), "active" => (is_string($__internal_compile_22 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 112
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 112, $this->source); })()), "request", [], "any", false, false, false, 112), "attributes", [], "any", false, false, false, 112), "get", [0 => "_route"], "method", false, false, false, 112)) && is_string($__internal_compile_23 = "app.notifications.dashboard.templates.") && ('' === $__internal_compile_23 || 0 === strpos($__internal_compile_22, $__internal_compile_23))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.templates.admin", 1 => "app.notifications.automations.admin"])], 6 => ["title" => "Settings", "icon" => "icon-settings", "link" => "#", "active" => ((is_string($__internal_compile_24 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 120
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "attributes", [], "any", false, false, false, 120), "get", [0 => "_route"], "method", false, false, false, 120)) && is_string($__internal_compile_25 = "app.notifications.dashboard.settings.") && ('' === $__internal_compile_25 || 0 === strpos($__internal_compile_24, $__internal_compile_25))) || (is_string($__internal_compile_26 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 122
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 122, $this->source); })()), "request", [], "any", false, false, false, 122), "attributes", [], "any", false, false, false, 122), "get", [0 => "_route"], "method", false, false, false, 122)) && is_string($__internal_compile_27 = "app.notifications.dashboard.onboarding.") && ('' === $__internal_compile_27 || 0 === strpos($__internal_compile_26, $__internal_compile_27)))), "permission" => "app.notifications.onboarding.admin", "items" => [0 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "Onboarding", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.default.main"), "active" => (is_string($__internal_compile_28 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 129
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 129, $this->source); })()), "request", [], "any", false, false, false, 129), "attributes", [], "any", false, false, false, 129), "get", [0 => "_route"], "method", false, false, false, 129)) && is_string($__internal_compile_29 = "app.notifications.dashboard.onboarding.default.") && ('' === $__internal_compile_29 || 0 === strpos($__internal_compile_28, $__internal_compile_29))), "permission" => "app.notifications.onboarding.admin"]) : (null)), 1 => ((false) ? (["title" => "Phone Number", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.phones.main"), "active" => (is_string($__internal_compile_30 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 135
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 135, $this->source); })()), "request", [], "any", false, false, false, 135), "attributes", [], "any", false, false, false, 135), "get", [0 => "_route"], "method", false, false, false, 135)) && is_string($__internal_compile_31 = "app.notifications.dashboard.onboarding.phones.") && ('' === $__internal_compile_31 || 0 === strpos($__internal_compile_30, $__internal_compile_31))), "permission" => "app.notifications.onboarding.admin"]) : (null)), 2 => ["title" => "Voice Caller IDs", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.caller_ids.main"), "active" => (is_string($__internal_compile_32 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 141
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 141, $this->source); })()), "request", [], "any", false, false, false, 141), "attributes", [], "any", false, false, false, 141), "get", [0 => "_route"], "method", false, false, false, 141)) && is_string($__internal_compile_33 = "app.notifications.dashboard.onboarding.caller_ids.") && ('' === $__internal_compile_33 || 0 === strpos($__internal_compile_32, $__internal_compile_33))), "permission" => "app.notifications.onboarding.admin"], 3 => ["title" => "Email Domains", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.domains.main"), "active" => (is_string($__internal_compile_34 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 147
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 147, $this->source); })()), "request", [], "any", false, false, false, 147), "attributes", [], "any", false, false, false, 147), "get", [0 => "_route"], "method", false, false, false, 147)) && is_string($__internal_compile_35 = "app.notifications.dashboard.onboarding.domains.") && ('' === $__internal_compile_35 || 0 === strpos($__internal_compile_34, $__internal_compile_35))), "permission" => "app.notifications.onboarding.admin"], 4 => ["title" => "Email Suppressions", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.email_suppression.main"), "active" => (is_string($__internal_compile_36 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 153
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 153, $this->source); })()), "request", [], "any", false, false, false, 153), "attributes", [], "any", false, false, false, 153), "get", [0 => "_route"], "method", false, false, false, 153)) && is_string($__internal_compile_37 = "app.notifications.dashboard.onboarding.email_suppression.") && ('' === $__internal_compile_37 || 0 === strpos($__internal_compile_36, $__internal_compile_37))), "permission" => "app.notifications.onboarding.admin"], 5 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "Notifications Config", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.notifications_config.main"), "active" => (is_string($__internal_compile_38 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 159
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, false, 159), "attributes", [], "any", false, false, false, 159), "get", [0 => "_route"], "method", false, false, false, 159)) && is_string($__internal_compile_39 = "app.notifications.dashboard.onboarding.notifications_config.") && ('' === $__internal_compile_39 || 0 === strpos($__internal_compile_38, $__internal_compile_39))), "permission" => "app.notifications.onboarding.admin"]) : (null)), 6 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "DEBUG", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.default.debugging"), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 165
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 165, $this->source); })()), "request", [], "any", false, false, false, 165), "attributes", [], "any", false, false, false, 165), "get", [0 => "_route"], "method", false, false, false, 165) === "app.notifications.dashboard.onboarding.default.debugging"), "permission" => "app.notifications.onboarding.admin"]) : (null))]], 7 => ["title" => "Auto Notices", "icon" => "icon-gear", "link" => "#", "active" => (is_string($__internal_compile_40 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 174
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 174, $this->source); })()), "request", [], "any", false, false, false, 174), "attributes", [], "any", false, false, false, 174), "get", [0 => "_route"], "method", false, false, false, 174)) && is_string($__internal_compile_41 = "app.notifications.dashboard.automations.") && ('' === $__internal_compile_41 || 0 === strpos($__internal_compile_40, $__internal_compile_41))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.automations.admin", 1 => "app.notifications.messaging.general", 2 => "app.notifications.messaging.urgent"]), "items" => [0 => ["title" => "General", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.automations.invocation_list", ["type" => "general"]), "active" => ((is_string($__internal_compile_42 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 181
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 181, $this->source); })()), "request", [], "any", false, false, false, 181), "attributes", [], "any", false, false, false, 181), "get", [0 => "_route"], "method", false, false, false, 181)) && is_string($__internal_compile_43 = "app.notifications.dashboard.automations.invocation_list") && ('' === $__internal_compile_43 || 0 === strpos($__internal_compile_42, $__internal_compile_43))) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 181, $this->source); })()), "request", [], "any", false, false, false, 181), "attributes", [], "any", false, false, false, 181), "get", [0 => "type"], "method", false, false, false, 181) === "general")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.automations.admin", 1 => "app.notifications.messaging.general", 2 => "app.notifications.messaging.urgent"])], 1 => ["title" => "Attendance", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.automations.invocation_list", ["type" => "attendance"]), "active" => ((is_string($__internal_compile_44 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 187
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "attributes", [], "any", false, false, false, 187), "get", [0 => "_route"], "method", false, false, false, 187)) && is_string($__internal_compile_45 = "app.notifications.dashboard.automations.invocation_list") && ('' === $__internal_compile_45 || 0 === strpos($__internal_compile_44, $__internal_compile_45))) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "attributes", [], "any", false, false, false, 187), "get", [0 => "type"], "method", false, false, false, 187) === "attendance")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.automations.admin", 1 => "app.notifications.messaging.general", 2 => "app.notifications.messaging.urgent"])]]], 8 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "Portal", "icon" => "fas fa-rocket", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.portal.login.login"), "target" => "_blank"]) : (null))]]), ['_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 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), "systemProfile", [], "any", false, false, false, 24), "hasAvatar", [], "any", false, false, false, 24)) ? ($this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->functionS3Entity(twig_get_attribute($this->env, $this->source, // line 25
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "user", [], "any", false, false, false, 25), "/avatar/thumb")) : ("/ui2022/images/avatar.png")), "name" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 27
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "user", [], "any", false, false, false, 27), "displayName", [], "any", false, false, false, 27), "items" => [0 => ["title" => "Dashboard", "icon" => "icon-dash-board", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.default.main"), "active" => (is_string($__internal_compile_46 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 33
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "attributes", [], "any", false, false, false, 33), "get", [0 => "_route"], "method", false, false, false, 33)) && is_string($__internal_compile_47 = "app.notifications.dashboard.default.") && ('' === $__internal_compile_47 || 0 === strpos($__internal_compile_46, $__internal_compile_47)))], 1 => (($this->extensions['App\Twig\Extension\SecurityExtension']->maybeGranted([0 => "app.notifications.messaging.general", 1 => "app.notifications.messaging.urgent"])) ? (["title" => "Messages", "icon" => "icon-message-plane", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.main"), "active" => (is_string($__internal_compile_48 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 39
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "attributes", [], "any", false, false, false, 39), "get", [0 => "_route"], "method", false, false, false, 39)) && is_string($__internal_compile_49 = "app.notifications.dashboard.messages.") && ('' === $__internal_compile_49 || 0 === strpos($__internal_compile_48, $__internal_compile_49)))]) : (null)), 2 => ["title" => "Contacts", "icon" => "icon-userlist", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main"), "active" => (is_string($__internal_compile_50 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 45
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "attributes", [], "any", false, false, false, 45), "get", [0 => "_route"], "method", false, false, false, 45)) && is_string($__internal_compile_51 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_51 || 0 === strpos($__internal_compile_50, $__internal_compile_51))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"]), "items" => [0 => ["title" => "Parents", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main", ["query[filter]" => "family"]), "active" => ((is_string($__internal_compile_52 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 53
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "request", [], "any", false, false, false, 53), "attributes", [], "any", false, false, false, 53), "get", [0 => "_route"], "method", false, false, false, 53)) && is_string($__internal_compile_53 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_53 || 0 === strpos($__internal_compile_52, $__internal_compile_53))) && (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 53), "query", [], "any", false, true, false, 53), "get", [0 => "query"], "method", false, true, false, 53), "filter", [], "array", true, true, false, 53)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 53), "query", [], "any", false, true, false, 53), "get", [0 => "query"], "method", false, true, false, 53), "filter", [], "array", false, false, false, 53), null)) : (null)) === "family")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 1 => ["title" => "Staff", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main", ["query[filter]" => "staff"]), "active" => ((is_string($__internal_compile_54 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 61
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 61, $this->source); })()), "request", [], "any", false, false, false, 61), "attributes", [], "any", false, false, false, 61), "get", [0 => "_route"], "method", false, false, false, 61)) && is_string($__internal_compile_55 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_55 || 0 === strpos($__internal_compile_54, $__internal_compile_55))) && (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 61), "query", [], "any", false, true, false, 61), "get", [0 => "query"], "method", false, true, false, 61), "filter", [], "array", true, true, false, 61)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 61), "query", [], "any", false, true, false, 61), "get", [0 => "query"], "method", false, true, false, 61), "filter", [], "array", false, false, false, 61), null)) : (null)) === "staff")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 2 => ["title" => "Community", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.profiles.main", ["query[filter]" => "community", "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])]), "active" => ((is_string($__internal_compile_56 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 70
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "attributes", [], "any", false, false, false, 70), "get", [0 => "_route"], "method", false, false, false, 70)) && is_string($__internal_compile_57 = "app.notifications.dashboard.profiles.") && ('' === $__internal_compile_57 || 0 === strpos($__internal_compile_56, $__internal_compile_57))) && (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 70), "query", [], "any", false, true, false, 70), "get", [0 => "query"], "method", false, true, false, 70), "filter", [], "array", true, true, false, 70)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 70), "query", [], "any", false, true, false, 70), "get", [0 => "query"], "method", false, true, false, 70), "filter", [], "array", false, false, false, 70), null)) : (null)) === "community")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 3 => ["title" => "Students", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.students.main"), "active" => (is_string($__internal_compile_58 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 76
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 76, $this->source); })()), "request", [], "any", false, false, false, 76), "attributes", [], "any", false, false, false, 76), "get", [0 => "_route"], "method", false, false, false, 76)) && is_string($__internal_compile_59 = "app.notifications.dashboard.students.") && ('' === $__internal_compile_59 || 0 === strpos($__internal_compile_58, $__internal_compile_59))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])]]], 3 => (($this->extensions['App\Twig\Extension\SecurityExtension']->maybeGranted("app.notifications.lists.admin")) ? (["title" => "Lists", "icon" => "icon-templates", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.lists.main"), "active" => (is_string($__internal_compile_60 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 85
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 85, $this->source); })()), "request", [], "any", false, false, false, 85), "attributes", [], "any", false, false, false, 85), "get", [0 => "_route"], "method", false, false, false, 85)) && is_string($__internal_compile_61 = "app.notifications.dashboard.lists.") && ('' === $__internal_compile_61 || 0 === strpos($__internal_compile_60, $__internal_compile_61)))]) : (null)), 4 => ["title" => "Reports", "icon" => "icon-contacts", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.reports.main"), "active" => (is_string($__internal_compile_62 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 91
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 91, $this->source); })()), "request", [], "any", false, false, false, 91), "attributes", [], "any", false, false, false, 91), "get", [0 => "_route"], "method", false, false, false, 91)) && is_string($__internal_compile_63 = "app.notifications.dashboard.reports.") && ('' === $__internal_compile_63 || 0 === strpos($__internal_compile_62, $__internal_compile_63))), "permission" => "@app.notifications.access", "items" => [0 => ["title" => "SIS Records", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.sis.main"), "active" => (is_string($__internal_compile_64 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 97
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 97, $this->source); })()), "request", [], "any", false, false, false, 97), "attributes", [], "any", false, false, false, 97), "get", [0 => "_route"], "method", false, false, false, 97)) && is_string($__internal_compile_65 = "app.notifications.dashboard.sis.") && ('' === $__internal_compile_65 || 0 === strpos($__internal_compile_64, $__internal_compile_65))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])], 1 => ["title" => "Logs", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.logs.main"), "active" => (is_string($__internal_compile_66 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 103
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 103, $this->source); })()), "request", [], "any", false, false, false, 103), "attributes", [], "any", false, false, false, 103), "get", [0 => "_route"], "method", false, false, false, 103)) && is_string($__internal_compile_67 = "app.notifications.dashboard.logs.") && ('' === $__internal_compile_67 || 0 === strpos($__internal_compile_66, $__internal_compile_67))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.contacts.admin", 1 => "app.notifications.contacts.view"])]]], 5 => ["title" => "Templates", "icon" => "icon-reports", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.templates.main"), "active" => (is_string($__internal_compile_68 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 112
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 112, $this->source); })()), "request", [], "any", false, false, false, 112), "attributes", [], "any", false, false, false, 112), "get", [0 => "_route"], "method", false, false, false, 112)) && is_string($__internal_compile_69 = "app.notifications.dashboard.templates.") && ('' === $__internal_compile_69 || 0 === strpos($__internal_compile_68, $__internal_compile_69))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.templates.admin", 1 => "app.notifications.automations.admin"])], 6 => ["title" => "Settings", "icon" => "icon-settings", "link" => "#", "active" => ((is_string($__internal_compile_70 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 120
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 120, $this->source); })()), "request", [], "any", false, false, false, 120), "attributes", [], "any", false, false, false, 120), "get", [0 => "_route"], "method", false, false, false, 120)) && is_string($__internal_compile_71 = "app.notifications.dashboard.settings.") && ('' === $__internal_compile_71 || 0 === strpos($__internal_compile_70, $__internal_compile_71))) || (is_string($__internal_compile_72 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 122
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 122, $this->source); })()), "request", [], "any", false, false, false, 122), "attributes", [], "any", false, false, false, 122), "get", [0 => "_route"], "method", false, false, false, 122)) && is_string($__internal_compile_73 = "app.notifications.dashboard.onboarding.") && ('' === $__internal_compile_73 || 0 === strpos($__internal_compile_72, $__internal_compile_73)))), "permission" => "app.notifications.onboarding.admin", "items" => [0 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "Onboarding", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.default.main"), "active" => (is_string($__internal_compile_74 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 129
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 129, $this->source); })()), "request", [], "any", false, false, false, 129), "attributes", [], "any", false, false, false, 129), "get", [0 => "_route"], "method", false, false, false, 129)) && is_string($__internal_compile_75 = "app.notifications.dashboard.onboarding.default.") && ('' === $__internal_compile_75 || 0 === strpos($__internal_compile_74, $__internal_compile_75))), "permission" => "app.notifications.onboarding.admin"]) : (null)), 1 => ((false) ? (["title" => "Phone Number", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.phones.main"), "active" => (is_string($__internal_compile_76 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 135
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 135, $this->source); })()), "request", [], "any", false, false, false, 135), "attributes", [], "any", false, false, false, 135), "get", [0 => "_route"], "method", false, false, false, 135)) && is_string($__internal_compile_77 = "app.notifications.dashboard.onboarding.phones.") && ('' === $__internal_compile_77 || 0 === strpos($__internal_compile_76, $__internal_compile_77))), "permission" => "app.notifications.onboarding.admin"]) : (null)), 2 => ["title" => "Voice Caller IDs", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.caller_ids.main"), "active" => (is_string($__internal_compile_78 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 141
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 141, $this->source); })()), "request", [], "any", false, false, false, 141), "attributes", [], "any", false, false, false, 141), "get", [0 => "_route"], "method", false, false, false, 141)) && is_string($__internal_compile_79 = "app.notifications.dashboard.onboarding.caller_ids.") && ('' === $__internal_compile_79 || 0 === strpos($__internal_compile_78, $__internal_compile_79))), "permission" => "app.notifications.onboarding.admin"], 3 => ["title" => "Email Domains", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.domains.main"), "active" => (is_string($__internal_compile_80 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 147
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 147, $this->source); })()), "request", [], "any", false, false, false, 147), "attributes", [], "any", false, false, false, 147), "get", [0 => "_route"], "method", false, false, false, 147)) && is_string($__internal_compile_81 = "app.notifications.dashboard.onboarding.domains.") && ('' === $__internal_compile_81 || 0 === strpos($__internal_compile_80, $__internal_compile_81))), "permission" => "app.notifications.onboarding.admin"], 4 => ["title" => "Email Suppressions", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.email_suppression.main"), "active" => (is_string($__internal_compile_82 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 153
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 153, $this->source); })()), "request", [], "any", false, false, false, 153), "attributes", [], "any", false, false, false, 153), "get", [0 => "_route"], "method", false, false, false, 153)) && is_string($__internal_compile_83 = "app.notifications.dashboard.onboarding.email_suppression.") && ('' === $__internal_compile_83 || 0 === strpos($__internal_compile_82, $__internal_compile_83))), "permission" => "app.notifications.onboarding.admin"], 5 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "Notifications Config", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.notifications_config.main"), "active" => (is_string($__internal_compile_84 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 159
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 159, $this->source); })()), "request", [], "any", false, false, false, 159), "attributes", [], "any", false, false, false, 159), "get", [0 => "_route"], "method", false, false, false, 159)) && is_string($__internal_compile_85 = "app.notifications.dashboard.onboarding.notifications_config.") && ('' === $__internal_compile_85 || 0 === strpos($__internal_compile_84, $__internal_compile_85))), "permission" => "app.notifications.onboarding.admin"]) : (null)), 6 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "DEBUG", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.onboarding.default.debugging"), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 165
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 165, $this->source); })()), "request", [], "any", false, false, false, 165), "attributes", [], "any", false, false, false, 165), "get", [0 => "_route"], "method", false, false, false, 165) === "app.notifications.dashboard.onboarding.default.debugging"), "permission" => "app.notifications.onboarding.admin"]) : (null))]], 7 => ["title" => "Auto Notices", "icon" => "icon-gear", "link" => "#", "active" => (is_string($__internal_compile_86 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 174
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 174, $this->source); })()), "request", [], "any", false, false, false, 174), "attributes", [], "any", false, false, false, 174), "get", [0 => "_route"], "method", false, false, false, 174)) && is_string($__internal_compile_87 = "app.notifications.dashboard.automations.") && ('' === $__internal_compile_87 || 0 === strpos($__internal_compile_86, $__internal_compile_87))), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.automations.admin", 1 => "app.notifications.messaging.general", 2 => "app.notifications.messaging.urgent"]), "items" => [0 => ["title" => "General", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.automations.invocation_list", ["type" => "general"]), "active" => ((is_string($__internal_compile_88 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 181
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 181, $this->source); })()), "request", [], "any", false, false, false, 181), "attributes", [], "any", false, false, false, 181), "get", [0 => "_route"], "method", false, false, false, 181)) && is_string($__internal_compile_89 = "app.notifications.dashboard.automations.invocation_list") && ('' === $__internal_compile_89 || 0 === strpos($__internal_compile_88, $__internal_compile_89))) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 181, $this->source); })()), "request", [], "any", false, false, false, 181), "attributes", [], "any", false, false, false, 181), "get", [0 => "type"], "method", false, false, false, 181) === "general")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.automations.admin", 1 => "app.notifications.messaging.general", 2 => "app.notifications.messaging.urgent"])], 1 => ["title" => "Attendance", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.automations.invocation_list", ["type" => "attendance"]), "active" => ((is_string($__internal_compile_90 = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 187
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "attributes", [], "any", false, false, false, 187), "get", [0 => "_route"], "method", false, false, false, 187)) && is_string($__internal_compile_91 = "app.notifications.dashboard.automations.invocation_list") && ('' === $__internal_compile_91 || 0 === strpos($__internal_compile_90, $__internal_compile_91))) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 187, $this->source); })()), "request", [], "any", false, false, false, 187), "attributes", [], "any", false, false, false, 187), "get", [0 => "type"], "method", false, false, false, 187) === "attendance")), "permission" => $this->extensions['App\Twig\Extension\SecurityExtension']->attributesExpression([0 => "app.notifications.automations.admin", 1 => "app.notifications.messaging.general", 2 => "app.notifications.messaging.urgent"])]]], 8 => (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("campussuite.root")) ? (["title" => "Portal", "icon" => "fas fa-rocket", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.portal.login.login"), "target" => "_blank"]) : (null))]])]));
// line 200
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 203
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 204
echo " ";
$this->displayParentBlock("modals", $context, $blocks);
echo "
";
// line 205
$this->loadTemplate("@ProductsNotifications/base.html.twig", "@ProductsNotifications/base.html.twig", 205, "404985685")->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 220
echo "
";
// line 221
$this->loadTemplate("@ProductsNotifications/base.html.twig", "@ProductsNotifications/base.html.twig", 221, "1101186971")->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 234
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 240
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.', 240, $this->source); })()), "user", [], "any", false, false, false, 240), "email", [], "any", false, false, false, 240), "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.', 240, $this->source); })()), "tenant", [], "any", false, false, false, 240), "slug", [], "any", false, false, false, 240), "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 "@ProductsNotifications/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 204 => 240, 196 => 234, 194 => 221, 191 => 220, 189 => 205, 184 => 204, 174 => 203, 163 => 200, 161 => 187, 160 => 181, 159 => 174, 158 => 165, 157 => 159, 156 => 153, 155 => 147, 154 => 141, 153 => 135, 152 => 129, 151 => 122, 150 => 120, 149 => 112, 148 => 103, 147 => 97, 146 => 91, 145 => 85, 144 => 76, 143 => 70, 142 => 61, 141 => 53, 140 => 45, 139 => 39, 138 => 33, 137 => 27, 136 => 25, 135 => 24, 134 => 187, 133 => 181, 132 => 174, 131 => 165, 130 => 159, 129 => 153, 128 => 147, 127 => 141, 126 => 135, 125 => 129, 124 => 122, 123 => 120, 122 => 112, 121 => 103, 120 => 97, 119 => 91, 118 => 85, 117 => 76, 116 => 70, 115 => 61, 114 => 53, 113 => 45, 112 => 39, 111 => 33, 110 => 27, 109 => 25, 108 => 24, 106 => 23, 96 => 22, 86 => 18, 85 => 16, 84 => 15, 83 => 18, 82 => 16, 81 => 15, 79 => 14, 69 => 13, 58 => 1, 56 => 11, 54 => 10, 52 => 5, 50 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui2022/schoolnow/page--wide.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('@ProductsNotifications/_assets.html.twig') %}
{% do include('@ProductsNotifications/_assets_tracking.html.twig') %}
{% 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 '@ui2022/schoolnow/side__menu.html.twig' with {
avatar: (app.user.systemProfile.hasAvatar)
? s3_entity(app.user, '/avatar/thumb')
: '/ui2022/images/avatar.png',
name: app.user.displayName,
items: [
{
title: 'Dashboard',
icon: 'icon-dash-board',
link: path('app.notifications.dashboard.default.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.default.'),
},
maybe_granted(['app.notifications.messaging.general', 'app.notifications.messaging.urgent']) ? {
title: 'Messages',
icon: 'icon-message-plane',
link: path('app.notifications.dashboard.messages.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.messages.'),
} : null,
{
title: 'Contacts',
icon: 'icon-userlist',
link: path('app.notifications.dashboard.profiles.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
items: [
{
title: 'Parents',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'family',
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('family'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Staff',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'staff',
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('staff'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Community',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'community',
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('community'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Students',
link: path('app.notifications.dashboard.students.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.students.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
],
},
maybe_granted('app.notifications.lists.admin') ? {
title: 'Lists',
icon: 'icon-templates',
link: path('app.notifications.dashboard.lists.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.lists.'),
} : null,
{
title: 'Reports',
icon: 'icon-contacts',
link: path('app.notifications.dashboard.reports.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.reports.'),
permission: '@app.notifications.access',
items: [
{
title: 'SIS Records',
link: path('app.notifications.dashboard.sis.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.sis.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Logs',
link: path('app.notifications.dashboard.logs.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.logs.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
],
},
{
title: 'Templates',
icon: 'icon-reports',
link: path('app.notifications.dashboard.templates.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.templates.'),
permission: attributes_expression(['app.notifications.templates.admin', 'app.notifications.automations.admin']),
},
{
title: 'Settings',
icon: 'icon-settings',
link: '#',
active: (
(app.request.attributes.get('_route') starts with 'app.notifications.dashboard.settings.')
or
(app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.')
),
permission: 'app.notifications.onboarding.admin',
items: [
is_granted('campussuite.root') ? {
title: 'Onboarding',
link: path('app.notifications.dashboard.onboarding.default.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.default.'),
permission: 'app.notifications.onboarding.admin',
} : null,
(false) ? {
title: 'Phone Number',
link: path('app.notifications.dashboard.onboarding.phones.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.phones.'),
permission: 'app.notifications.onboarding.admin',
} : null,
{
title: 'Voice Caller IDs',
link: path('app.notifications.dashboard.onboarding.caller_ids.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.caller_ids.'),
permission: 'app.notifications.onboarding.admin',
},
{
title: 'Email Domains',
link: path('app.notifications.dashboard.onboarding.domains.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.domains.'),
permission: 'app.notifications.onboarding.admin',
},
{
title: 'Email Suppressions',
link: path('app.notifications.dashboard.onboarding.email_suppression.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.email_suppression.'),
permission: 'app.notifications.onboarding.admin',
},
is_granted('campussuite.root') ? {
title: 'Notifications Config',
link: path('app.notifications.dashboard.onboarding.notifications_config.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.notifications_config.'),
permission: 'app.notifications.onboarding.admin',
} : null,
is_granted('campussuite.root') ? {
title: 'DEBUG',
link: path('app.notifications.dashboard.onboarding.default.debugging'),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.onboarding.default.debugging')),
permission: 'app.notifications.onboarding.admin',
} : null,
],
},
{
title: 'Auto Notices',
icon: 'icon-gear',
link: '#',
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
items: [
{
title: 'General',
link: path('app.notifications.dashboard.automations.invocation_list', {type: 'general'}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.invocation_list') and app.request.attributes.get('type') is same as('general'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
},
{
title: 'Attendance',
link: path('app.notifications.dashboard.automations.invocation_list', {type: 'attendance'}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.invocation_list') and app.request.attributes.get('type') is same as('attendance'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
},
],
},
is_granted('campussuite.root') ? {
title: 'Portal',
icon: 'fas fa-rocket',
link: path('app.notifications.portal.login.login'),
target: '_blank',
} : null,
],
} %}
{% endblock %}
{% block modals %}
{{ parent() }}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'topbar-help',
class: 'sidepanel--help',
},
} %}
{% block header %}
<div class=\"sidepanel__head-left\">
<h2 class=\"text-an-demibold\">Help Center</h2>
</div>
<div class=\"sidepanel__head--right\">
<img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
</div>
{% endblock %}
{% 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 %}
", "@ProductsNotifications/base.html.twig", "/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/base.html.twig");
}
}
/* @ProductsNotifications/base.html.twig */
class __TwigTemplate_2def8f4ff16694c97ac292512769b679___404985685 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'],
];
}
protected function doGetParent(array $context)
{
// line 205
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", "@ProductsNotifications/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", "@ProductsNotifications/base.html.twig"));
$this->parent = $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig", "@ProductsNotifications/base.html.twig", 205);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 211
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 212
echo " <div class=\"sidepanel__head-left\">
<h2 class=\"text-an-demibold\">Help Center</h2>
</div>
<div class=\"sidepanel__head--right\">
<img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProductsNotifications/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 543 => 212, 533 => 211, 510 => 205, 204 => 240, 196 => 234, 194 => 221, 191 => 220, 189 => 205, 184 => 204, 174 => 203, 163 => 200, 161 => 187, 160 => 181, 159 => 174, 158 => 165, 157 => 159, 156 => 153, 155 => 147, 154 => 141, 153 => 135, 152 => 129, 151 => 122, 150 => 120, 149 => 112, 148 => 103, 147 => 97, 146 => 91, 145 => 85, 144 => 76, 143 => 70, 142 => 61, 141 => 53, 140 => 45, 139 => 39, 138 => 33, 137 => 27, 136 => 25, 135 => 24, 134 => 187, 133 => 181, 132 => 174, 131 => 165, 130 => 159, 129 => 153, 128 => 147, 127 => 141, 126 => 135, 125 => 129, 124 => 122, 123 => 120, 122 => 112, 121 => 103, 120 => 97, 119 => 91, 118 => 85, 117 => 76, 116 => 70, 115 => 61, 114 => 53, 113 => 45, 112 => 39, 111 => 33, 110 => 27, 109 => 25, 108 => 24, 106 => 23, 96 => 22, 86 => 18, 85 => 16, 84 => 15, 83 => 18, 82 => 16, 81 => 15, 79 => 14, 69 => 13, 58 => 1, 56 => 11, 54 => 10, 52 => 5, 50 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui2022/schoolnow/page--wide.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('@ProductsNotifications/_assets.html.twig') %}
{% do include('@ProductsNotifications/_assets_tracking.html.twig') %}
{% 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 '@ui2022/schoolnow/side__menu.html.twig' with {
avatar: (app.user.systemProfile.hasAvatar)
? s3_entity(app.user, '/avatar/thumb')
: '/ui2022/images/avatar.png',
name: app.user.displayName,
items: [
{
title: 'Dashboard',
icon: 'icon-dash-board',
link: path('app.notifications.dashboard.default.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.default.'),
},
maybe_granted(['app.notifications.messaging.general', 'app.notifications.messaging.urgent']) ? {
title: 'Messages',
icon: 'icon-message-plane',
link: path('app.notifications.dashboard.messages.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.messages.'),
} : null,
{
title: 'Contacts',
icon: 'icon-userlist',
link: path('app.notifications.dashboard.profiles.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
items: [
{
title: 'Parents',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'family',
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('family'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Staff',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'staff',
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('staff'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Community',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'community',
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('community'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Students',
link: path('app.notifications.dashboard.students.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.students.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
],
},
maybe_granted('app.notifications.lists.admin') ? {
title: 'Lists',
icon: 'icon-templates',
link: path('app.notifications.dashboard.lists.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.lists.'),
} : null,
{
title: 'Reports',
icon: 'icon-contacts',
link: path('app.notifications.dashboard.reports.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.reports.'),
permission: '@app.notifications.access',
items: [
{
title: 'SIS Records',
link: path('app.notifications.dashboard.sis.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.sis.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Logs',
link: path('app.notifications.dashboard.logs.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.logs.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
],
},
{
title: 'Templates',
icon: 'icon-reports',
link: path('app.notifications.dashboard.templates.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.templates.'),
permission: attributes_expression(['app.notifications.templates.admin', 'app.notifications.automations.admin']),
},
{
title: 'Settings',
icon: 'icon-settings',
link: '#',
active: (
(app.request.attributes.get('_route') starts with 'app.notifications.dashboard.settings.')
or
(app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.')
),
permission: 'app.notifications.onboarding.admin',
items: [
is_granted('campussuite.root') ? {
title: 'Onboarding',
link: path('app.notifications.dashboard.onboarding.default.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.default.'),
permission: 'app.notifications.onboarding.admin',
} : null,
(false) ? {
title: 'Phone Number',
link: path('app.notifications.dashboard.onboarding.phones.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.phones.'),
permission: 'app.notifications.onboarding.admin',
} : null,
{
title: 'Voice Caller IDs',
link: path('app.notifications.dashboard.onboarding.caller_ids.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.caller_ids.'),
permission: 'app.notifications.onboarding.admin',
},
{
title: 'Email Domains',
link: path('app.notifications.dashboard.onboarding.domains.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.domains.'),
permission: 'app.notifications.onboarding.admin',
},
{
title: 'Email Suppressions',
link: path('app.notifications.dashboard.onboarding.email_suppression.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.email_suppression.'),
permission: 'app.notifications.onboarding.admin',
},
is_granted('campussuite.root') ? {
title: 'Notifications Config',
link: path('app.notifications.dashboard.onboarding.notifications_config.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.notifications_config.'),
permission: 'app.notifications.onboarding.admin',
} : null,
is_granted('campussuite.root') ? {
title: 'DEBUG',
link: path('app.notifications.dashboard.onboarding.default.debugging'),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.onboarding.default.debugging')),
permission: 'app.notifications.onboarding.admin',
} : null,
],
},
{
title: 'Auto Notices',
icon: 'icon-gear',
link: '#',
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
items: [
{
title: 'General',
link: path('app.notifications.dashboard.automations.invocation_list', {type: 'general'}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.invocation_list') and app.request.attributes.get('type') is same as('general'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
},
{
title: 'Attendance',
link: path('app.notifications.dashboard.automations.invocation_list', {type: 'attendance'}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.invocation_list') and app.request.attributes.get('type') is same as('attendance'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
},
],
},
is_granted('campussuite.root') ? {
title: 'Portal',
icon: 'fas fa-rocket',
link: path('app.notifications.portal.login.login'),
target: '_blank',
} : null,
],
} %}
{% endblock %}
{% block modals %}
{{ parent() }}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'topbar-help',
class: 'sidepanel--help',
},
} %}
{% block header %}
<div class=\"sidepanel__head-left\">
<h2 class=\"text-an-demibold\">Help Center</h2>
</div>
<div class=\"sidepanel__head--right\">
<img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
</div>
{% endblock %}
{% 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 %}
", "@ProductsNotifications/base.html.twig", "/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/base.html.twig");
}
}
/* @ProductsNotifications/base.html.twig */
class __TwigTemplate_2def8f4ff16694c97ac292512769b679___1101186971 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 221
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", "@ProductsNotifications/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", "@ProductsNotifications/base.html.twig"));
$this->parent = $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig", "@ProductsNotifications/base.html.twig", 221);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 227
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 228
echo " ";
$this->loadTemplate("@ui2022/schoolnow/topbar__menu_user_header.html.twig", "@ProductsNotifications/base.html.twig", 228)->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.', 228, $this->source); })()), "user", [], "any", false, false, false, 228)]), ['_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.', 228, $this->source); })()), "user", [], "any", false, false, false, 228)])]));
// line 229
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 230
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 231
echo " ";
$this->loadTemplate("@App/dashboard/settings/navbar.html.twig", "@ProductsNotifications/base.html.twig", 231)->display(twig_array_merge(twig_array_merge($context, ["topMenu" => true]), ['_args' => twig_to_array(["topMenu" => true])]));
// line 232
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProductsNotifications/base.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 906 => 232, 903 => 231, 893 => 230, 883 => 229, 880 => 228, 870 => 227, 847 => 221, 543 => 212, 533 => 211, 510 => 205, 204 => 240, 196 => 234, 194 => 221, 191 => 220, 189 => 205, 184 => 204, 174 => 203, 163 => 200, 161 => 187, 160 => 181, 159 => 174, 158 => 165, 157 => 159, 156 => 153, 155 => 147, 154 => 141, 153 => 135, 152 => 129, 151 => 122, 150 => 120, 149 => 112, 148 => 103, 147 => 97, 146 => 91, 145 => 85, 144 => 76, 143 => 70, 142 => 61, 141 => 53, 140 => 45, 139 => 39, 138 => 33, 137 => 27, 136 => 25, 135 => 24, 134 => 187, 133 => 181, 132 => 174, 131 => 165, 130 => 159, 129 => 153, 128 => 147, 127 => 141, 126 => 135, 125 => 129, 124 => 122, 123 => 120, 122 => 112, 121 => 103, 120 => 97, 119 => 91, 118 => 85, 117 => 76, 116 => 70, 115 => 61, 114 => 53, 113 => 45, 112 => 39, 111 => 33, 110 => 27, 109 => 25, 108 => 24, 106 => 23, 96 => 22, 86 => 18, 85 => 16, 84 => 15, 83 => 18, 82 => 16, 81 => 15, 79 => 14, 69 => 13, 58 => 1, 56 => 11, 54 => 10, 52 => 5, 50 => 4, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui2022/schoolnow/page--wide.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('@ProductsNotifications/_assets.html.twig') %}
{% do include('@ProductsNotifications/_assets_tracking.html.twig') %}
{% 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 '@ui2022/schoolnow/side__menu.html.twig' with {
avatar: (app.user.systemProfile.hasAvatar)
? s3_entity(app.user, '/avatar/thumb')
: '/ui2022/images/avatar.png',
name: app.user.displayName,
items: [
{
title: 'Dashboard',
icon: 'icon-dash-board',
link: path('app.notifications.dashboard.default.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.default.'),
},
maybe_granted(['app.notifications.messaging.general', 'app.notifications.messaging.urgent']) ? {
title: 'Messages',
icon: 'icon-message-plane',
link: path('app.notifications.dashboard.messages.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.messages.'),
} : null,
{
title: 'Contacts',
icon: 'icon-userlist',
link: path('app.notifications.dashboard.profiles.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
items: [
{
title: 'Parents',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'family',
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('family'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Staff',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'staff',
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('staff'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Community',
link: path('app.notifications.dashboard.profiles.main', {
'query[filter]': 'community',
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.profiles.') and app.request.query.get('query')['filter']|default(null) is same as('community'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Students',
link: path('app.notifications.dashboard.students.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.students.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
],
},
maybe_granted('app.notifications.lists.admin') ? {
title: 'Lists',
icon: 'icon-templates',
link: path('app.notifications.dashboard.lists.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.lists.'),
} : null,
{
title: 'Reports',
icon: 'icon-contacts',
link: path('app.notifications.dashboard.reports.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.reports.'),
permission: '@app.notifications.access',
items: [
{
title: 'SIS Records',
link: path('app.notifications.dashboard.sis.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.sis.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
{
title: 'Logs',
link: path('app.notifications.dashboard.logs.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.logs.'),
permission: attributes_expression(['app.notifications.contacts.admin', 'app.notifications.contacts.view']),
},
],
},
{
title: 'Templates',
icon: 'icon-reports',
link: path('app.notifications.dashboard.templates.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.templates.'),
permission: attributes_expression(['app.notifications.templates.admin', 'app.notifications.automations.admin']),
},
{
title: 'Settings',
icon: 'icon-settings',
link: '#',
active: (
(app.request.attributes.get('_route') starts with 'app.notifications.dashboard.settings.')
or
(app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.')
),
permission: 'app.notifications.onboarding.admin',
items: [
is_granted('campussuite.root') ? {
title: 'Onboarding',
link: path('app.notifications.dashboard.onboarding.default.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.default.'),
permission: 'app.notifications.onboarding.admin',
} : null,
(false) ? {
title: 'Phone Number',
link: path('app.notifications.dashboard.onboarding.phones.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.phones.'),
permission: 'app.notifications.onboarding.admin',
} : null,
{
title: 'Voice Caller IDs',
link: path('app.notifications.dashboard.onboarding.caller_ids.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.caller_ids.'),
permission: 'app.notifications.onboarding.admin',
},
{
title: 'Email Domains',
link: path('app.notifications.dashboard.onboarding.domains.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.domains.'),
permission: 'app.notifications.onboarding.admin',
},
{
title: 'Email Suppressions',
link: path('app.notifications.dashboard.onboarding.email_suppression.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.email_suppression.'),
permission: 'app.notifications.onboarding.admin',
},
is_granted('campussuite.root') ? {
title: 'Notifications Config',
link: path('app.notifications.dashboard.onboarding.notifications_config.main'),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.onboarding.notifications_config.'),
permission: 'app.notifications.onboarding.admin',
} : null,
is_granted('campussuite.root') ? {
title: 'DEBUG',
link: path('app.notifications.dashboard.onboarding.default.debugging'),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.onboarding.default.debugging')),
permission: 'app.notifications.onboarding.admin',
} : null,
],
},
{
title: 'Auto Notices',
icon: 'icon-gear',
link: '#',
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
items: [
{
title: 'General',
link: path('app.notifications.dashboard.automations.invocation_list', {type: 'general'}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.invocation_list') and app.request.attributes.get('type') is same as('general'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
},
{
title: 'Attendance',
link: path('app.notifications.dashboard.automations.invocation_list', {type: 'attendance'}),
active: (app.request.attributes.get('_route') starts with 'app.notifications.dashboard.automations.invocation_list') and app.request.attributes.get('type') is same as('attendance'),
permission: attributes_expression(['app.notifications.automations.admin', 'app.notifications.messaging.general', 'app.notifications.messaging.urgent']),
},
],
},
is_granted('campussuite.root') ? {
title: 'Portal',
icon: 'fas fa-rocket',
link: path('app.notifications.portal.login.login'),
target: '_blank',
} : null,
],
} %}
{% endblock %}
{% block modals %}
{{ parent() }}
{% embed '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
attr: {
id: 'topbar-help',
class: 'sidepanel--help',
},
} %}
{% block header %}
<div class=\"sidepanel__head-left\">
<h2 class=\"text-an-demibold\">Help Center</h2>
</div>
<div class=\"sidepanel__head--right\">
<img class=\"schoolnow-logo\" src=\"/ui2022/images/logo_app_stack_white.svg\" width=\"101\" height=\"15.25\" alt=\"\" />
</div>
{% endblock %}
{% 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 %}
", "@ProductsNotifications/base.html.twig", "/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/base.html.twig");
}
}