var/cache/dev/twig/e1/e10d6df7e0ba497de6e4f7af39670ae5c023a133312889c59ff3876a24cb1448.php line 54

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. /* indexEntry/list.html.twig */
  14. class __TwigTemplate_22fbcbb9c977b65d43bd47495fa48bd1552a3120cbb480d792bf81758cfd7871 extends 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.             'title' => [$this'block_title'],
  24.             'beta' => [$this'block_beta'],
  25.             'gamma' => [$this'block_gamma'],
  26.             'lefty_title' => [$this'block_lefty_title'],
  27.             'lefty' => [$this'block_lefty'],
  28.             'righty_title' => [$this'block_righty_title'],
  29.             'righty' => [$this'block_righty'],
  30.             'body' => [$this'block_body'],
  31.         ];
  32.     }
  33.     protected function doGetParent(array $context)
  34.     {
  35.         // line 1
  36.         return "frontend.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = [])
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""indexEntry/list.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""indexEntry/list.html.twig"));
  45.         $this->parent $this->loadTemplate("frontend.html.twig""indexEntry/list.html.twig"1);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     public function block_title($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  60.         // line 4
  61.         echo "  ";
  62.         echo (((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'4$this->source); })()), "Ghostword"))) ? ("Ghostwords") : ("Neue Wörter"));
  63.         echo (((isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'4$this->source); })())) ? (" Suche") : (""));
  64.         echo "|";
  65.         $this->displayParentBlock("title"$context$blocks);
  66.         echo "
  67. ";
  68.         
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  70.         
  71.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  72.     }
  73.     // line 7
  74.     public function block_beta($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beta"));
  79.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""beta"));
  81.         // line 8
  82.         echo "  ";
  83.         if ((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'8$this->source); })()), "Ghostword"))) {
  84.             // line 9
  85.             echo "    Ghostwords
  86.   ";
  87.         } else {
  88.             // line 11
  89.             echo "    Neue Wörter
  90.   ";
  91.         }
  92.         // line 13
  93.         echo "  ";
  94.         if ((isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'13$this->source); })())) {
  95.             // line 14
  96.             echo "    für ";
  97.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'14$this->source); })()), "short", [], "any"falsefalsefalse14), "html"nulltrue);
  98.             echo "
  99.   ";
  100.         }
  101.         
  102.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  103.         
  104.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  105.     }
  106.     // line 18
  107.     public function block_gamma($context, array $blocks = [])
  108.     {
  109.         $macros $this->macros;
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gamma"));
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""gamma"));
  114.         // line 19
  115.         echo "  ";
  116.         if ((isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'19$this->source); })())) {
  117.             // line 20
  118.             echo "    Gehe zu <a href=\"";
  119.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ApiaryHoney", ["type" => "bl""id" => twig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'20$this->source); })()), "volume", [], "any"falsefalsefalse20)]), "html"nulltrue);
  120.             echo "\" title=\"";
  121.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'20$this->source); })()), "short", [], "any"falsefalsefalse20), "html"nulltrue);
  122.             echo "\">";
  123.             echo twig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'20$this->source); })()), "short", [], "any"falsefalsefalse20), [" " => "&nbsp;"]);
  124.             echo "</a>
  125.   ";
  126.         } else {
  127.             // line 22
  128.             echo "    ";
  129.             if ((isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'22$this->source); })())) {
  130.                 // line 23
  131.                 echo "      Suchergebnisse für »";
  132.                 echo twig_escape_filter($this->env, (isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'23$this->source); })()), "html"nulltrue);
  133.                 echo "« in den Indexeinträgen für ";
  134.                 echo (((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'23$this->source); })()), "Ghostword"))) ? ("Ghostwords") : ("Neue Wörter"));
  135.                 echo "
  136.     ";
  137.             } else {
  138.                 // line 25
  139.                 echo "      Die Listen sind noch unvollständig und noch nicht einzelnen Korrekturen zugeordnet. Sie werden kontinuierlich erweitert und sollen langfristig auf die Korrekturen verweisen, auf die sie sich in den jeweiligen Bänden beziehen.
  140.     ";
  141.             }
  142.             // line 27
  143.             echo "  ";
  144.         }
  145.         
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  147.         
  148.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  149.     }
  150.     // line 30
  151.     public function block_lefty_title($context, array $blocks = [])
  152.     {
  153.         $macros $this->macros;
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lefty_title"));
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lefty_title"));
  158.         echo "Kategorien";
  159.         
  160.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  161.         
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  163.     }
  164.     // line 32
  165.     public function block_lefty($context, array $blocks = [])
  166.     {
  167.         $macros $this->macros;
  168.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lefty"));
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lefty"));
  172.         // line 33
  173.         echo "  <ul>
  174.     ";
  175.         // line 34
  176.         $context['_parent'] = $context;
  177.         $context['_seq'] = twig_ensure_traversable((isset($context["indexEntries"]) || array_key_exists("indexEntries"$context) ? $context["indexEntries"] : (function () { throw new RuntimeError('Variable "indexEntries" does not exist.'34$this->source); })()));
  178.         foreach ($context['_seq'] as $context["topic"] => $context["list"]) {
  179.             // line 35
  180.             echo "      <li><a href=\"#";
  181.             echo twig_escape_filter($this->envtwig_replace_filter($context["topic"], [" " => "_"]), "html"nulltrue);
  182.             echo "\">";
  183.             echo twig_escape_filter($this->env$context["topic"], "html"nulltrue);
  184.             echo "</a></li>
  185.     ";
  186.         }
  187.         $_parent $context['_parent'];
  188.         unset($context['_seq'], $context['_iterated'], $context['topic'], $context['list'], $context['_parent'], $context['loop']);
  189.         $context array_intersect_key($context$_parent) + $_parent;
  190.         // line 37
  191.         echo "  </ul>
  192. ";
  193.         
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  195.         
  196.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  197.     }
  198.     // line 40
  199.     public function block_righty_title($context, array $blocks = [])
  200.     {
  201.         $macros $this->macros;
  202.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""righty_title"));
  204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  205.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""righty_title"));
  206.         // line 41
  207.         echo "  ";
  208.         if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'41$this->source); })()), "user", [], "any"falsefalsefalse41) && (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'41$this->source); })()))) {
  209.             // line 42
  210.             echo "    Index für:
  211.   ";
  212.         }
  213.         
  214.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  215.         
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  217.     }
  218.     // line 46
  219.     public function block_righty($context, array $blocks = [])
  220.     {
  221.         $macros $this->macros;
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  223.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""righty"));
  224.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  225.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""righty"));
  226.         // line 47
  227.         echo "  ";
  228.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'47$this->source); })()), "user", [], "any"falsefalsefalse47)) {
  229.             // line 48
  230.             echo "    <ul>
  231.       ";
  232.             // line 49
  233.             $context['_parent'] = $context;
  234.             $context['_seq'] = twig_ensure_traversable((isset($context["compilations"]) || array_key_exists("compilations"$context) ? $context["compilations"] : (function () { throw new RuntimeError('Variable "compilations" does not exist.'49$this->source); })()));
  235.             foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  236.                 // line 50
  237.                 echo "        <li><a href=\"";
  238.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((((=== twig_compare((isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'50$this->source); })()), "Neues Wort"))) ? ("PapyrillioBeehive_IndexEntryNew") : ("PapyrillioBeehive_IndexEntryGhostword")), ["compilationId" => twig_get_attribute($this->env$this->source$context["c"], "id", [], "any"falsefalsefalse50)]), "html"nulltrue);
  239.                 echo "\">";
  240.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["c"], "short", [], "any"falsefalsefalse50), "html"nulltrue);
  241.                 echo "</a></li>
  242.       ";
  243.             }
  244.             $_parent $context['_parent'];
  245.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
  246.             $context array_intersect_key($context$_parent) + $_parent;
  247.             // line 52
  248.             echo "    </ul>
  249.   ";
  250.         }
  251.         
  252.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  253.         
  254.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  255.     }
  256.     // line 56
  257.     public function block_body($context, array $blocks = [])
  258.     {
  259.         $macros $this->macros;
  260.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  261.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  262.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  263.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  264.         // line 57
  265.         echo "
  266. ";
  267.         // line 58
  268.         $context['_parent'] = $context;
  269.         $context['_seq'] = twig_ensure_traversable((isset($context["indexEntries"]) || array_key_exists("indexEntries"$context) ? $context["indexEntries"] : (function () { throw new RuntimeError('Variable "indexEntries" does not exist.'58$this->source); })()));
  270.         foreach ($context['_seq'] as $context["topic"] => $context["list"]) {
  271.             // line 59
  272.             echo "   <h4 id=\"";
  273.             echo twig_escape_filter($this->envtwig_replace_filter($context["topic"], [" " => "_"]), "html"nulltrue);
  274.             echo "\">";
  275.             echo twig_escape_filter($this->env$context["topic"], "html"nulltrue);
  276.             if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'59$this->source); })()), "user", [], "any"falsefalsefalse59) && (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'59$this->source); })()))) {
  277.                 echo "&nbsp;<a href=\"";
  278.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_IndexEntryManageAssignments", ["compilationId" => twig_get_attribute($this->env$this->source, (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'59$this->source); })()), "id", [], "any"falsefalsefalse59), "type" => (isset($context["type"]) || array_key_exists("type"$context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.'59$this->source); })()), "topic" => $context["topic"]]), "html"nulltrue);
  279.                 echo "\" style=\"font-size: .8em; color: darksalmon;\">bearbeiten</a>&nbsp;<a href=\"javascript: return false;\" onclick=\"\$('#unassigned_";
  280.                 echo twig_escape_filter($this->envtwig_replace_filter($context["topic"], [" " => "_""," => "_""ö" => "oe"]), "html"nulltrue);
  281.                 echo "').show();\" style=\"font-size: .8em; color: darksalmon;\">ausstehende anzeigen</a>";
  282.             }
  283.             echo "</h4>
  284.    ";
  285.             // line 60
  286.             if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'60$this->source); })()), "user", [], "any"falsefalsefalse60) && (isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'60$this->source); })()))) {
  287.                 // line 61
  288.                 echo "     <div id=\"unassigned_";
  289.                 echo twig_escape_filter($this->envtwig_replace_filter($context["topic"], [" " => "_""," => "_""ö" => "oe"]), "html"nulltrue);
  290.                 echo "\" style=\"background-color: lightgrey; display: none;\">
  291.        ausstehend für <b>";
  292.                 // line 62
  293.                 echo twig_escape_filter($this->env$context["topic"], "html"nulltrue);
  294.                 echo "</b>: <a href=\"javascript: return false;\" onclick=\"\$('#unassigned_";
  295.                 echo twig_escape_filter($this->envtwig_replace_filter($context["topic"], [" " => "_""," => "_""ö" => "oe"]), "html"nulltrue);
  296.                 echo "').hide();\" style=\"font-size: .8em; color: darksalmon;\">verbergen</a><br/>
  297.        <ul style=\"columns: 5; background-color: lightgrey;\">
  298.        ";
  299.                 // line 64
  300.                 $context['_parent'] = $context;
  301.                 $context['_seq'] = twig_ensure_traversable((isset($context["unassigned"]) || array_key_exists("unassigned"$context) ? $context["unassigned"] : (function () { throw new RuntimeError('Variable "unassigned" does not exist.'64$this->source); })()));
  302.                 foreach ($context['_seq'] as $context["_key"] => $context["u"]) {
  303.                     // line 65
  304.                     echo "       <li>";
  305.                     if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["u"], "topic", [], "any"falsefalsefalse65), $context["topic"]))) {
  306.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["u"], "phrase", [], "any"falsefalsefalse65), "html"nulltrue);
  307.                     }
  308.                     echo "</li>
  309.        ";
  310.                 }
  311.                 $_parent $context['_parent'];
  312.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['u'], $context['_parent'], $context['loop']);
  313.                 $context array_intersect_key($context$_parent) + $_parent;
  314.                 // line 67
  315.                 echo "       </ul>
  316.      </div>
  317.    ";
  318.             }
  319.             // line 70
  320.             echo "   <ul class=\"indexEntry\"><!--  style=\"column-count: 2\" -->
  321.       ";
  322.             // line 71
  323.             $context['_parent'] = $context;
  324.             $context['_seq'] = twig_ensure_traversable($context["list"]);
  325.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  326.                 // line 72
  327.                 echo "        <li id=\"";
  328.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["i"], "id", [], "any"falsefalsefalse72), "html"nulltrue);
  329.                 echo "\" class=\"phrase\">
  330.           <span class=\"phrase\">";
  331.                 // line 73
  332.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["i"], "phrase", [], "any"falsefalsefalse73), "html"nulltrue);
  333.                 echo "</span>";
  334.                 if (( !(isset($context["compilation"]) || array_key_exists("compilation"$context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.'73$this->source); })()) && (=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["i"], "compilations", [], "any"falsefalsefalse73)), 0)))) {
  335.                     echo "<span class=\"biblio\">,&nbsp;";
  336.                     $context['_parent'] = $context;
  337.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["i"], "compilations", [], "any"falsefalsefalse73));
  338.                     $context['loop'] = [
  339.                       'parent' => $context['_parent'],
  340.                       'index0' => 0,
  341.                       'index'  => 1,
  342.                       'first'  => true,
  343.                     ];
  344.                     if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  345.                         $length count($context['_seq']);
  346.                         $context['loop']['revindex0'] = $length 1;
  347.                         $context['loop']['revindex'] = $length;
  348.                         $context['loop']['length'] = $length;
  349.                         $context['loop']['last'] = === $length;
  350.                     }
  351.                     foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  352.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse73), false))) {
  353.                             echo ", ";
  354.                         }
  355.                         echo "<a href=\"";
  356.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("PapyrillioBeehive_ApiaryHoney", ["type" => "bl""id" => twig_get_attribute($this->env$this->source$context["c"], "volume", [], "any"falsefalsefalse73)]), "html"nulltrue);
  357.                         echo "\" title=\"";
  358.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["c"], "short", [], "any"falsefalsefalse73), "html"nulltrue);
  359.                         echo "\">";
  360.                         echo twig_replace_filter(twig_get_attribute($this->env$this->source$context["c"], "short", [], "any"falsefalsefalse73), [" " => "&nbsp;"]);
  361.                         echo "</a>";
  362.                         ++$context['loop']['index0'];
  363.                         ++$context['loop']['index'];
  364.                         $context['loop']['first'] = false;
  365.                         if (isset($context['loop']['length'])) {
  366.                             --$context['loop']['revindex0'];
  367.                             --$context['loop']['revindex'];
  368.                             $context['loop']['last'] = === $context['loop']['revindex0'];
  369.                         }
  370.                     }
  371.                     $_parent $context['_parent'];
  372.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
  373.                     $context array_intersect_key($context$_parent) + $_parent;
  374.                     echo "</span>
  375.           ";
  376.                 } else {
  377.                     // line 74
  378.                     echo "<span class=\"biblio\">";
  379.                     $context['_parent'] = $context;
  380.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["i"], "corrections", [], "any"falsefalsefalse74));
  381.                     $context['loop'] = [
  382.                       'parent' => $context['_parent'],
  383.                       'index0' => 0,
  384.                       'index'  => 1,
  385.                       'first'  => true,
  386.                     ];
  387.                     if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  388.                         $length count($context['_seq']);
  389.                         $context['loop']['revindex0'] = $length 1;
  390.                         $context['loop']['revindex'] = $length;
  391.                         $context['loop']['length'] = $length;
  392.                         $context['loop']['last'] = === $length;
  393.                     }
  394.                     foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
  395.                         if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse74)) {
  396.                             echo ",&nbsp;";
  397.                         } else {
  398.                             echo ";&nbsp;";
  399.                         }
  400.                         echo "S. ";
  401.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["c"], "compilationPage", [], "any"falsefalsefalse74), "html"nulltrue);
  402.                         echo ",&nbsp;<span title=\"";
  403.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["c"], "description", [], "any"falsefalsefalse74), "html"nulltrue);
  404.                         echo "\">";
  405.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["c"], "edition", [], "any"falsefalsefalse74), "title", [], "any"falsefalsefalse74), "html"nulltrue);
  406.                         echo "&nbsp;";
  407.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["c"], "text", [], "any"falsefalsefalse74), "html"nulltrue);
  408.                         echo "&nbsp;";
  409.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["c"], "position", [], "any"falsefalsefalse74), "html"nulltrue);
  410.                         echo "</span>";
  411.                         ++$context['loop']['index0'];
  412.                         ++$context['loop']['index'];
  413.                         $context['loop']['first'] = false;
  414.                         if (isset($context['loop']['length'])) {
  415.                             --$context['loop']['revindex0'];
  416.                             --$context['loop']['revindex'];
  417.                             $context['loop']['last'] = === $context['loop']['revindex0'];
  418.                         }
  419.                     }
  420.                     $_parent $context['_parent'];
  421.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
  422.                     $context array_intersect_key($context$_parent) + $_parent;
  423.                     echo "</span>
  424.           ";
  425.                 }
  426.                 // line 76
  427.                 echo "        </li>
  428.       ";
  429.             }
  430.             $_parent $context['_parent'];
  431.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  432.             $context array_intersect_key($context$_parent) + $_parent;
  433.             // line 78
  434.             echo "    </ul>
  435. ";
  436.         }
  437.         $_parent $context['_parent'];
  438.         unset($context['_seq'], $context['_iterated'], $context['topic'], $context['list'], $context['_parent'], $context['loop']);
  439.         $context array_intersect_key($context$_parent) + $_parent;
  440.         // line 80
  441.         echo "
  442. ";
  443.         
  444.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  445.         
  446.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  447.     }
  448.     public function getTemplateName()
  449.     {
  450.         return "indexEntry/list.html.twig";
  451.     }
  452.     public function isTraitable()
  453.     {
  454.         return false;
  455.     }
  456.     public function getDebugInfo()
  457.     {
  458.         return array (  490 => 80,  483 => 78,  476 => 76,  427 => 74,  381 => 73,  376 => 72,  372 => 71,  369 => 70,  364 => 67,  353 => 65,  349 => 64,  342 => 62,  337 => 61,  335 => 60,  321 => 59,  317 => 58,  314 => 57,  304 => 56,  292 => 52,  281 => 50,  277 => 49,  274 => 48,  271 => 47,  261 => 46,  249 => 42,  246 => 41,  236 => 40,  225 => 37,  214 => 35,  210 => 34,  207 => 33,  197 => 32,  178 => 30,  167 => 27,  163 => 25,  155 => 23,  152 => 22,  142 => 20,  139 => 19,  129 => 18,  115 => 14,  112 => 13,  108 => 11,  104 => 9,  101 => 8,  91 => 7,  75 => 4,  65 => 3,  42 => 1,);
  459.     }
  460.     public function getSourceContext()
  461.     {
  462.         return new Source("{% extends 'frontend.html.twig' %}
  463. {% block title %}
  464.   {{ type == 'Ghostword' ? 'Ghostwords' : 'Neue Wörter' }}{{ key ? ' Suche' : ''}}|{{ parent() }}
  465. {% endblock %}
  466. {% block beta %}
  467.   {% if type == 'Ghostword' %}
  468.     Ghostwords
  469.   {% else %}
  470.     Neue Wörter
  471.   {% endif %}
  472.   {% if compilation %}
  473.     für {{ compilation.short }}
  474.   {% endif %}
  475. {% endblock %}
  476. {% block gamma %}
  477.   {% if compilation %}
  478.     Gehe zu <a href=\"{{ path('PapyrillioBeehive_ApiaryHoney', {'type': 'bl', 'id': compilation.volume }) }}\" title=\"{{ compilation.short }}\">{{ compilation.short|replace({' ' : '&nbsp;'})|raw }}</a>
  479.   {% else %}
  480.     {% if key %}
  481.       Suchergebnisse für »{{ key }}« in den Indexeinträgen für {{ type == 'Ghostword' ? 'Ghostwords' : 'Neue Wörter' }}
  482.     {% else %}
  483.       Die Listen sind noch unvollständig und noch nicht einzelnen Korrekturen zugeordnet. Sie werden kontinuierlich erweitert und sollen langfristig auf die Korrekturen verweisen, auf die sie sich in den jeweiligen Bänden beziehen.
  484.     {% endif%}
  485.   {% endif %}
  486. {% endblock %}
  487. {% block lefty_title %}Kategorien{% endblock %}
  488. {% block lefty %}
  489.   <ul>
  490.     {% for topic, list in indexEntries %}
  491.       <li><a href=\"#{{ topic | replace({ ' ': '_'}) }}\">{{ topic }}</a></li>
  492.     {% endfor %}
  493.   </ul>
  494. {% endblock %}
  495. {% block righty_title %}
  496.   {% if app.user and compilation %}
  497.     Index für:
  498.   {% endif %}
  499. {% endblock %}
  500. {% block righty %}
  501.   {% if app.user %}
  502.     <ul>
  503.       {% for c in compilations %}
  504.         <li><a href=\"{{ path(type == 'Neues Wort' ? 'PapyrillioBeehive_IndexEntryNew' : 'PapyrillioBeehive_IndexEntryGhostword', {'compilationId': c.id}) }}\">{{ c.short }}</a></li>
  505.       {% endfor %}
  506.     </ul>
  507.   {% endif %}
  508. {% endblock %}
  509. {% block body %}
  510. {% for topic, list in indexEntries %}
  511.    <h4 id=\"{{ topic | replace({ ' ': '_'}) }}\">{{ topic }}{% if app.user and compilation %}&nbsp;<a href=\"{{path('PapyrillioBeehive_IndexEntryManageAssignments', {'compilationId' : compilation.id, 'type': type, 'topic': topic})}}\" style=\"font-size: .8em; color: darksalmon;\">bearbeiten</a>&nbsp;<a href=\"javascript: return false;\" onclick=\"\$('#unassigned_{{topic|replace({' ': '_', ',': '_', 'ö': 'oe'})}}').show();\" style=\"font-size: .8em; color: darksalmon;\">ausstehende anzeigen</a>{% endif %}</h4>
  512.    {% if app.user and compilation %}
  513.      <div id=\"unassigned_{{topic|replace({' ': '_', ',': '_', 'ö': 'oe'})}}\" style=\"background-color: lightgrey; display: none;\">
  514.        ausstehend für <b>{{topic}}</b>: <a href=\"javascript: return false;\" onclick=\"\$('#unassigned_{{topic|replace({' ': '_', ',': '_', 'ö': 'oe'})}}').hide();\" style=\"font-size: .8em; color: darksalmon;\">verbergen</a><br/>
  515.        <ul style=\"columns: 5; background-color: lightgrey;\">
  516.        {% for u in unassigned %}
  517.        <li>{% if u.topic == topic %}{{ u.phrase }}{% endif %}</li>
  518.        {% endfor %}
  519.        </ul>
  520.      </div>
  521.    {% endif %}
  522.    <ul class=\"indexEntry\"><!--  style=\"column-count: 2\" -->
  523.       {% for i in list %}
  524.         <li id=\"{{ i.id }}\" class=\"phrase\">
  525.           <span class=\"phrase\">{{ i.phrase }}</span>{% if not compilation and i.compilations|length > 0 %}<span class=\"biblio\">,&nbsp;{% for c in i.compilations %}{% if loop.first == false  %}, {% endif %}<a href=\"{{ path('PapyrillioBeehive_ApiaryHoney', {'type': 'bl', 'id': c.volume }) }}\" title=\"{{ c.short }}\">{{ c.short|replace({' ' : '&nbsp;'})|raw }}</a>{% endfor %}</span>
  526.           {% else %}<span class=\"biblio\">{% for c in i.corrections %}{% if loop.first %},&nbsp;{% else %};&nbsp;{% endif %}S. {{ c.compilationPage }},&nbsp;<span title=\"{{ c.description }}\">{{ c.edition.title }}&nbsp;{{ c.text }}&nbsp;{{ c.position }}</span>{% endfor %}</span>
  527.           {% endif %}
  528.         </li>
  529.       {% endfor %}
  530.     </ul>
  531. {% endfor %}
  532. {% endblock %}
  533. ""indexEntry/list.html.twig""/var/www/beehive_dev/templates/indexEntry/list.html.twig");
  534.     }
  535. }