<?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_ce08286df43f2314166d67b9eae6a1b4 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>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 48
/**
* @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 49
yield " ";
yield from $this->load("@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig", 49)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 52
/**
* @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.', 52, $this->source); })()), "seoTitle", [], "any", false, false, false, 52), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 54
/**
* @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 55
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.', 55, $this->source); })()), "DE")) : ("DE"));
// line 56
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.', 56, $this->source); })()), false)) : (false));
// line 57
yield "
<!-- homepage single event starts -->
";
// line 59
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.', 59, $this->source); })()))) {
// line 60
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.section.header.html.twig", 60)->unwrap()->yield($context);
// line 61
yield " ";
}
// line 62
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 72
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.', 72, $this->source); })()))) {
// line 73
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.articleImage-and-teaser.html.twig", 73)->unwrap()->yield($context);
// line 74
yield " ";
} else {
// line 75
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.articleImage-and-title.html.twig", 75)->unwrap()->yield($context);
// line 76
yield " ";
}
// line 77
yield " <!-- end part for article image and teaser -->
<!-- Archive Banner (SEO-optimized: no redirect) -->
";
// line 80
yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig", 80)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 81
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 81, $this->source); })())]));
// line 83
yield " <!-- end archive banner -->
<!-- start part flashbag notices -->
";
// line 86
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.', 86, $this->source); })()), "session", [], "any", false, false, false, 86), "flashbag", [], "any", false, false, false, 86), "has", ["notice"], "method", false, false, false, 86)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 87
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 89
$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.', 89, $this->source); })()), "session", [], "any", false, false, false, 89), "flashbag", [], "any", false, false, false, 89), "get", ["notice"], "method", false, false, false, 89));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 90
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 92
yield " ";
yield (isset($context["editFeedback"]) || array_key_exists("editFeedback", $context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.', 92, $this->source); })());
yield "
</div>
</div>
";
}
// line 96
yield " <!-- end part flashbag notices -->
";
// line 98
if (( !CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "batchType", [], "any", true, true, false, 98) || (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.', 98, $this->source); })()), "batchType", [], "any", false, false, false, 98) != "memberDocumentation"))) {
// line 99
yield "
<!-- start part feedback application process -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 103
yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig", 103)->unwrap()->yield($context);
// line 104
yield " </div>
</div>
<!-- end part feedback application process -->
";
}
// line 108
yield "
<!-- start part content -->
";
// line 110
if ((((isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 110, $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.', 110, $this->source); })()), "pitchDescription", [], "any", false, false, false, 110)) && (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.', 110, $this->source); })()), "pitchDescription", [], "any", false, false, false, 110)) != ""))) {
// line 111
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.', 111, $this->source); })()), "pitchDescription", [], "any", false, false, false, 111);
// line 112
yield " ";
} else {
// line 113
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.', 113, $this->source); })()), "content", [], "any", false, false, false, 113);
// line 114
yield " ";
}
// line 115
yield "
";
// line 116
if ((($tmp = (isset($context["showTeaser"]) || array_key_exists("showTeaser", $context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.', 116, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 117
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 119
yield (isset($context["displayContent"]) || array_key_exists("displayContent", $context) ? $context["displayContent"] : (function () { throw new RuntimeError('Variable "displayContent" does not exist.', 119, $this->source); })());
yield "
</div>
</div>
";
} else {
// line 123
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
<hr>
";
// line 126
yield (isset($context["displayContent"]) || array_key_exists("displayContent", $context) ? $context["displayContent"] : (function () { throw new RuntimeError('Variable "displayContent" does not exist.', 126, $this->source); })());
yield "
</div>
</div>
";
}
// line 130
yield " <!-- end part content -->
";
// line 132
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "batchType", [], "any", true, true, false, 132) && (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.', 132, $this->source); })()), "batchType", [], "any", false, false, false, 132) == "memberDocumentation"))) {
// line 133
yield " <!-- start documentation section -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 136
yield from $this->load("@StartPlatzEvent/Default/_documentation.batch.html.twig", 136)->unwrap()->yield($context);
// line 137
yield " </div>
</div>
<!-- end documentation section -->
";
} else {
// line 141
yield " <!-- start part ticketing and registering -->
";
// line 142
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.', 142, $this->source); })()), "ticketing", [], "any", false, false, false, 142)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 143
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
<p>
";
// line 145
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.', 145, $this->source); })()), "ticketing", [], "any", false, false, false, 145);
yield "
</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 147
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 147, $this->source); })()), "applicationUrl", [], "any", false, false, false, 147) && !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.', 147, $this->source); })()), "applicationUrl", [], "any", false, false, false, 147)))) {
// line 148
yield " ";
// line 149
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
";
// line 150
yield from $this->load("@StartPlatzEvent/Default/_registration.appicationUrl.html.twig", 150)->unwrap()->yield($context);
// line 151
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.', 151, $this->source); })()), "applicationUrl", [], "any", false, false, false, 151) && !(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 151, $this->source); })()))) {
// 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); })()), "ctaContent", [], "any", false, false, false, 155) || (CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "doNotshowApplicationSection", [], "any", true, true, false, 155) && 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.', 155, $this->source); })()), "doNotshowApplicationSection", [], "any", false, false, false, 155)))) {
// line 156
yield " <!-- Application Section will not be shown -->
";
} elseif (( // line 157
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 157, $this->source); })()) && (isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen", $context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.', 157, $this->source); })()))) {
// line 158
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.', 158, $this->source); })()), "priceInEuroCent", [], "any", false, false, false, 158) > 0)) {
// line 159
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig", 159)->unwrap()->yield($context);
// line 160
yield " ";
} else {
// line 161
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "isPreRegistration", [], "any", true, true, false, 161) && 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.', 161, $this->source); })()), "isPreRegistration", [], "any", false, false, false, 161))) {
// line 162
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.pre-registration-batch.html.twig", 162)->unwrap()->yield($context);
// line 163
yield " ";
} else {
// line 164
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig", 164)->unwrap()->yield($context);
// line 165
yield " ";
}
// line 166
yield " ";
}
// line 167
yield " ";
} else {
// line 168
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung nicht möglich</h2>
";
}
// line 170
yield " <!-- end part ticketing and registering -->
";
}
// line 172
yield "
<!-- start cta content -->
";
// line 174
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.', 174, $this->source); })()), "ctaContent", [], "any", false, false, false, 174)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 175
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 177
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.', 177, $this->source); })()), "ctaContent", [], "any", false, false, false, 177)));
yield "
</div>
</div>
";
}
// line 181
yield " <!-- end cta content -->
<!-- start post cta content -->
";
// line 185
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.', 185, $this->source); })()), "postCtaContent", [], "any", false, false, false, 185)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 186
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 188
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.', 188, $this->source); })()), "postCtaContent", [], "any", false, false, false, 188);
yield "
</div>
</div>
";
}
// line 192
yield " <!-- end post cta content -->
<!-- start tags -->
<div class=\"row\">
<div class=\"col-12 px-md-5 text-center\">
";
// line 197
yield $macros["layout"]->getTemplateForMacro("macro_hashTagList", $context, 197, $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.', 197, $this->source); })()), "tags", [], "any", false, false, false, 197), "#"), "events_list", (isset($context["templateVars"]) || array_key_exists("templateVars", $context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.', 197, $this->source); })()), "tmp"]);
yield "
</div>
</div>
<!-- end tags -->
<!-- start part speakers and partners -->
";
// line 203
if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers", $context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.', 203, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 204
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 206
yield from $this->load("@StartPlatzEvent/Default/_event.part.speakers-and-partners.html.twig", 206)->unwrap()->yield($context);
// line 207
yield " </div>
</div>
";
}
// line 210
yield " <!-- end part speakers and partners -->
<!-- start part past batches -->
";
// line 213
yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig", 213)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 214
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 214, $this->source); })()), "isMultiBatchEvent" => // line 215
(isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent", $context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.', 215, $this->source); })()), "pastBatches" => // line 216
(isset($context["pastBatches"]) || array_key_exists("pastBatches", $context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.', 216, $this->source); })()), "isEnglish" => // line 217
(isset($context["isEnglish"]) || array_key_exists("isEnglish", $context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.', 217, $this->source); })())]));
// line 219
yield " <!-- end part past batches -->
<!-- start part event series -->
";
// line 222
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.', 222, $this->source); })()), "seriesTag", [], "any", false, false, false, 222)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 223
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 225
yield from $this->load("@StartPlatzEvent/Default/_event.part.event-series.html.twig", 225)->unwrap()->yield($context);
// line 226
yield " </div>
</div>
";
}
// line 229
yield " <!-- end part event series -->
";
// line 231
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.', 231, $this->source); })()) == "byGuestEditor"))) {
// line 232
yield " <div class=\"row\">
<a href=\"";
// line 233
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.', 233, $this->source); })()), "id", [], "any", false, false, false, 233)]), "html", null, true);
yield "\" class=\"btn btn-success pull-right\" role=\"button\">Zurück zur Event-Seite</a>
</div>
";
}
// line 236
yield "
</div>
</div>
</div> <!-- End of content-wrapper -->
</div>
</section>
";
// line 243
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.', 243, $this->source); })()), "user", [], "any", false, false, false, 243) && (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 243, $this->source); })()))) {
// line 244
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 254
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.', 254, $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 275
yield "
";
// line 277
if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 277) && 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.', 277, $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.', 277, $this->source); })()), "canReadList", [], "any", false, false, false, 277))) {
// line 278
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 284
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.', 284, $this->source); })()), "id", [], "any", false, false, false, 284)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
";
}
// line 291
yield "
";
// line 292
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.', 292, $this->source); })()), "user", [], "any", false, false, false, 292) && (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.', 292, $this->source); })()), "user", [], "any", false, false, false, 292), "email", [], "any", false, false, false, 292) == 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.', 292, $this->source); })()), "createdBy", [], "any", false, false, false, 292)))) {
// line 293
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 299
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.', 299, $this->source); })()), "id", [], "any", false, false, false, 299)]), "html", null, true);
yield "\" role=\"button\">update</a>
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 301
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.', 301, $this->source); })()), "id", [], "any", false, false, false, 301)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
";
}
// line 308
yield "
";
// line 309
if (CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 309)) {
// line 310
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 310), "admin", [], "any", true, true, false, 310) && 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.', 310, $this->source); })()), "user", [], "any", false, false, false, 310), "admin", [], "any", false, false, false, 310))) {
// line 311
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 318
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_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.', 318, $this->source); })()), "id", [], "any", false, false, false, 318)]), "html", null, true);
yield "\" role=\"button\">update</a>
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 319
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.', 319, $this->source); })()), "id", [], "any", false, false, false, 319)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
<div class=\"col-12 pb-3 text-center\">
";
// line 322
yield $macros["layout"]->getTemplateForMacro("macro_tagList", $context, 322, $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.', 322, $this->source); })()), "tags", [], "any", false, false, false, 322), "#"), "events_list", "btn-success", (isset($context["templateVars"]) || array_key_exists("templateVars", $context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.', 322, $this->source); })()), "tmp"]);
yield "
</div>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 331
yield " ";
}
// line 332
yield "
<!-- homepage single event ends -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 338
/**
* @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 339
yield " ";
yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig", 339)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 342
/**
* @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 343
/**
* @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 ( 849 => 343, 827 => 342, 815 => 339, 802 => 338, 787 => 332, 784 => 331, 772 => 322, 766 => 319, 762 => 318, 753 => 311, 750 => 310, 748 => 309, 745 => 308, 735 => 301, 730 => 299, 722 => 293, 720 => 292, 717 => 291, 707 => 284, 699 => 278, 697 => 277, 693 => 275, 669 => 254, 657 => 244, 655 => 243, 646 => 236, 640 => 233, 637 => 232, 635 => 231, 631 => 229, 626 => 226, 624 => 225, 620 => 223, 618 => 222, 613 => 219, 611 => 217, 610 => 216, 609 => 215, 608 => 214, 607 => 213, 602 => 210, 597 => 207, 595 => 206, 591 => 204, 589 => 203, 580 => 197, 573 => 192, 566 => 188, 562 => 186, 560 => 185, 554 => 181, 547 => 177, 543 => 175, 541 => 174, 537 => 172, 533 => 170, 529 => 168, 526 => 167, 523 => 166, 520 => 165, 517 => 164, 514 => 163, 511 => 162, 508 => 161, 505 => 160, 502 => 159, 499 => 158, 497 => 157, 494 => 156, 491 => 155, 489 => 154, 486 => 153, 484 => 152, 481 => 151, 479 => 150, 476 => 149, 474 => 148, 472 => 147, 467 => 145, 463 => 143, 461 => 142, 458 => 141, 452 => 137, 450 => 136, 445 => 133, 443 => 132, 439 => 130, 432 => 126, 427 => 123, 420 => 119, 416 => 117, 414 => 116, 411 => 115, 408 => 114, 405 => 113, 402 => 112, 399 => 111, 397 => 110, 393 => 108, 387 => 104, 385 => 103, 379 => 99, 377 => 98, 373 => 96, 365 => 92, 348 => 90, 344 => 89, 340 => 87, 338 => 86, 333 => 83, 331 => 81, 330 => 80, 325 => 77, 322 => 76, 319 => 75, 316 => 74, 313 => 73, 311 => 72, 299 => 62, 296 => 61, 293 => 60, 291 => 59, 287 => 57, 284 => 56, 281 => 55, 268 => 54, 245 => 52, 233 => 49, 220 => 48, 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 %}
{% 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.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_edit', {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");
}
}