<?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;
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ui/dashboards/default.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/dashboards/default.html.twig", "@CmsContainer/Dashboard/index.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 3
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 4
echo "
";
// line 5
if ((twig_length_filter($this->env, (isset($context["announcements"]) || array_key_exists("announcements", $context) ? $context["announcements"] : (function () { throw new RuntimeError('Variable "announcements" does not exist.', 5, $this->source); })())) > 0)) {
// line 6
echo " <div class=\"row\">
<div class=\"col-md-12\">
";
// line 8
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["announcements"]) || array_key_exists("announcements", $context) ? $context["announcements"] : (function () { throw new RuntimeError('Variable "announcements" does not exist.', 8, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["announcement"]) {
// line 9
echo " <div class=\"system-alert ";
if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["announcement"], "state", [], "any", false, false, false, 9), "danger")) {
echo "system-alert--danger";
} elseif (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["announcement"], "state", [], "any", false, false, false, 9), "warning")) {
echo "system-alert--warning";
} elseif (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["announcement"], "state", [], "any", false, false, false, 9), "info")) {
echo "system-alert--info";
} else {
echo "system-alert--success";
}
echo "\">
<div class=\"system-alert__body\">
";
// line 11
if ( !(is_string($__internal_compile_0 = twig_get_attribute($this->env, $this->source, $context["announcement"], "title", [], "any", false, false, false, 11)) && is_string($__internal_compile_1 = "hideme") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1)))) {
// line 12
echo " <h4 class=\"system-alert__heading\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["announcement"], "title", [], "any", false, false, false, 12), "html", null, true);
echo "</h4>
";
}
// line 14
echo " <div class=\"system-alert__desc\">";
echo twig_get_attribute($this->env, $this->source, $context["announcement"], "description", [], "any", false, false, false, 14);
echo "</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['announcement'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo " </div>
</div>
";
}
// line 21
echo "
<div class=\"row\">
<div class=\"col-md-8\">
";
// line 25
if ((twig_length_filter($this->env, (isset($context["favorites"]) || array_key_exists("favorites", $context) ? $context["favorites"] : (function () { throw new RuntimeError('Variable "favorites" does not exist.', 25, $this->source); })())) > 0)) {
// line 26
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 26, "572717497")->display(twig_array_merge(twig_array_merge($context, ["title" => "Favorites", "collapsible" => true]), ['_args' => twig_to_array(["title" => "Favorites", "collapsible" => true])]));
// line 60
echo " ";
}
// line 61
echo "
";
// line 62
if ((twig_length_filter($this->env, (isset($context["personalSites"]) || array_key_exists("personalSites", $context) ? $context["personalSites"] : (function () { throw new RuntimeError('Variable "personalSites" does not exist.', 62, $this->source); })())) > 0)) {
// line 63
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 63, "1742870780")->display(twig_array_merge(twig_array_merge($context, ["title" => "Teacher Websites", "collapsible" => true]), ['_args' => twig_to_array(["title" => "Teacher Websites", "collapsible" => true])]));
// line 97
echo " ";
}
// line 98
echo "
";
// line 99
if ((twig_length_filter($this->env, (isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 99, $this->source); })())) > 0)) {
// line 100
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 100, "1440767060")->display(twig_array_merge(twig_array_merge($context, ["title" => "Websites", "collapsible" => true]), ['_args' => twig_to_array(["title" => "Websites", "collapsible" => true])]));
// line 134
echo " ";
}
// line 135
echo "
";
// line 136
if ((twig_length_filter($this->env, (isset($context["intranets"]) || array_key_exists("intranets", $context) ? $context["intranets"] : (function () { throw new RuntimeError('Variable "intranets" does not exist.', 136, $this->source); })())) > 0)) {
// line 137
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 137, "546290330")->display(twig_array_merge(twig_array_merge($context, ["title" => "Intranets", "collapsible" => true]), ['_args' => twig_to_array(["title" => "Intranets", "collapsible" => true])]));
// line 162
echo " ";
}
// line 163
echo " </div>
<div class=\"col-md-4\">
";
// line 165
$this->loadTemplate("@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig", "@CmsContainer/Dashboard/index.html.twig", 165)->display(twig_array_merge(twig_array_merge($context, ["src" => "https://617533.hs-sites.com/website-cms-right-panel", "autoHeight" => true]), ['_args' => twig_to_array(["src" => "https://617533.hs-sites.com/website-cms-right-panel", "autoHeight" => true])]));
// line 169
echo " </div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___572717497 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 26
return "@ui/common/panels/default.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/panels/default.html.twig", "@CmsContainer/Dashboard/index.html.twig", 26);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 30
public function block_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 31
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 31, "1253611567")->display(twig_array_merge(twig_array_merge($context, ["classes" => "module-list--dash-depts"]), ['_args' => twig_to_array(["classes" => "module-list--dash-depts"])]));
// line 58
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1253611567 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'items' => [$this, 'block_items'],
];
}
protected function doGetParent(array $context)
{
// line 31
return "@ui/common/lists/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 31);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 34
public function block_items($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", "items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
// line 35
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["favorites"]) || array_key_exists("favorites", $context) ? $context["favorites"] : (function () { throw new RuntimeError('Variable "favorites" does not exist.', 35, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["favorite"]) {
// line 36
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 36, "1048389992")->display(twig_array_merge(twig_array_merge($context, ["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 39
$context["favorite"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 40
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 40, $this->source); })()), "user", [], "any", false, false, false, 40), "uid", [], "any", false, false, false, 40), "toString", [], "method", false, false, false, 40)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 42
$context["favorite"], "name", [], "any", false, false, false, 42))), "actions" => [0 => ["text" => "Manage", "icon" => "icon icon-lined-folder-front-b", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, // line 48
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 48, $this->source); })()), "container__view", [], "any", false, false, false, 48), ["containerId" => twig_get_attribute($this->env, $this->source, // line 49
$context["favorite"], "id", [], "any", false, false, false, 49)]), "classes" => "actions-li__link--borderless"]]]), ['_args' => twig_to_array(["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 39
$context["favorite"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 40
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 40, $this->source); })()), "user", [], "any", false, false, false, 40), "uid", [], "any", false, false, false, 40), "toString", [], "method", false, false, false, 40)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 42
$context["favorite"], "name", [], "any", false, false, false, 42))), "actions" => [0 => ["text" => "Manage", "icon" => "icon icon-lined-folder-front-b", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, // line 48
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 48, $this->source); })()), "container__view", [], "any", false, false, false, 48), ["containerId" => twig_get_attribute($this->env, $this->source, // line 49
$context["favorite"], "id", [], "any", false, false, false, 49)]), "classes" => "actions-li__link--borderless"]]])]));
// line 55
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['favorite'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 56
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1048389992 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 36
return "@ui/common/lists/items/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/items/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 36);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1742870780 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 63
return "@ui/common/panels/default.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/panels/default.html.twig", "@CmsContainer/Dashboard/index.html.twig", 63);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 67
public function block_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 68
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 68, "1648239942")->display(twig_array_merge(twig_array_merge($context, ["classes" => "module-list--dash-depts"]), ['_args' => twig_to_array(["classes" => "module-list--dash-depts"])]));
// line 95
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1648239942 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'items' => [$this, 'block_items'],
];
}
protected function doGetParent(array $context)
{
// line 68
return "@ui/common/lists/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 68);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 71
public function block_items($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", "items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
// line 72
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["personalSites"]) || array_key_exists("personalSites", $context) ? $context["personalSites"] : (function () { throw new RuntimeError('Variable "personalSites" does not exist.', 72, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["site"]) {
// line 73
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 73, "1352329031")->display(twig_array_merge(twig_array_merge($context, ["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 76
$context["site"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 77
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 77, $this->source); })()), "user", [], "any", false, false, false, 77), "uid", [], "any", false, false, false, 77), "toString", [], "method", false, false, false, 77)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 79
$context["site"], "name", [], "any", false, false, false, 79))), "actions" => [0 => ["text" => "Manage", "icon" => "icon icon-lined-folder-front-b", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, // line 85
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 85, $this->source); })()), "container__view", [], "any", false, false, false, 85), ["containerId" => twig_get_attribute($this->env, $this->source, // line 86
$context["site"], "id", [], "any", false, false, false, 86)]), "classes" => "actions-li__link--borderless"]]]), ['_args' => twig_to_array(["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 76
$context["site"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 77
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 77, $this->source); })()), "user", [], "any", false, false, false, 77), "uid", [], "any", false, false, false, 77), "toString", [], "method", false, false, false, 77)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 79
$context["site"], "name", [], "any", false, false, false, 79))), "actions" => [0 => ["text" => "Manage", "icon" => "icon icon-lined-folder-front-b", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, // line 85
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 85, $this->source); })()), "container__view", [], "any", false, false, false, 85), ["containerId" => twig_get_attribute($this->env, $this->source, // line 86
$context["site"], "id", [], "any", false, false, false, 86)]), "classes" => "actions-li__link--borderless"]]])]));
// line 92
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['site'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 93
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1352329031 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 73
return "@ui/common/lists/items/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/items/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 73);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1745 => 73, 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1440767060 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 100
return "@ui/common/panels/default.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/panels/default.html.twig", "@CmsContainer/Dashboard/index.html.twig", 100);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 104
public function block_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 105
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 105, "1724987046")->display(twig_array_merge(twig_array_merge($context, ["classes" => "module-list--dash-depts"]), ['_args' => twig_to_array(["classes" => "module-list--dash-depts"])]));
// line 132
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 2016 => 132, 2013 => 105, 2003 => 104, 1980 => 100, 1745 => 73, 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1724987046 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'items' => [$this, 'block_items'],
];
}
protected function doGetParent(array $context)
{
// line 105
return "@ui/common/lists/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 105);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 108
public function block_items($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", "items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
// line 109
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["sites"]) || array_key_exists("sites", $context) ? $context["sites"] : (function () { throw new RuntimeError('Variable "sites" does not exist.', 109, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["site"]) {
// line 110
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 110, "302538733")->display(twig_array_merge(twig_array_merge($context, ["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 113
$context["site"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 114
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 114, $this->source); })()), "user", [], "any", false, false, false, 114), "uid", [], "any", false, false, false, 114), "toString", [], "method", false, false, false, 114)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 116
$context["site"], "name", [], "any", false, false, false, 116))), "actions" => [0 => ["text" => "Manage", "icon" => "icon icon-lined-folder-front-b", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, // line 122
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 122, $this->source); })()), "container__view", [], "any", false, false, false, 122), ["containerId" => twig_get_attribute($this->env, $this->source, // line 123
$context["site"], "id", [], "any", false, false, false, 123)]), "classes" => "actions-li__link--borderless"]]]), ['_args' => twig_to_array(["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 113
$context["site"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 114
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 114, $this->source); })()), "user", [], "any", false, false, false, 114), "uid", [], "any", false, false, false, 114), "toString", [], "method", false, false, false, 114)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 116
$context["site"], "name", [], "any", false, false, false, 116))), "actions" => [0 => ["text" => "Manage", "icon" => "icon icon-lined-folder-front-b", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(twig_get_attribute($this->env, $this->source, // line 122
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 122, $this->source); })()), "container__view", [], "any", false, false, false, 122), ["containerId" => twig_get_attribute($this->env, $this->source, // line 123
$context["site"], "id", [], "any", false, false, false, 123)]), "classes" => "actions-li__link--borderless"]]])]));
// line 129
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['site'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 130
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 2316 => 130, 2302 => 129, 2300 => 123, 2299 => 122, 2298 => 116, 2297 => 114, 2296 => 113, 2295 => 123, 2294 => 122, 2293 => 116, 2292 => 114, 2291 => 113, 2289 => 110, 2271 => 109, 2261 => 108, 2238 => 105, 2016 => 132, 2013 => 105, 2003 => 104, 1980 => 100, 1745 => 73, 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___302538733 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 110
return "@ui/common/lists/items/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/items/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 110);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 2537 => 110, 2316 => 130, 2302 => 129, 2300 => 123, 2299 => 122, 2298 => 116, 2297 => 114, 2296 => 113, 2295 => 123, 2294 => 122, 2293 => 116, 2292 => 114, 2291 => 113, 2289 => 110, 2271 => 109, 2261 => 108, 2238 => 105, 2016 => 132, 2013 => 105, 2003 => 104, 1980 => 100, 1745 => 73, 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___546290330 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 137
return "@ui/common/panels/default.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/panels/default.html.twig", "@CmsContainer/Dashboard/index.html.twig", 137);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 141
public function block_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 142
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 142, "1147097345")->display(twig_array_merge(twig_array_merge($context, ["classes" => "module-list--dash-depts"]), ['_args' => twig_to_array(["classes" => "module-list--dash-depts"])]));
// line 160
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 2808 => 160, 2805 => 142, 2795 => 141, 2772 => 137, 2537 => 110, 2316 => 130, 2302 => 129, 2300 => 123, 2299 => 122, 2298 => 116, 2297 => 114, 2296 => 113, 2295 => 123, 2294 => 122, 2293 => 116, 2292 => 114, 2291 => 113, 2289 => 110, 2271 => 109, 2261 => 108, 2238 => 105, 2016 => 132, 2013 => 105, 2003 => 104, 1980 => 100, 1745 => 73, 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___1147097345 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'items' => [$this, 'block_items'],
];
}
protected function doGetParent(array $context)
{
// line 142
return "@ui/common/lists/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 142);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 145
public function block_items($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", "items"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "items"));
// line 146
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["intranets"]) || array_key_exists("intranets", $context) ? $context["intranets"] : (function () { throw new RuntimeError('Variable "intranets" does not exist.', 146, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["intranet"]) {
// line 147
echo " ";
$this->loadTemplate("@CmsContainer/Dashboard/index.html.twig", "@CmsContainer/Dashboard/index.html.twig", 147, "550957000")->display(twig_array_merge(twig_array_merge($context, ["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 150
$context["intranet"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 151
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "user", [], "any", false, false, false, 151), "uid", [], "any", false, false, false, 151), "toString", [], "method", false, false, false, 151)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 153
$context["intranet"], "name", [], "any", false, false, false, 153))), "actions" => []]), ['_args' => twig_to_array(["title" => twig_sprintf("<a href=\"%s\">%s</a>", $this->extensions['Cms\ContainerBundle\Twig\ContainerRouteExtension']->functionContainerUrl( // line 150
$context["intranet"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 151
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 151, $this->source); })()), "user", [], "any", false, false, false, 151), "uid", [], "any", false, false, false, 151), "toString", [], "method", false, false, false, 151)), twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, // line 153
$context["intranet"], "name", [], "any", false, false, false, 153))), "actions" => []])]));
// line 157
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['intranet'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 158
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 3104 => 158, 3090 => 157, 3088 => 153, 3087 => 151, 3086 => 150, 3085 => 153, 3084 => 151, 3083 => 150, 3081 => 147, 3063 => 146, 3053 => 145, 3030 => 142, 2808 => 160, 2805 => 142, 2795 => 141, 2772 => 137, 2537 => 110, 2316 => 130, 2302 => 129, 2300 => 123, 2299 => 122, 2298 => 116, 2297 => 114, 2296 => 113, 2295 => 123, 2294 => 122, 2293 => 116, 2292 => 114, 2291 => 113, 2289 => 110, 2271 => 109, 2261 => 108, 2238 => 105, 2016 => 132, 2013 => 105, 2003 => 104, 1980 => 100, 1745 => 73, 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}
/* @CmsContainer/Dashboard/index.html.twig */
class __TwigTemplate_e253b24373b756755f68566405e728db___550957000 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 147
return "@ui/common/lists/items/modules.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", "@CmsContainer/Dashboard/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsContainer/Dashboard/index.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/lists/items/modules.html.twig", "@CmsContainer/Dashboard/index.html.twig", 147);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@CmsContainer/Dashboard/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 3325 => 147, 3104 => 158, 3090 => 157, 3088 => 153, 3087 => 151, 3086 => 150, 3085 => 153, 3084 => 151, 3083 => 150, 3081 => 147, 3063 => 146, 3053 => 145, 3030 => 142, 2808 => 160, 2805 => 142, 2795 => 141, 2772 => 137, 2537 => 110, 2316 => 130, 2302 => 129, 2300 => 123, 2299 => 122, 2298 => 116, 2297 => 114, 2296 => 113, 2295 => 123, 2294 => 122, 2293 => 116, 2292 => 114, 2291 => 113, 2289 => 110, 2271 => 109, 2261 => 108, 2238 => 105, 2016 => 132, 2013 => 105, 2003 => 104, 1980 => 100, 1745 => 73, 1524 => 93, 1510 => 92, 1508 => 86, 1507 => 85, 1506 => 79, 1505 => 77, 1504 => 76, 1503 => 86, 1502 => 85, 1501 => 79, 1500 => 77, 1499 => 76, 1497 => 73, 1479 => 72, 1469 => 71, 1446 => 68, 1224 => 95, 1221 => 68, 1211 => 67, 1188 => 63, 953 => 36, 732 => 56, 718 => 55, 716 => 49, 715 => 48, 714 => 42, 713 => 40, 712 => 39, 711 => 49, 710 => 48, 709 => 42, 708 => 40, 707 => 39, 705 => 36, 687 => 35, 677 => 34, 654 => 31, 432 => 58, 429 => 31, 419 => 30, 396 => 26, 172 => 169, 170 => 165, 166 => 163, 163 => 162, 160 => 137, 158 => 136, 155 => 135, 152 => 134, 149 => 100, 147 => 99, 144 => 98, 141 => 97, 138 => 63, 136 => 62, 133 => 61, 130 => 60, 127 => 26, 125 => 25, 119 => 21, 114 => 18, 103 => 14, 97 => 12, 95 => 11, 81 => 9, 77 => 8, 73 => 6, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block content %}
{% if announcements|length > 0 %}
<div class=\"row\">
<div class=\"col-md-12\">
{% for announcement in announcements %}
<div class=\"system-alert {% if announcement.state in 'danger' %}system-alert--danger{% elseif announcement.state in 'warning' %}system-alert--warning{% elseif announcement.state in 'info' %}system-alert--info{% else %}system-alert--success{% endif %}\">
<div class=\"system-alert__body\">
{% if not (announcement.title starts with 'hideme') %}
<h4 class=\"system-alert__heading\">{{ announcement.title }}</h4>
{% endif %}
<div class=\"system-alert__desc\">{{ announcement.description|raw }}</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-md-8\">
{% if favorites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Favorites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for favorite in favorites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
favorite,
app.user.uid.toString()
),
favorite.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: favorite.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if personalSites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Teacher Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in personalSites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if sites|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Websites',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for site in sites %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
site,
app.user.uid.toString()
),
site.name|escape
),
actions: [
{
text: 'Manage',
icon: 'icon icon-lined-folder-front-b',
link: path(routes.container__view, {
containerId: site.id
}),
classes: 'actions-li__link--borderless',
},
],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
{% if intranets|length > 0 %}
{% embed '@ui/common/panels/default.html.twig' with {
title: 'Intranets',
collapsible: true
} %}
{% block body %}
{% embed '@ui/common/lists/modules.html.twig' with {
classes: 'module-list--dash-depts',
} %}
{% block items %}
{% for intranet in intranets %}
{% embed '@ui/common/lists/items/modules.html.twig' with {
title: '<a href=\"%s\">%s</a>'|format(
containerUrl(
intranet,
app.user.uid.toString()
),
intranet.name|escape
),
actions: [],
} %}{% endembed %}
{% endfor %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endif %}
</div>
<div class=\"col-md-4\">
{% include '@PlatformMarketing/Dashboard/Default/includes/hubspot_frame.html.twig' with {
src: 'https://617533.hs-sites.com/website-cms-right-panel',
autoHeight: true
} %}
</div>
</div>
{% endblock %}
", "@CmsContainer/Dashboard/index.html.twig", "/var/www/campussuite/src/Cms/ContainerBundle/Resources/views/Dashboard/index.html.twig");
}
}