<?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;
/* @CmsWorkflows/Dashboard/Drafts/drafts.html.twig */
class __TwigTemplate_79a78a0788799a769e5082b8af1a7319 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/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", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
$this->parent = $this->loadTemplate("@ui/dashboards/default.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.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("@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 4, "692116751")->display(twig_array_merge(twig_array_merge($context, ["title" => "Drafts"]), ['_args' => twig_to_array(["title" => "Drafts"])]));
// line 7
echo " ";
$this->loadTemplate("@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 7)->display(twig_array_merge($context, ['_args' => []]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 10
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 11
echo " ";
$this->loadTemplate("@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 11, "915661588")->display(twig_array_merge(twig_array_merge($context, ["search" => // line 12
(isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 12, $this->source); })())]), ['_args' => twig_to_array(["search" => (isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 12, $this->source); })())])]));
// line 20
echo "
";
// line 21
$this->loadTemplate("@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 21)->display(twig_array_merge($context, ['_args' => []]));
// line 22
echo "
";
// line 23
$this->loadTemplate("@CmsCore/includes/Search/empty.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 23)->display(twig_array_merge(twig_array_merge($context, ["results" => twig_length_filter($this->env, // line 24
(isset($context["drafts"]) || array_key_exists("drafts", $context) ? $context["drafts"] : (function () { throw new RuntimeError('Variable "drafts" does not exist.', 24, $this->source); })()))]), ['_args' => twig_to_array(["results" => twig_length_filter($this->env, (isset($context["drafts"]) || array_key_exists("drafts", $context) ? $context["drafts"] : (function () { throw new RuntimeError('Variable "drafts" does not exist.', 24, $this->source); })()))])]));
// line 26
echo "
";
// line 27
$this->loadTemplate("@ui/common/lazyloadSearch.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 27)->display(twig_array_merge(twig_array_merge($context, ["link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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); })()), "my_drafts_lazy", [], "any", false, false, false, 28)), "search" => // line 29
(isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 29, $this->source); })())]), ['_args' => twig_to_array(["link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(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); })()), "my_drafts_lazy", [], "any", false, false, false, 28)), "search" => // line 29
(isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 29, $this->source); })())])]));
// line 31
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 117 => 31, 115 => 29, 114 => 28, 113 => 29, 112 => 28, 111 => 27, 108 => 26, 106 => 24, 105 => 23, 102 => 22, 100 => 21, 97 => 20, 95 => 12, 93 => 11, 83 => 10, 72 => 7, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block header %}
{% embed '@ui/common/headers/new.html.twig' with {
title: 'Drafts'
} %}{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig' %}
{% endblock %}
{% block content %}
{% embed '@ui/common/actionbar/default.html.twig' with {
search: search
} %}
{% block searchbox %}
{% include '@ui/common/actionbar/searchbox.html.twig' with {
term: search.filter('title')
} %}
{% endblock %}
{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig' %}
{% include '@CmsCore/includes/Search/empty.html.twig' with {
results: drafts|length
} %}
{% include '@ui/common/lazyloadSearch.html.twig' with {
link: path(routes.my_drafts_lazy),
search: search
} %}
{% endblock %}
", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", "/var/www/campussuite/src/Cms/WorkflowsBundle/Resources/views/Dashboard/Drafts/drafts.html.twig");
}
}
/* @CmsWorkflows/Dashboard/Drafts/drafts.html.twig */
class __TwigTemplate_79a78a0788799a769e5082b8af1a7319___692116751 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 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", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/headers/new.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 4);
$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 "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 200 => 4, 117 => 31, 115 => 29, 114 => 28, 113 => 29, 112 => 28, 111 => 27, 108 => 26, 106 => 24, 105 => 23, 102 => 22, 100 => 21, 97 => 20, 95 => 12, 93 => 11, 83 => 10, 72 => 7, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block header %}
{% embed '@ui/common/headers/new.html.twig' with {
title: 'Drafts'
} %}{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig' %}
{% endblock %}
{% block content %}
{% embed '@ui/common/actionbar/default.html.twig' with {
search: search
} %}
{% block searchbox %}
{% include '@ui/common/actionbar/searchbox.html.twig' with {
term: search.filter('title')
} %}
{% endblock %}
{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig' %}
{% include '@CmsCore/includes/Search/empty.html.twig' with {
results: drafts|length
} %}
{% include '@ui/common/lazyloadSearch.html.twig' with {
link: path(routes.my_drafts_lazy),
search: search
} %}
{% endblock %}
", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", "/var/www/campussuite/src/Cms/WorkflowsBundle/Resources/views/Dashboard/Drafts/drafts.html.twig");
}
}
/* @CmsWorkflows/Dashboard/Drafts/drafts.html.twig */
class __TwigTemplate_79a78a0788799a769e5082b8af1a7319___915661588 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'searchbox' => [$this, 'block_searchbox'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "@ui/common/actionbar/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", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
$this->parent = $this->loadTemplate("@ui/common/actionbar/default.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 14
public function block_searchbox($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", "searchbox"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "searchbox"));
// line 15
echo " ";
$this->loadTemplate("@ui/common/actionbar/searchbox.html.twig", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", 15)->display(twig_array_merge(twig_array_merge($context, ["term" => twig_get_attribute($this->env, $this->source, // line 16
(isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 16, $this->source); })()), "filter", [0 => "title"], "method", false, false, false, 16)]), ['_args' => twig_to_array(["term" => twig_get_attribute($this->env, $this->source, (isset($context["search"]) || array_key_exists("search", $context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.', 16, $this->source); })()), "filter", [0 => "title"], "method", false, false, false, 16)])]));
// line 18
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 333 => 18, 331 => 16, 329 => 15, 319 => 14, 296 => 11, 200 => 4, 117 => 31, 115 => 29, 114 => 28, 113 => 29, 112 => 28, 111 => 27, 108 => 26, 106 => 24, 105 => 23, 102 => 22, 100 => 21, 97 => 20, 95 => 12, 93 => 11, 83 => 10, 72 => 7, 69 => 4, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@ui/dashboards/default.html.twig' %}
{% block header %}
{% embed '@ui/common/headers/new.html.twig' with {
title: 'Drafts'
} %}{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig' %}
{% endblock %}
{% block content %}
{% embed '@ui/common/actionbar/default.html.twig' with {
search: search
} %}
{% block searchbox %}
{% include '@ui/common/actionbar/searchbox.html.twig' with {
term: search.filter('title')
} %}
{% endblock %}
{% endembed %}
{% include '@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig' %}
{% include '@CmsCore/includes/Search/empty.html.twig' with {
results: drafts|length
} %}
{% include '@ui/common/lazyloadSearch.html.twig' with {
link: path(routes.my_drafts_lazy),
search: search
} %}
{% endblock %}
", "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig", "/var/www/campussuite/src/Cms/WorkflowsBundle/Resources/views/Dashboard/Drafts/drafts.html.twig");
}
}