var/cache/test/twig/3d/3dd4dd94eb4837ae3bc95f8a1f58005a.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @CmsWorkflows/Dashboard/Drafts/drafts.html.twig */
  14. class __TwigTemplate_79a78a0788799a769e5082b8af1a7319 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'header' => [$this'block_header'],
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@ui/dashboards/default.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
  39.         $this->parent $this->loadTemplate("@ui/dashboards/default.html.twig""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_header($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  54.         // line 4
  55.         echo "    ";
  56.         $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"])]));
  57.         // line 7
  58.         echo "    ";
  59.         $this->loadTemplate("@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"7)->display(twig_array_merge($context, ['_args' => []]));
  60.         
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62.         
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  64.     }
  65.     // line 10
  66.     public function block_content($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  73.         // line 11
  74.         echo "    ";
  75.         $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
  76. (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); })())])]));
  77.         // line 20
  78.         echo "
  79.     ";
  80.         // line 21
  81.         $this->loadTemplate("@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"21)->display(twig_array_merge($context, ['_args' => []]));
  82.         // line 22
  83.         echo "
  84.     ";
  85.         // line 23
  86.         $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
  87. (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); })()))])]));
  88.         // line 26
  89.         echo "
  90.     ";
  91.         // line 27
  92.         $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
  93. (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"falsefalsefalse28)), "search" =>         // line 29
  94. (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
  95. (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"falsefalsefalse28)), "search" =>         // line 29
  96. (isset($context["search"]) || array_key_exists("search"$context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.'29$this->source); })())])]));
  97.         // line 31
  98.         echo "
  99. ";
  100.         
  101.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  102.         
  103.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  104.     }
  105.     public function getTemplateName()
  106.     {
  107.         return "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig";
  108.     }
  109.     public function isTraitable()
  110.     {
  111.         return false;
  112.     }
  113.     public function getDebugInfo()
  114.     {
  115.         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,);
  116.     }
  117.     public function getSourceContext()
  118.     {
  119.         return new Source("{% extends '@ui/dashboards/default.html.twig' %}
  120. {% block header %}
  121.     {% embed '@ui/common/headers/new.html.twig' with {
  122.         title: 'Drafts'
  123.     } %}{% endembed %}
  124.     {% include '@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig' %}
  125. {% endblock %}
  126. {% block content %}
  127.     {% embed '@ui/common/actionbar/default.html.twig' with {
  128.         search: search
  129.     } %}
  130.         {% block searchbox %}
  131.             {% include '@ui/common/actionbar/searchbox.html.twig' with {
  132.                 term: search.filter('title')
  133.             } %}
  134.         {% endblock %}
  135.     {% endembed %}
  136.     {% include '@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig' %}
  137.     {% include '@CmsCore/includes/Search/empty.html.twig' with {
  138.         results: drafts|length
  139.     } %}
  140.     {% include '@ui/common/lazyloadSearch.html.twig' with {
  141.         link: path(routes.my_drafts_lazy),
  142.         search: search
  143.     } %}
  144. {% endblock %}
  145. ""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig""/var/www/campussuite/src/Cms/WorkflowsBundle/Resources/views/Dashboard/Drafts/drafts.html.twig");
  146.     }
  147. }
  148. /* @CmsWorkflows/Dashboard/Drafts/drafts.html.twig */
  149. class __TwigTemplate_79a78a0788799a769e5082b8af1a7319___692116751 extends \Twig\Template
  150. {
  151.     private $source;
  152.     private $macros = [];
  153.     public function __construct(Environment $env)
  154.     {
  155.         parent::__construct($env);
  156.         $this->source $this->getSourceContext();
  157.         $this->blocks = [
  158.         ];
  159.     }
  160.     protected function doGetParent(array $context)
  161.     {
  162.         // line 4
  163.         return "@ui/common/headers/new.html.twig";
  164.     }
  165.     protected function doDisplay(array $context, array $blocks = [])
  166.     {
  167.         $macros $this->macros;
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
  172.         $this->parent $this->loadTemplate("@ui/common/headers/new.html.twig""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"4);
  173.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  174.         
  175.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  176.         
  177.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  178.     }
  179.     public function getTemplateName()
  180.     {
  181.         return "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig";
  182.     }
  183.     public function isTraitable()
  184.     {
  185.         return false;
  186.     }
  187.     public function getDebugInfo()
  188.     {
  189.         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,);
  190.     }
  191.     public function getSourceContext()
  192.     {
  193.         return new Source("{% extends '@ui/dashboards/default.html.twig' %}
  194. {% block header %}
  195.     {% embed '@ui/common/headers/new.html.twig' with {
  196.         title: 'Drafts'
  197.     } %}{% endembed %}
  198.     {% include '@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig' %}
  199. {% endblock %}
  200. {% block content %}
  201.     {% embed '@ui/common/actionbar/default.html.twig' with {
  202.         search: search
  203.     } %}
  204.         {% block searchbox %}
  205.             {% include '@ui/common/actionbar/searchbox.html.twig' with {
  206.                 term: search.filter('title')
  207.             } %}
  208.         {% endblock %}
  209.     {% endembed %}
  210.     {% include '@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig' %}
  211.     {% include '@CmsCore/includes/Search/empty.html.twig' with {
  212.         results: drafts|length
  213.     } %}
  214.     {% include '@ui/common/lazyloadSearch.html.twig' with {
  215.         link: path(routes.my_drafts_lazy),
  216.         search: search
  217.     } %}
  218. {% endblock %}
  219. ""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig""/var/www/campussuite/src/Cms/WorkflowsBundle/Resources/views/Dashboard/Drafts/drafts.html.twig");
  220.     }
  221. }
  222. /* @CmsWorkflows/Dashboard/Drafts/drafts.html.twig */
  223. class __TwigTemplate_79a78a0788799a769e5082b8af1a7319___915661588 extends \Twig\Template
  224. {
  225.     private $source;
  226.     private $macros = [];
  227.     public function __construct(Environment $env)
  228.     {
  229.         parent::__construct($env);
  230.         $this->source $this->getSourceContext();
  231.         $this->blocks = [
  232.             'searchbox' => [$this'block_searchbox'],
  233.         ];
  234.     }
  235.     protected function doGetParent(array $context)
  236.     {
  237.         // line 11
  238.         return "@ui/common/actionbar/default.html.twig";
  239.     }
  240.     protected function doDisplay(array $context, array $blocks = [])
  241.     {
  242.         $macros $this->macros;
  243.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
  245.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  246.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"));
  247.         $this->parent $this->loadTemplate("@ui/common/actionbar/default.html.twig""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig"11);
  248.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  249.         
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  251.         
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  253.     }
  254.     // line 14
  255.     public function block_searchbox($context, array $blocks = [])
  256.     {
  257.         $macros $this->macros;
  258.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""searchbox"));
  260.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""searchbox"));
  262.         // line 15
  263.         echo "            ";
  264.         $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
  265. (isset($context["search"]) || array_key_exists("search"$context) ? $context["search"] : (function () { throw new RuntimeError('Variable "search" does not exist.'16$this->source); })()), "filter", [=> "title"], "method"falsefalsefalse16)]), ['_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", [=> "title"], "method"falsefalsefalse16)])]));
  266.         // line 18
  267.         echo "        ";
  268.         
  269.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  270.         
  271.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  272.     }
  273.     public function getTemplateName()
  274.     {
  275.         return "@CmsWorkflows/Dashboard/Drafts/drafts.html.twig";
  276.     }
  277.     public function isTraitable()
  278.     {
  279.         return false;
  280.     }
  281.     public function getDebugInfo()
  282.     {
  283.         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,);
  284.     }
  285.     public function getSourceContext()
  286.     {
  287.         return new Source("{% extends '@ui/dashboards/default.html.twig' %}
  288. {% block header %}
  289.     {% embed '@ui/common/headers/new.html.twig' with {
  290.         title: 'Drafts'
  291.     } %}{% endembed %}
  292.     {% include '@CmsWorkflows/Dashboard/Drafts/includes/navbar.html.twig' %}
  293. {% endblock %}
  294. {% block content %}
  295.     {% embed '@ui/common/actionbar/default.html.twig' with {
  296.         search: search
  297.     } %}
  298.         {% block searchbox %}
  299.             {% include '@ui/common/actionbar/searchbox.html.twig' with {
  300.                 term: search.filter('title')
  301.             } %}
  302.         {% endblock %}
  303.     {% endembed %}
  304.     {% include '@CmsWorkflows/Dashboard/Drafts/includes/drafts.html.twig' %}
  305.     {% include '@CmsCore/includes/Search/empty.html.twig' with {
  306.         results: drafts|length
  307.     } %}
  308.     {% include '@ui/common/lazyloadSearch.html.twig' with {
  309.         link: path(routes.my_drafts_lazy),
  310.         search: search
  311.     } %}
  312. {% endblock %}
  313. ""@CmsWorkflows/Dashboard/Drafts/drafts.html.twig""/var/www/campussuite/src/Cms/WorkflowsBundle/Resources/views/Dashboard/Drafts/drafts.html.twig");
  314.     }
  315. }