<?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;
/* @CmsTenant/Dashboard/Social/main.html.twig */
class __TwigTemplate_a293220ce993767efc16b614a36b7e9a extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ui/dashboards/system.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", "@CmsTenant/Dashboard/Social/main.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsTenant/Dashboard/Social/main.html.twig"));
$this->parent = $this->loadTemplate("@ui/dashboards/system.html.twig", "@CmsTenant/Dashboard/Social/main.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_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 4
echo " ";
$this->loadTemplate("@CmsTenant/Dashboard/Social/main.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 4, "1688512665")->display(twig_array_merge(twig_array_merge($context, ["title" => "Social Media Accounts"]), ['_args' => twig_to_array(["title" => "Social Media Accounts"])]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 36
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 37
echo " ";
$this->loadTemplate("@ui/common/flash/default.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 37)->display(twig_array_merge($context, ['_args' => []]));
// line 38
echo " ";
$this->loadTemplate("@CmsTenant/Dashboard/Social/includes/accounts.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 38)->display(twig_array_merge($context, ['_args' => []]));
// line 39
echo " ";
$this->loadTemplate("@CmsCore/includes/Search/empty.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 39)->display(twig_array_merge(twig_array_merge($context, ["results" => twig_length_filter($this->env, // line 40
(isset($context["accounts"]) || array_key_exists("accounts", $context) ? $context["accounts"] : (function () { throw new RuntimeError('Variable "accounts" does not exist.', 40, $this->source); })()))]), ['_args' => twig_to_array(["results" => twig_length_filter($this->env, (isset($context["accounts"]) || array_key_exists("accounts", $context) ? $context["accounts"] : (function () { throw new RuntimeError('Variable "accounts" does not exist.', 40, $this->source); })()))])]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsTenant/Dashboard/Social/main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 98 => 40, 96 => 39, 93 => 38, 90 => 37, 80 => 36, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/system.html.twig' %}
{% block header %}
{% embed '@ui/common/headers/new.html.twig' with {
title: 'Social Media Accounts',
} %}
{% block actions %}
{% include '@ui/common/buttons/default.html.twig' with {
text: 'Register Twitter',
helper: 'twitter',
icon: 'plus',
link: curpath(routes.create, {
type: 'twitter'
})
} %}
{% include '@ui/common/buttons/default.html.twig' with {
text: 'Register Facebook',
helper: 'facebook',
icon: 'plus',
link: curpath(routes.create, {
type: 'facebook'
})
} %}
{% include '@ui/common/buttons/default.html.twig' with {
text: 'Register Instagram',
helper: 'facebook',
icon: 'plus',
link: curpath(routes.create, {
type: 'instagram'
})
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
{% include '@ui/common/flash/default.html.twig' %}
{% include '@CmsTenant/Dashboard/Social/includes/accounts.html.twig' %}
{% include '@CmsCore/includes/Search/empty.html.twig' with {
results: accounts|length
} %}
{% endblock %}
", "@CmsTenant/Dashboard/Social/main.html.twig", "/var/www/campussuite/src/Cms/TenantBundle/Resources/views/Dashboard/Social/main.html.twig");
}
}
/* @CmsTenant/Dashboard/Social/main.html.twig */
class __TwigTemplate_a293220ce993767efc16b614a36b7e9a___1688512665 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'actions' => [$this, 'block_actions'],
];
}
protected function doGetParent(array $context)
{
// line 4
return "@ui/common/headers/new.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", "@CmsTenant/Dashboard/Social/main.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsTenant/Dashboard/Social/main.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/headers/new.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 4);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 7
public function block_actions($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", "actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
// line 8
echo " ";
$this->loadTemplate("@ui/common/buttons/default.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 8)->display(twig_array_merge(twig_array_merge($context, ["text" => "Register Twitter", "helper" => "twitter", "icon" => "plus", "link" => $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->curpathFunction($this->env, $context, twig_get_attribute($this->env, $this->source, // line 12
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 12, $this->source); })()), "create", [], "any", false, false, false, 12), ["type" => "twitter"])]), ['_args' => twig_to_array(["text" => "Register Twitter", "helper" => "twitter", "icon" => "plus", "link" => $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->curpathFunction($this->env, $context, twig_get_attribute($this->env, $this->source, (isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 12, $this->source); })()), "create", [], "any", false, false, false, 12), ["type" => "twitter"])])]));
// line 16
echo " ";
$this->loadTemplate("@ui/common/buttons/default.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 16)->display(twig_array_merge(twig_array_merge($context, ["text" => "Register Facebook", "helper" => "facebook", "icon" => "plus", "link" => $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->curpathFunction($this->env, $context, twig_get_attribute($this->env, $this->source, // line 20
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 20, $this->source); })()), "create", [], "any", false, false, false, 20), ["type" => "facebook"])]), ['_args' => twig_to_array(["text" => "Register Facebook", "helper" => "facebook", "icon" => "plus", "link" => $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->curpathFunction($this->env, $context, twig_get_attribute($this->env, $this->source, (isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 20, $this->source); })()), "create", [], "any", false, false, false, 20), ["type" => "facebook"])])]));
// line 24
echo " ";
$this->loadTemplate("@ui/common/buttons/default.html.twig", "@CmsTenant/Dashboard/Social/main.html.twig", 24)->display(twig_array_merge(twig_array_merge($context, ["text" => "Register Instagram", "helper" => "facebook", "icon" => "plus", "link" => $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->curpathFunction($this->env, $context, twig_get_attribute($this->env, $this->source, // line 28
(isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 28, $this->source); })()), "create", [], "any", false, false, false, 28), ["type" => "instagram"])]), ['_args' => twig_to_array(["text" => "Register Instagram", "helper" => "facebook", "icon" => "plus", "link" => $this->extensions['Cms\CoreBundle\Service\Twig\ContextExtension']->curpathFunction($this->env, $context, twig_get_attribute($this->env, $this->source, (isset($context["routes"]) || array_key_exists("routes", $context) ? $context["routes"] : (function () { throw new RuntimeError('Variable "routes" does not exist.', 28, $this->source); })()), "create", [], "any", false, false, false, 28), ["type" => "instagram"])])]));
// line 32
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsTenant/Dashboard/Social/main.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 236 => 32, 234 => 28, 232 => 24, 230 => 20, 228 => 16, 226 => 12, 224 => 8, 214 => 7, 191 => 4, 98 => 40, 96 => 39, 93 => 38, 90 => 37, 80 => 36, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/system.html.twig' %}
{% block header %}
{% embed '@ui/common/headers/new.html.twig' with {
title: 'Social Media Accounts',
} %}
{% block actions %}
{% include '@ui/common/buttons/default.html.twig' with {
text: 'Register Twitter',
helper: 'twitter',
icon: 'plus',
link: curpath(routes.create, {
type: 'twitter'
})
} %}
{% include '@ui/common/buttons/default.html.twig' with {
text: 'Register Facebook',
helper: 'facebook',
icon: 'plus',
link: curpath(routes.create, {
type: 'facebook'
})
} %}
{% include '@ui/common/buttons/default.html.twig' with {
text: 'Register Instagram',
helper: 'facebook',
icon: 'plus',
link: curpath(routes.create, {
type: 'instagram'
})
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
{% include '@ui/common/flash/default.html.twig' %}
{% include '@CmsTenant/Dashboard/Social/includes/accounts.html.twig' %}
{% include '@CmsCore/includes/Search/empty.html.twig' with {
results: accounts|length
} %}
{% endblock %}
", "@CmsTenant/Dashboard/Social/main.html.twig", "/var/www/campussuite/src/Cms/TenantBundle/Resources/views/Dashboard/Social/main.html.twig");
}
}