<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* @StartPlatzEventBundle/Default/event-single.html.twig */
class __TwigTemplate_0b5aa4af23f264e289d0ead209d0bf72 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'metaData' => [$this, 'block_metaData'],
'additionalHead' => [$this, 'block_additionalHead'],
'navigation' => [$this, 'block_navigation'],
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
'infiniteLoop' => [$this, 'block_infiniteLoop'],
'javascriptInfiniteLoop' => [$this, 'block_javascriptInfiniteLoop'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzEventBundle/Default/event-single.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@StartPlatzEventBundle/Default/event-single.html.twig"));
// line 2
$macros["layout"] = $this->macros["layout"] = $this->load("@StartPlatzEventBundle/Admin/_macros.bs4.html.twig", 2)->unwrap();
// line 3
$context["currentPath"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "get", ["_route"], "method", false, false, false, 3);
// line 1
$this->parent = $this->load("@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metaData(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metaData"));
// line 6
yield " ";
// line 7
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 7, $this->source); })()), "status", [], "any", false, false, false, 7) == "archive")) {
// line 8
yield " ";
$context["archivePrefix"] = (("Vergangene Veranstaltung vom " . $this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 8, $this->source); })()), "startDate", [], "any", false, false, false, 8), "d.m.Y")) . ": ");
// line 9
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["archivePrefix"]) || array_key_exists("archivePrefix", $context) ? $context["archivePrefix"] : (function () { throw new RuntimeError('Variable "archivePrefix" does not exist.', 9, $this->source); })()), "html", null, true);
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 9, $this->source); })()), "seoDescription", [], "any", false, false, false, 9), 0, 140), "html", null, true);
yield "\">
";
} else {
// line 11
yield " <meta name=\"description\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 11, $this->source); })()), "seoDescription", [], "any", false, false, false, 11), "html", null, true);
yield "\">
";
}
// line 13
yield " <meta name=\"keywords\" content=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 13, $this->source); })()), "seoKeyword", [], "any", false, false, false, 13), "html", null, true);
yield "\">
<meta name=\"author\" content=\"";
// line 14
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 14, $this->source); })()), "trainer", [], "any", false, false, false, 14), "html", null, true);
yield "\">
";
// line 15
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "environment", [], "any", false, false, false, 15) == "prod")) {
// line 16
yield " <meta name=\"robots\" content=\"index,follow\">
";
// line 17
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 17, $this->source); })()), "seriesTag", [], "any", false, false, false, 17))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 18
yield " <link rel=\"canonical\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("event_series", ["seriesTag" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 18, $this->source); })()), "seriesTag", [], "any", false, false, false, 18)]), "html", null, true);
yield "\" />
";
} else {
// line 20
yield " <link rel=\"canonical\" href=\"https://www.startplatz.de/event/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::urlencode(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 20, $this->source); })()), "slug", [], "any", false, false, false, 20)), "html", null, true);
yield "\" />
";
}
// line 22
yield " ";
} else {
// line 23
yield " <meta name=\"robots\" content=\"noindex,nofollow\">
";
}
// line 25
yield " <!-- Open Graph -->
<meta property=\"og:title\" content=\"";
// line 26
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 26, $this->source); })()), "seoTitle", [], "any", false, false, false, 26), "html", null, true);
yield "\">
<meta property=\"og:description\" content=\"";
// line 27
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 27, $this->source); })()), "seoDescription", [], "any", false, false, false, 27), "html", null, true);
yield "\">
<meta property=\"og:image\" content=\"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 28, $this->source); })()), "imageLink", [], "any", false, false, false, 28), "html", null, true);
yield "\">
<!-- Twitter Card -->
<meta name=\"twitter:card\" content=\"summary\">
<meta name=\"twitter:title\" content=\"";
// line 31
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 31, $this->source); })()), "seoTitle", [], "any", false, false, false, 31), "html", null, true);
yield "\">
<meta name=\"twitter:description\" content=\"";
// line 32
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 32, $this->source); })()), "seoDescription", [], "any", false, false, false, 32), "html", null, true);
yield "\">
<meta name=\"twitter:image\" content=\"";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 33, $this->source); })()), "imageLink", [], "any", false, false, false, 33), "html", null, true);
yield "\">
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 37
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_additionalHead(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "additionalHead"));
// line 38
yield " ";
yield from $this->load("@StartPlatzStyle/CSS/_homepage.sinlge-event.version-2023-fall.html.twig", 38)->unwrap()->yield($context);
// line 39
yield " ";
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 39, $this->source); })()), "additionalCss", [], "any", false, false, false, 39))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 40
yield " <!-- addition css styles only for this event -->
<style>
";
// line 42
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 42, $this->source); })()), "additionalCss", [], "any", false, false, false, 42), "html", null, true);
yield "
</style>
";
}
// line 45
yield "
";
// line 46
yield from $this->load("@StartPlatzStyleBundle/_meta-pixel.html.twig", 46)->unwrap()->yield(CoreExtension::toArray(["meta_pixel_id" => ((CoreExtension::getAttribute($this->env, $this->source, ($context["event"] ?? null), "metaPixelId", [], "any", true, true, false, 46)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 46, $this->source); })()), "metaPixelId", [], "any", false, false, false, 46), null)) : (null))]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 50
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_navigation(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "navigation"));
// line 51
yield " ";
yield from $this->load("@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig", 51)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 54
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 54, $this->source); })()), "seoTitle", [], "any", false, false, false, 54), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 56
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 57
yield " ";
$context["lang"] = ((array_key_exists("lang", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 57, $this->source); })()), "DE")) : ("DE"));
// line 58
yield " ";
$context["showTeaser"] = ((array_key_exists("showTeaser", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["showTeaser"]) || array_key_exists("showTeaser", $context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.', 58, $this->source); })()), false)) : (false));
// line 59
yield "
<!-- homepage single event starts -->
";
// line 61
if ((array_key_exists("showTeaser", $context) && (isset($context["showTeaser"]) || array_key_exists("showTeaser", $context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.', 61, $this->source); })()))) {
// line 62
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.section.header.html.twig", 62)->unwrap()->yield($context);
// line 63
yield " ";
}
// line 64
yield "
<section class=\"bg-sp-grey\">
<div class=\"container\">
<!-- Custom content-wrapper class to limit content width and improve readability -->
<div class=\"content-wrapper\">
<div class=\"row pt-3 bg-white\">
<div class=\"col-12\" >
<!-- start part for article image and teaser -->
";
// line 74
if ((array_key_exists("showTeaser", $context) && (isset($context["showTeaser"]) || array_key_exists("showTeaser", $context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.', 74, $this->source); })()))) {
// line 75
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.articleImage-and-teaser.html.twig", 75)->unwrap()->yield($context);
// line 76
yield " ";
} else {
// line 77
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.articleImage-and-title.html.twig", 77)->unwrap()->yield($context);
// line 78
yield " ";
}
// line 79
yield " <!-- end part for article image and teaser -->
<!-- Archive Banner (SEO-optimized: no redirect) -->
";
// line 82
yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig", 82)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 83
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 83, $this->source); })())]));
// line 85
yield " <!-- end archive banner -->
<!-- start part flashbag notices -->
";
// line 88
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 88, $this->source); })()), "session", [], "any", false, false, false, 88), "flashbag", [], "any", false, false, false, 88), "has", ["notice"], "method", false, false, false, 88)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 89
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 91
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 91, $this->source); })()), "session", [], "any", false, false, false, 91), "flashbag", [], "any", false, false, false, 91), "get", ["notice"], "method", false, false, false, 91));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 92
yield " <div class=\"text-center alert ";
if (CoreExtension::inFilter("SUCCESS", $context["flashMessage"])) {
yield "alert-success";
} elseif (CoreExtension::inFilter("ERROR", $context["flashMessage"])) {
yield "alert-danger";
} else {
yield "alert-default";
}
yield "\" role=\"alert\">";
yield Twig\Extension\CoreExtension::replace($context["flashMessage"], ["SUCCESS" => ""]);
yield "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 94
yield " ";
yield (isset($context["editFeedback"]) || array_key_exists("editFeedback", $context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.', 94, $this->source); })());
yield "
</div>
</div>
";
}
// line 98
yield " <!-- end part flashbag notices -->
";
// line 100
if (( !CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "batchType", [], "any", true, true, false, 100) || (CoreExtension::getAttribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 100, $this->source); })()), "batchType", [], "any", false, false, false, 100) != "memberDocumentation"))) {
// line 101
yield "
<!-- start part feedback application process -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 105
yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig", 105)->unwrap()->yield($context);
// line 106
yield " </div>
</div>
<!-- end part feedback application process -->
";
}
// line 110
yield "
<!-- start part content -->
";
// line 112
if (((isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 112, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 112, $this->source); })()), "hasCustomPage", [], "method", false, false, false, 112))) {
// line 113
yield " ";
$context["displayContent"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 113, $this->source); })()), "landingPageContent", [], "any", false, false, false, 113);
// line 114
yield " ";
} elseif ((((isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 114, $this->source); })()) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 114, $this->source); })()), "pitchDescription", [], "any", false, false, false, 114)) && (Twig\Extension\CoreExtension::trim(CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 114, $this->source); })()), "pitchDescription", [], "any", false, false, false, 114)) != ""))) {
// line 115
yield " ";
$context["displayContent"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 115, $this->source); })()), "pitchDescription", [], "any", false, false, false, 115);
// line 116
yield " ";
} else {
// line 117
yield " ";
$context["displayContent"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 117, $this->source); })()), "content", [], "any", false, false, false, 117);
// line 118
yield " ";
}
// line 119
yield "
";
// line 120
if ((($tmp = (isset($context["showTeaser"]) || array_key_exists("showTeaser", $context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.', 120, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 121
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 123
yield (isset($context["displayContent"]) || array_key_exists("displayContent", $context) ? $context["displayContent"] : (function () { throw new RuntimeError('Variable "displayContent" does not exist.', 123, $this->source); })());
yield "
</div>
</div>
";
} else {
// line 127
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
<hr>
";
// line 130
yield (isset($context["displayContent"]) || array_key_exists("displayContent", $context) ? $context["displayContent"] : (function () { throw new RuntimeError('Variable "displayContent" does not exist.', 130, $this->source); })());
yield "
</div>
</div>
";
}
// line 134
yield " <!-- end part content -->
";
// line 136
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "batchType", [], "any", true, true, false, 136) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 136, $this->source); })()), "batchType", [], "any", false, false, false, 136) == "memberDocumentation"))) {
// line 137
yield " <!-- start documentation section -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 140
yield from $this->load("@StartPlatzEvent/Default/_documentation.batch.html.twig", 140)->unwrap()->yield($context);
// line 141
yield " </div>
</div>
<!-- end documentation section -->
";
} else {
// line 145
yield " <!-- start part ticketing and registering -->
";
// line 146
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 146, $this->source); })()), "ticketing", [], "any", false, false, false, 146)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 147
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
<p>
";
// line 149
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 149, $this->source); })()), "ticketing", [], "any", false, false, false, 149);
yield "
</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 151
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 151, $this->source); })()), "applicationUrl", [], "any", false, false, false, 151) && !CoreExtension::inFilter("startplatz.de", CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 151, $this->source); })()), "applicationUrl", [], "any", false, false, false, 151)))) {
// line 152
yield " ";
// line 153
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
";
// line 154
yield from $this->load("@StartPlatzEvent/Default/_registration.appicationUrl.html.twig", 154)->unwrap()->yield($context);
// line 155
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 155, $this->source); })()), "applicationUrl", [], "any", false, false, false, 155) && !(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 155, $this->source); })()))) {
// line 156
yield " ";
// line 157
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
";
// line 158
yield from $this->load("@StartPlatzEvent/Default/_registration.appicationUrl.html.twig", 158)->unwrap()->yield($context);
// line 159
yield " ";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 159, $this->source); })()), "ctaContent", [], "any", false, false, false, 159) || (CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "doNotshowApplicationSection", [], "any", true, true, false, 159) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 159, $this->source); })()), "doNotshowApplicationSection", [], "any", false, false, false, 159)))) {
// line 160
yield " <!-- Application Section will not be shown -->
";
} elseif (( // line 161
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 161, $this->source); })()) && (isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen", $context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.', 161, $this->source); })()))) {
// line 162
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 162, $this->source); })()), "priceInEuroCent", [], "any", false, false, false, 162) > 0)) {
// line 163
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig", 163)->unwrap()->yield($context);
// line 164
yield " ";
} else {
// line 165
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "isPreRegistration", [], "any", true, true, false, 165) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["settings"]) || array_key_exists("settings", $context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.', 165, $this->source); })()), "isPreRegistration", [], "any", false, false, false, 165))) {
// line 166
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.pre-registration-batch.html.twig", 166)->unwrap()->yield($context);
// line 167
yield " ";
} else {
// line 168
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig", 168)->unwrap()->yield($context);
// line 169
yield " ";
}
// line 170
yield " ";
}
// line 171
yield " ";
} else {
// line 172
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung nicht möglich</h2>
";
}
// line 174
yield " <!-- end part ticketing and registering -->
";
}
// line 176
yield "
<!-- start cta content -->
";
// line 178
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 178, $this->source); })()), "ctaContent", [], "any", false, false, false, 178)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 179
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 181
yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 181, $this->source); })()), "ctaContent", [], "any", false, false, false, 181)));
yield "
</div>
</div>
";
}
// line 185
yield " <!-- end cta content -->
<!-- start post cta content -->
";
// line 189
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 189, $this->source); })()), "postCtaContent", [], "any", false, false, false, 189)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 190
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 192
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 192, $this->source); })()), "postCtaContent", [], "any", false, false, false, 192);
yield "
</div>
</div>
";
}
// line 196
yield " <!-- end post cta content -->
<!-- start tags -->
<div class=\"row\">
<div class=\"col-12 px-md-5 text-center\">
";
// line 201
yield $macros["layout"]->getTemplateForMacro("macro_hashTagList", $context, 201, $this->getSourceContext())->macro_hashTagList(...[Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 201, $this->source); })()), "tags", [], "any", false, false, false, 201), "#"), "events_list", (isset($context["templateVars"]) || array_key_exists("templateVars", $context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.', 201, $this->source); })()), "tmp"]);
yield "
</div>
</div>
<!-- end tags -->
<!-- start part speakers and partners -->
";
// line 207
if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers", $context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.', 207, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 208
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 210
yield from $this->load("@StartPlatzEvent/Default/_event.part.speakers-and-partners.html.twig", 210)->unwrap()->yield($context);
// line 211
yield " </div>
</div>
";
}
// line 214
yield " <!-- end part speakers and partners -->
<!-- start part past batches -->
";
// line 217
yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig", 217)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 218
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 218, $this->source); })()), "isMultiBatchEvent" => // line 219
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 219, $this->source); })()), "pastBatches" => // line 220
(isset($context["pastBatches"]) || array_key_exists("pastBatches", $context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.', 220, $this->source); })()), "isEnglish" => // line 221
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 221, $this->source); })())]));
// line 223
yield " <!-- end part past batches -->
<!-- start part event series -->
";
// line 226
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 226, $this->source); })()), "seriesTag", [], "any", false, false, false, 226)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 227
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 229
yield from $this->load("@StartPlatzEvent/Default/_event.part.event-series.html.twig", 229)->unwrap()->yield($context);
// line 230
yield " </div>
</div>
";
}
// line 233
yield " <!-- end part event series -->
";
// line 235
if ((array_key_exists("preview", $context) && ((isset($context["preview"]) || array_key_exists("preview", $context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.', 235, $this->source); })()) == "byGuestEditor"))) {
// line 236
yield " <div class=\"row\">
<a href=\"";
// line 237
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("guest_events_add", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 237, $this->source); })()), "id", [], "any", false, false, false, 237)]), "html", null, true);
yield "\" class=\"btn btn-success pull-right\" role=\"button\">Zurück zur Event-Seite</a>
</div>
";
}
// line 240
yield "
</div>
</div>
</div> <!-- End of content-wrapper -->
</div>
</section>
";
// line 247
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 247, $this->source); })()), "user", [], "any", false, false, false, 247) && (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 247, $this->source); })()))) {
// line 248
yield " <section class=\"bg-sp-grey pt-1\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 bg-white\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12 px-md-5 text-center\">
<h2>Promote This Event</h2>
<p>Teile diesen Event-Link und hilf uns, mehr Aufmerksamkeit für dieses Event zu generieren.</p>
<div class=\"input-group mb-3\">
<input type=\"text\" class=\"form-control\" id=\"promotionUrl\" readonly value=\"";
// line 258
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["promotionUrl"]) || array_key_exists("promotionUrl", $context) ? $context["promotionUrl"] : (function () { throw new RuntimeError('Variable "promotionUrl" does not exist.', 258, $this->source); })()), "html", null, true);
yield "\">
<div class=\"input-group-append\">
<button class=\"btn btn-outline-secondary\" type=\"button\" onclick=\"copyToClipboard('#promotionUrl')\">Kopieren</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
function copyToClipboard(elementId) {
var copyText = document.querySelector(elementId);
copyText.select();
document.execCommand(\"copy\");
}
</script>
";
}
// line 279
yield "
";
// line 281
if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 281) && array_key_exists("application", $context)) && !(null === (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 281, $this->source); })()))) && CoreExtension::getAttribute($this->env, $this->source, (isset($context["application"]) || array_key_exists("application", $context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.', 281, $this->source); })()), "canReadList", [], "any", false, false, false, 281))) {
// line 282
yield " <section class=\"bg-sp-grey pt-3\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 pb-3 bg-white\">
<div class=\"col-12\">
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 288
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 288, $this->source); })()), "id", [], "any", false, false, false, 288)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
";
}
// line 295
yield "
";
// line 296
if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 296, $this->source); })()), "user", [], "any", false, false, false, 296) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 296, $this->source); })()), "user", [], "any", false, false, false, 296), "email", [], "any", false, false, false, 296) == CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 296, $this->source); })()), "createdBy", [], "any", false, false, false, 296)))) {
// line 297
yield " <section class=\"bg-sp-grey pt-3\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 pb-3 bg-white\">
<div class=\"col-12\">
Hier kannst du den Event bearbeiten
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 303
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("guest_events_edit", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 303, $this->source); })()), "id", [], "any", false, false, false, 303)]), "html", null, true);
yield "\" role=\"button\">update</a>
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 305
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 305, $this->source); })()), "id", [], "any", false, false, false, 305)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
";
}
// line 312
yield "
";
// line 313
if (CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 313)) {
// line 314
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 314), "admin", [], "any", true, true, false, 314) && CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 314, $this->source); })()), "user", [], "any", false, false, false, 314), "admin", [], "any", false, false, false, 314))) {
// line 315
yield " <section class=\"bg-sp-grey pt-3\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 bg-white\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12 px-md-5 pb-3 text-center\">
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 322
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 322, $this->source); })()), "id", [], "any", false, false, false, 322)]), "html", null, true);
yield "\" role=\"button\">update</a>
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 323
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 323, $this->source); })()), "id", [], "any", false, false, false, 323)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
<div class=\"col-12 pb-3 text-center\">
";
// line 326
yield $macros["layout"]->getTemplateForMacro("macro_tagList", $context, 326, $this->getSourceContext())->macro_tagList(...[Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, (isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 326, $this->source); })()), "tags", [], "any", false, false, false, 326), "#"), "events_list", "btn-success", (isset($context["templateVars"]) || array_key_exists("templateVars", $context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.', 326, $this->source); })()), "tmp"]);
yield "
</div>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 335
yield " ";
}
// line 336
yield "
<!-- homepage single event ends -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 342
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 343
yield " ";
yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig", 343)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 346
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_infiniteLoop(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "infiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "infiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 347
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascriptInfiniteLoop(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptInfiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascriptInfiniteLoop"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@StartPlatzEventBundle/Default/event-single.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 860 => 347, 838 => 346, 826 => 343, 813 => 342, 798 => 336, 795 => 335, 783 => 326, 777 => 323, 773 => 322, 764 => 315, 761 => 314, 759 => 313, 756 => 312, 746 => 305, 741 => 303, 733 => 297, 731 => 296, 728 => 295, 718 => 288, 710 => 282, 708 => 281, 704 => 279, 680 => 258, 668 => 248, 666 => 247, 657 => 240, 651 => 237, 648 => 236, 646 => 235, 642 => 233, 637 => 230, 635 => 229, 631 => 227, 629 => 226, 624 => 223, 622 => 221, 621 => 220, 620 => 219, 619 => 218, 618 => 217, 613 => 214, 608 => 211, 606 => 210, 602 => 208, 600 => 207, 591 => 201, 584 => 196, 577 => 192, 573 => 190, 571 => 189, 565 => 185, 558 => 181, 554 => 179, 552 => 178, 548 => 176, 544 => 174, 540 => 172, 537 => 171, 534 => 170, 531 => 169, 528 => 168, 525 => 167, 522 => 166, 519 => 165, 516 => 164, 513 => 163, 510 => 162, 508 => 161, 505 => 160, 502 => 159, 500 => 158, 497 => 157, 495 => 156, 492 => 155, 490 => 154, 487 => 153, 485 => 152, 483 => 151, 478 => 149, 474 => 147, 472 => 146, 469 => 145, 463 => 141, 461 => 140, 456 => 137, 454 => 136, 450 => 134, 443 => 130, 438 => 127, 431 => 123, 427 => 121, 425 => 120, 422 => 119, 419 => 118, 416 => 117, 413 => 116, 410 => 115, 407 => 114, 404 => 113, 402 => 112, 398 => 110, 392 => 106, 390 => 105, 384 => 101, 382 => 100, 378 => 98, 370 => 94, 353 => 92, 349 => 91, 345 => 89, 343 => 88, 338 => 85, 336 => 83, 335 => 82, 330 => 79, 327 => 78, 324 => 77, 321 => 76, 318 => 75, 316 => 74, 304 => 64, 301 => 63, 298 => 62, 296 => 61, 292 => 59, 289 => 58, 286 => 57, 273 => 56, 250 => 54, 238 => 51, 225 => 50, 214 => 46, 211 => 45, 205 => 42, 201 => 40, 198 => 39, 195 => 38, 182 => 37, 169 => 33, 165 => 32, 161 => 31, 155 => 28, 151 => 27, 147 => 26, 144 => 25, 140 => 23, 137 => 22, 131 => 20, 125 => 18, 123 => 17, 120 => 16, 118 => 15, 114 => 14, 109 => 13, 103 => 11, 96 => 9, 93 => 8, 90 => 7, 88 => 6, 75 => 5, 64 => 1, 62 => 3, 60 => 2, 47 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig\" %}
{% import \"@StartPlatzEventBundle/Admin/_macros.bs4.html.twig\" as layout %}
{% set currentPath = app.request.get('_route') %}
{% block metaData %}
{# Optimize meta description for archived events #}
{% if event.status == 'archive' %}
{% set archivePrefix = 'Vergangene Veranstaltung vom ' ~ event.startDate|date('d.m.Y') ~ ': ' %}
<meta name=\"description\" content=\"{{ archivePrefix }}{{ event.seoDescription|slice(0, 140) }}\">
{% else %}
<meta name=\"description\" content=\"{{ event.seoDescription }}\">
{% endif %}
<meta name=\"keywords\" content=\"{{ event.seoKeyword }}\">
<meta name=\"author\" content=\"{{ event.trainer }}\">
{% if app.environment == 'prod' %}
<meta name=\"robots\" content=\"index,follow\">
{% if event.seriesTag is not empty %}
<link rel=\"canonical\" href=\"{{ path('event_series', {'seriesTag': event.seriesTag}) }}\" />
{% else %}
<link rel=\"canonical\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}\" />
{% endif %}
{% else %}
<meta name=\"robots\" content=\"noindex,nofollow\">
{% endif %}
<!-- Open Graph -->
<meta property=\"og:title\" content=\"{{ event.seoTitle }}\">
<meta property=\"og:description\" content=\"{{ event.seoDescription }}\">
<meta property=\"og:image\" content=\"{{ event.imageLink }}\">
<!-- Twitter Card -->
<meta name=\"twitter:card\" content=\"summary\">
<meta name=\"twitter:title\" content=\"{{ event.seoTitle }}\">
<meta name=\"twitter:description\" content=\"{{ event.seoDescription }}\">
<meta name=\"twitter:image\" content=\"{{ event.imageLink }}\">
{% endblock %}
{% block additionalHead %}
{% include \"@StartPlatzStyle/CSS/_homepage.sinlge-event.version-2023-fall.html.twig\" %}
{% if event.additionalCss is not empty %}
<!-- addition css styles only for this event -->
<style>
{{ event.additionalCss }}
</style>
{% endif %}
{% include \"@StartPlatzStyleBundle/_meta-pixel.html.twig\" with { meta_pixel_id: event.metaPixelId|default(null) } only %}
{% endblock %}
{% block navigation %}
{% include \"@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig\" %}
{% endblock %}
{% block title %}{{ event.seoTitle }}{% endblock %}
{% block content %}
{% set lang = lang|default('DE') %}
{% set showTeaser = showTeaser|default(false) %}
<!-- homepage single event starts -->
{% if showTeaser is defined and showTeaser %}
{% include \"@StartPlatzEvent/Default/_event.section.header.html.twig\" %}
{% endif %}
<section class=\"bg-sp-grey\">
<div class=\"container\">
<!-- Custom content-wrapper class to limit content width and improve readability -->
<div class=\"content-wrapper\">
<div class=\"row pt-3 bg-white\">
<div class=\"col-12\" >
<!-- start part for article image and teaser -->
{% if showTeaser is defined and showTeaser %}
{% include \"@StartPlatzEvent/Default/_event.part.articleImage-and-teaser.html.twig\" %}
{% else %}
{% include \"@StartPlatzEvent/Default/_event.part.articleImage-and-title.html.twig\" %}
{% endif %}
<!-- end part for article image and teaser -->
<!-- Archive Banner (SEO-optimized: no redirect) -->
{% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
'event': event
} %}
<!-- end archive banner -->
<!-- start part flashbag notices -->
{% if app.session.flashbag.has('notice') %}
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{% for flashMessage in app.session.flashbag.get('notice') %}
<div class=\"text-center alert {% if 'SUCCESS' in flashMessage %}alert-success{% elseif 'ERROR' in flashMessage %}alert-danger{% else %}alert-default{% endif %}\" role=\"alert\">{{ flashMessage|replace({'SUCCESS': ''})|raw }}</div>
{% endfor %}
{{ editFeedback|raw }}
</div>
</div>
{% endif %}
<!-- end part flashbag notices -->
{% if settings.batchType is not defined or settings.batchType != \"memberDocumentation\" %}
<!-- start part feedback application process -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
</div>
</div>
<!-- end part feedback application process -->
{% endif %}
<!-- start part content -->
{% if batch and batch.hasCustomPage() %}
{% set displayContent = batch.landingPageContent %}
{% elseif batch and batch.pitchDescription and batch.pitchDescription|trim != '' %}
{% set displayContent = batch.pitchDescription %}
{% else %}
{% set displayContent = event.content %}
{% endif %}
{% if showTeaser %}
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{{ displayContent|raw }}
</div>
</div>
{% else %}
<div class=\"row\">
<div class=\"col-12 px-md-5\">
<hr>
{{ displayContent|raw }}
</div>
</div>
{% endif %}
<!-- end part content -->
{% if settings.batchType is defined and settings.batchType == \"memberDocumentation\" %}
<!-- start documentation section -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{% include \"@StartPlatzEvent/Default/_documentation.batch.html.twig\"%}
</div>
</div>
<!-- end documentation section -->
{% else %}
<!-- start part ticketing and registering -->
{% if event.ticketing %}
<h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
<p>
{{ event.ticketing|raw }}
</p>
{% elseif event.applicationUrl and 'startplatz.de' not in event.applicationUrl %}
{# External URL always takes precedence, even with batch #}
<h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
{% include \"@StartPlatzEvent/Default/_registration.appicationUrl.html.twig\"%}
{% elseif event.applicationUrl and not batch%}
{# Internal startplatz.de URL only when no batch exists #}
<h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
{% include \"@StartPlatzEvent/Default/_registration.appicationUrl.html.twig\"%}
{% elseif event.ctaContent or (settings.doNotshowApplicationSection is defined and settings.doNotshowApplicationSection) %}
<!-- Application Section will not be shown -->
{% elseif batch and batchIsOpen %}
{% if batch.priceInEuroCent > 0 %}
{% include \"@StartPlatzEvent/Default/_registration.batch.html.twig\"%}
{% else %}
{% if settings.isPreRegistration is defined and settings.isPreRegistration %}
{% include \"@StartPlatzEvent/Default/_registration.pre-registration-batch.html.twig\"%}
{% else %}
{% include \"@StartPlatzEvent/Default/_registration.batch.html.twig\"%}
{% endif%}
{% endif %}
{% else %}
<h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung nicht möglich</h2>
{% endif %}
<!-- end part ticketing and registering -->
{% endif %}
<!-- start cta content -->
{% if event.ctaContent %}
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{{ include(template_from_string(event.ctaContent)) }}
</div>
</div>
{% endif %}
<!-- end cta content -->
<!-- start post cta content -->
{% if event.postCtaContent %}
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{{ event.postCtaContent|raw }}
</div>
</div>
{% endif %}
<!-- end post cta content -->
<!-- start tags -->
<div class=\"row\">
<div class=\"col-12 px-md-5 text-center\">
{{ layout.hashTagList( event.tags|split('#'), 'events_list', templateVars, 'tmp' ) }}
</div>
</div>
<!-- end tags -->
<!-- start part speakers and partners -->
{% if speakers %}
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{% include \"@StartPlatzEvent/Default/_event.part.speakers-and-partners.html.twig\" %}
</div>
</div>
{% endif %}
<!-- end part speakers and partners -->
<!-- start part past batches -->
{% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
'event': event,
'isMultiBatchEvent': isMultiBatchEvent,
'pastBatches': pastBatches,
'isEnglish': isEnglish
} %}
<!-- end part past batches -->
<!-- start part event series -->
{% if event.seriesTag %}
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{% include \"@StartPlatzEvent/Default/_event.part.event-series.html.twig\" %}
</div>
</div>
{% endif %}
<!-- end part event series -->
{% if preview is defined and preview == 'byGuestEditor' %}
<div class=\"row\">
<a href=\"{{ path('guest_events_add', {'id': event.id}) }}\" class=\"btn btn-success pull-right\" role=\"button\">Zurück zur Event-Seite</a>
</div>
{% endif %}
</div>
</div>
</div> <!-- End of content-wrapper -->
</div>
</section>
{% if app.user and batch %}
<section class=\"bg-sp-grey pt-1\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 bg-white\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12 px-md-5 text-center\">
<h2>Promote This Event</h2>
<p>Teile diesen Event-Link und hilf uns, mehr Aufmerksamkeit für dieses Event zu generieren.</p>
<div class=\"input-group mb-3\">
<input type=\"text\" class=\"form-control\" id=\"promotionUrl\" readonly value=\"{{ promotionUrl }}\">
<div class=\"input-group-append\">
<button class=\"btn btn-outline-secondary\" type=\"button\" onclick=\"copyToClipboard('#promotionUrl')\">Kopieren</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script>
function copyToClipboard(elementId) {
var copyText = document.querySelector(elementId);
copyText.select();
document.execCommand(\"copy\");
}
</script>
{% endif %}
{% if app.user is defined and application is defined and application is not null and application.canReadList %}
<section class=\"bg-sp-grey pt-3\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 pb-3 bg-white\">
<div class=\"col-12\">
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if app.user and app.user.email == event.createdBy %}
<section class=\"bg-sp-grey pt-3\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 pb-3 bg-white\">
<div class=\"col-12\">
Hier kannst du den Event bearbeiten
<a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('guest_events_edit', {id: event.id} ) }}\" role=\"button\">update</a>
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% if app.user is defined %}
{% if app.user.admin is defined and app.user.admin %}
<section class=\"bg-sp-grey pt-3\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 bg-white\">
<div class=\"col-12\">
<div class=\"row\">
<div class=\"col-12 px-md-5 pb-3 text-center\">
<a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_show', {id: event.id} ) }}\" role=\"button\">update</a>
<a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
</div>
<div class=\"col-12 pb-3 text-center\">
{{ layout.tagList( event.tags|split('#'), 'events_list', 'btn-success', templateVars, 'tmp' ) }}
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{% endif %}
{% endif %}
<!-- homepage single event ends -->
{% endblock %}
{% block footer %}
{% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
{% endblock %}
{% block infiniteLoop %}{% endblock %}
{% block javascriptInfiniteLoop %}{% endblock %}
", "@StartPlatzEventBundle/Default/event-single.html.twig", "/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.html.twig");
}
}