<?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;
/* indexEntry/list.html.twig */
class __TwigTemplate_22fbcbb9c977b65d43bd47495fa48bd1552a3120cbb480d792bf81758cfd7871 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'beta' => [$this, 'block_beta'],
'gamma' => [$this, 'block_gamma'],
'lefty_title' => [$this, 'block_lefty_title'],
'lefty' => [$this, 'block_lefty'],
'righty_title' => [$this, 'block_righty_title'],
'righty' => [$this, 'block_righty'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "indexEntry/list.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "indexEntry/list.html.twig"));
$this->parent = $this->loadTemplate("frontend.html.twig", "indexEntry/list.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 4
echo " ";
echo (((0 === 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"));
echo (((isset($context["key"]) || array_key_exists("key", $context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.', 4, $this->source); })())) ? (" Suche") : (""));
echo "|";
$this->displayParentBlock("title", $context, $blocks);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_beta($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "beta"));
// line 8
echo " ";
if ((0 === 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"))) {
// line 9
echo " Ghostwords
";
} else {
// line 11
echo " Neue Wörter
";
}
// line 13
echo " ";
if ((isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 13, $this->source); })())) {
// line 14
echo " für ";
echo twig_escape_filter($this->env, 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.', 14, $this->source); })()), "short", [], "any", false, false, false, 14), "html", null, true);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_gamma($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gamma"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "gamma"));
// line 19
echo " ";
if ((isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 19, $this->source); })())) {
// line 20
echo " Gehe zu <a href=\"";
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", false, false, false, 20)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, 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", false, false, false, 20), "html", null, true);
echo "\">";
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", false, false, false, 20), [" " => " "]);
echo "</a>
";
} else {
// line 22
echo " ";
if ((isset($context["key"]) || array_key_exists("key", $context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.', 22, $this->source); })())) {
// line 23
echo " Suchergebnisse für »";
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", null, true);
echo "« in den Indexeinträgen für ";
echo (((0 === 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"));
echo "
";
} else {
// line 25
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.
";
}
// line 27
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 30
public function block_lefty_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lefty_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lefty_title"));
echo "Kategorien";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 32
public function block_lefty($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lefty"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lefty"));
// line 33
echo " <ul>
";
// line 34
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["topic"] => $context["list"]) {
// line 35
echo " <li><a href=\"#";
echo twig_escape_filter($this->env, twig_replace_filter($context["topic"], [" " => "_"]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["topic"], "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['topic'], $context['list'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 37
echo " </ul>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 40
public function block_righty_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "righty_title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "righty_title"));
// line 41
echo " ";
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", false, false, false, 41) && (isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 41, $this->source); })()))) {
// line 42
echo " Index für:
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 46
public function block_righty($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "righty"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "righty"));
// line 47
echo " ";
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", false, false, false, 47)) {
// line 48
echo " <ul>
";
// line 49
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
// line 50
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((((0 === 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", false, false, false, 50)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "short", [], "any", false, false, false, 50), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 52
echo " </ul>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 56
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 57
echo "
";
// line 58
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["topic"] => $context["list"]) {
// line 59
echo " <h4 id=\"";
echo twig_escape_filter($this->env, twig_replace_filter($context["topic"], [" " => "_"]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["topic"], "html", null, true);
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", false, false, false, 59) && (isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 59, $this->source); })()))) {
echo " <a href=\"";
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", false, false, false, 59), "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", null, true);
echo "\" style=\"font-size: .8em; color: darksalmon;\">bearbeiten</a> <a href=\"javascript: return false;\" onclick=\"\$('#unassigned_";
echo twig_escape_filter($this->env, twig_replace_filter($context["topic"], [" " => "_", "," => "_", "ö" => "oe"]), "html", null, true);
echo "').show();\" style=\"font-size: .8em; color: darksalmon;\">ausstehende anzeigen</a>";
}
echo "</h4>
";
// line 60
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", false, false, false, 60) && (isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 60, $this->source); })()))) {
// line 61
echo " <div id=\"unassigned_";
echo twig_escape_filter($this->env, twig_replace_filter($context["topic"], [" " => "_", "," => "_", "ö" => "oe"]), "html", null, true);
echo "\" style=\"background-color: lightgrey; display: none;\">
ausstehend für <b>";
// line 62
echo twig_escape_filter($this->env, $context["topic"], "html", null, true);
echo "</b>: <a href=\"javascript: return false;\" onclick=\"\$('#unassigned_";
echo twig_escape_filter($this->env, twig_replace_filter($context["topic"], [" " => "_", "," => "_", "ö" => "oe"]), "html", null, true);
echo "').hide();\" style=\"font-size: .8em; color: darksalmon;\">verbergen</a><br/>
<ul style=\"columns: 5; background-color: lightgrey;\">
";
// line 64
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["u"]) {
// line 65
echo " <li>";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["u"], "topic", [], "any", false, false, false, 65), $context["topic"]))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["u"], "phrase", [], "any", false, false, false, 65), "html", null, true);
}
echo "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['u'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 67
echo " </ul>
</div>
";
}
// line 70
echo " <ul class=\"indexEntry\"><!-- style=\"column-count: 2\" -->
";
// line 71
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["list"]);
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 72
echo " <li id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["i"], "id", [], "any", false, false, false, 72), "html", null, true);
echo "\" class=\"phrase\">
<span class=\"phrase\">";
// line 73
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["i"], "phrase", [], "any", false, false, false, 73), "html", null, true);
echo "</span>";
if (( !(isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 73, $this->source); })()) && (1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["i"], "compilations", [], "any", false, false, false, 73)), 0)))) {
echo "<span class=\"biblio\">, ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["i"], "compilations", [], "any", false, false, false, 73));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 73), false))) {
echo ", ";
}
echo "<a href=\"";
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", false, false, false, 73)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "short", [], "any", false, false, false, 73), "html", null, true);
echo "\">";
echo twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["c"], "short", [], "any", false, false, false, 73), [" " => " "]);
echo "</a>";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</span>
";
} else {
// line 74
echo "<span class=\"biblio\">";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["i"], "corrections", [], "any", false, false, false, 74));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
if (twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 74)) {
echo ", ";
} else {
echo "; ";
}
echo "S. ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "compilationPage", [], "any", false, false, false, 74), "html", null, true);
echo ", <span title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "description", [], "any", false, false, false, 74), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["c"], "edition", [], "any", false, false, false, 74), "title", [], "any", false, false, false, 74), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "text", [], "any", false, false, false, 74), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "position", [], "any", false, false, false, 74), "html", null, true);
echo "</span>";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['c'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "</span>
";
}
// line 76
echo " </li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 78
echo " </ul>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['topic'], $context['list'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "indexEntry/list.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend.html.twig' %}
{% block title %}
{{ type == 'Ghostword' ? 'Ghostwords' : 'Neue Wörter' }}{{ key ? ' Suche' : ''}}|{{ parent() }}
{% endblock %}
{% block beta %}
{% if type == 'Ghostword' %}
Ghostwords
{% else %}
Neue Wörter
{% endif %}
{% if compilation %}
für {{ compilation.short }}
{% endif %}
{% endblock %}
{% block gamma %}
{% if compilation %}
Gehe zu <a href=\"{{ path('PapyrillioBeehive_ApiaryHoney', {'type': 'bl', 'id': compilation.volume }) }}\" title=\"{{ compilation.short }}\">{{ compilation.short|replace({' ' : ' '})|raw }}</a>
{% else %}
{% if key %}
Suchergebnisse für »{{ key }}« in den Indexeinträgen für {{ type == 'Ghostword' ? 'Ghostwords' : 'Neue Wörter' }}
{% else %}
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.
{% endif%}
{% endif %}
{% endblock %}
{% block lefty_title %}Kategorien{% endblock %}
{% block lefty %}
<ul>
{% for topic, list in indexEntries %}
<li><a href=\"#{{ topic | replace({ ' ': '_'}) }}\">{{ topic }}</a></li>
{% endfor %}
</ul>
{% endblock %}
{% block righty_title %}
{% if app.user and compilation %}
Index für:
{% endif %}
{% endblock %}
{% block righty %}
{% if app.user %}
<ul>
{% for c in compilations %}
<li><a href=\"{{ path(type == 'Neues Wort' ? 'PapyrillioBeehive_IndexEntryNew' : 'PapyrillioBeehive_IndexEntryGhostword', {'compilationId': c.id}) }}\">{{ c.short }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block body %}
{% for topic, list in indexEntries %}
<h4 id=\"{{ topic | replace({ ' ': '_'}) }}\">{{ topic }}{% if app.user and compilation %} <a href=\"{{path('PapyrillioBeehive_IndexEntryManageAssignments', {'compilationId' : compilation.id, 'type': type, 'topic': topic})}}\" style=\"font-size: .8em; color: darksalmon;\">bearbeiten</a> <a href=\"javascript: return false;\" onclick=\"\$('#unassigned_{{topic|replace({' ': '_', ',': '_', 'ö': 'oe'})}}').show();\" style=\"font-size: .8em; color: darksalmon;\">ausstehende anzeigen</a>{% endif %}</h4>
{% if app.user and compilation %}
<div id=\"unassigned_{{topic|replace({' ': '_', ',': '_', 'ö': 'oe'})}}\" style=\"background-color: lightgrey; display: none;\">
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/>
<ul style=\"columns: 5; background-color: lightgrey;\">
{% for u in unassigned %}
<li>{% if u.topic == topic %}{{ u.phrase }}{% endif %}</li>
{% endfor %}
</ul>
</div>
{% endif %}
<ul class=\"indexEntry\"><!-- style=\"column-count: 2\" -->
{% for i in list %}
<li id=\"{{ i.id }}\" class=\"phrase\">
<span class=\"phrase\">{{ i.phrase }}</span>{% if not compilation and i.compilations|length > 0 %}<span class=\"biblio\">, {% 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({' ' : ' '})|raw }}</a>{% endfor %}</span>
{% else %}<span class=\"biblio\">{% for c in i.corrections %}{% if loop.first %}, {% else %}; {% endif %}S. {{ c.compilationPage }}, <span title=\"{{ c.description }}\">{{ c.edition.title }} {{ c.text }} {{ c.position }}</span>{% endfor %}</span>
{% endif %}
</li>
{% endfor %}
</ul>
{% endfor %}
{% endblock %}
", "indexEntry/list.html.twig", "/var/www/beehive_dev/templates/indexEntry/list.html.twig");
}
}