<?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 = [
'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_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 4
echo " ";
if ((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"))) {
// line 5
echo " Ghostwords
";
} else {
// line 7
echo " Neue Wörter
";
}
// line 9
echo " ";
if ((isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 9, $this->source); })())) {
// line 10
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.', 10, $this->source); })()), "short", [], "any", false, false, false, 10), "html", null, true);
echo "
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 14
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 15
echo " ";
if ((isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 15, $this->source); })())) {
// line 16
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.', 16, $this->source); })()), "volume", [], "any", false, false, false, 16)]), "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.', 16, $this->source); })()), "short", [], "any", false, false, false, 16), "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.', 16, $this->source); })()), "short", [], "any", false, false, false, 16), [" " => " "]);
echo "</a>
";
} else {
// line 18
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.
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 22
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 24
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 25
echo " <ul>
";
// line 26
$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.', 26, $this->source); })()));
foreach ($context['_seq'] as $context["topic"] => $context["list"]) {
// line 27
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 29
echo " </ul>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 32
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 33
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.', 33, $this->source); })()), "user", [], "any", false, false, false, 33) && (isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 33, $this->source); })()))) {
// line 34
echo " Index für:
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 38
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 39
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.', 39, $this->source); })()), "user", [], "any", false, false, false, 39)) {
// line 40
echo " <ul>
";
// line 41
$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.', 41, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["c"]) {
// line 42
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.', 42, $this->source); })()), "Neues Wort"))) ? ("PapyrillioBeehive_IndexEntryNew") : ("PapyrillioBeehive_IndexEntryGhostword")), ["compilationId" => twig_get_attribute($this->env, $this->source, $context["c"], "id", [], "any", false, false, false, 42)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "short", [], "any", false, false, false, 42), "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 44
echo " </ul>
";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 48
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 49
echo "
";
// line 50
$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.', 50, $this->source); })()));
foreach ($context['_seq'] as $context["topic"] => $context["list"]) {
// line 51
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.', 51, $this->source); })()), "user", [], "any", false, false, false, 51) && (isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 51, $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.', 51, $this->source); })()), "id", [], "any", false, false, false, 51), "type" => (isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 51, $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 52
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.', 52, $this->source); })()), "user", [], "any", false, false, false, 52) && (isset($context["compilation"]) || array_key_exists("compilation", $context) ? $context["compilation"] : (function () { throw new RuntimeError('Variable "compilation" does not exist.', 52, $this->source); })()))) {
// line 53
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 54
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 56
$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.', 56, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["u"]) {
// line 57
echo " <li>";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["u"], "topic", [], "any", false, false, false, 57), $context["topic"]))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["u"], "phrase", [], "any", false, false, false, 57), "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 59
echo " </ul>
</div>
";
}
// line 62
echo " <ul class=\"indexEntry\"><!-- style=\"column-count: 2\" -->
";
// line 63
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable($context["list"]);
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 64
echo " <li id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["i"], "id", [], "any", false, false, false, 64), "html", null, true);
echo "\" class=\"phrase\">
<span class=\"phrase\">";
// line 65
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["i"], "phrase", [], "any", false, false, false, 65), "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.', 65, $this->source); })()) && (1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["i"], "compilations", [], "any", false, false, false, 65)), 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, 65));
$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, 65), 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, 65)]), "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, 65), "html", null, true);
echo "\">";
echo twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["c"], "short", [], "any", false, false, false, 65), [" " => " "]);
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 66
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, 66));
$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, 66)) {
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, 66), "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, 66), "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, 66), "title", [], "any", false, false, false, 66), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "text", [], "any", false, false, false, 66), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["c"], "position", [], "any", false, false, false, 66), "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 68
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 70
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 72
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 ( 449 => 72, 442 => 70, 435 => 68, 386 => 66, 340 => 65, 335 => 64, 331 => 63, 328 => 62, 323 => 59, 312 => 57, 308 => 56, 301 => 54, 296 => 53, 294 => 52, 280 => 51, 276 => 50, 273 => 49, 263 => 48, 251 => 44, 240 => 42, 236 => 41, 233 => 40, 230 => 39, 220 => 38, 208 => 34, 205 => 33, 195 => 32, 184 => 29, 173 => 27, 169 => 26, 166 => 25, 156 => 24, 137 => 22, 125 => 18, 115 => 16, 112 => 15, 102 => 14, 88 => 10, 85 => 9, 81 => 7, 77 => 5, 74 => 4, 64 => 3, 41 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend.html.twig' %}
{% 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 %}
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 %}
{% 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");
}
}