<?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.lp.html.twig */
class __TwigTemplate_783ec794aec4e49ce3517a086823825a 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'],
'ajax_helpers' => [$this, 'block_ajax_helpers'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.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.lp.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.lp.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.event-lp.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 " ";
// line 41
yield "
<style>
html {
scroll-behavior: smooth;
}
:target::before {
content: \"\";
display: block;
height: 70px;
margin-top: -70px;
}
body {
background-image: url('";
// line 56
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.', 56, $this->source); })()), "bgImagelink", [], "any", false, false, false, 56), "html", null, true);
yield "'); /* Pfad zu Ihrem Bild */
background-size: cover; /* Stellt sicher, dass das Bild die ganze Seite bedeckt */
background-position: center; /* Zentriert das Bild */
background-attachment: fixed; /* Verhindert, dass das Bild beim Scrollen mitbewegt wird */
font-family: 'Source Sans Pro', sans-serif;
}
/*
.content-wrapper class to limit the maximum width of the content area.
It ensures better readability by centering the content and setting a maximum width.
*/
.content-wrapper {
max-width: 800px; /* You can adjust this value based on your design needs */
margin-left: auto;
margin-right: auto;
}
.btn-outline-primary {
color: #495057; /* This color should match the text color of the landing page */
border-color: #495057; /* Same as above, can be the primary color of your site */
}
.btn-outline-primary:hover {
background-color: #495057; /* This should be a prominent color that matches your design */
color: #ffffff; /* Usually, white text works well on a darker background */
border-color: #495057; /* Match the hover background for a solid look */
}
</style>
";
// line 85
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.', 85, $this->source); })()), "additionalCss", [], "any", false, false, false, 85))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 86
yield " <!-- addition css styles only for this event -->
<style>
";
// line 88
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.', 88, $this->source); })()), "additionalCss", [], "any", false, false, false, 88), "html", null, true);
yield "
</style>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 94
/**
* @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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 96
/**
* @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.', 96, $this->source); })()), "seoTitle", [], "any", false, false, false, 96), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 98
/**
* @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 99
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.', 99, $this->source); })()), "DE")) : ("DE"));
// line 100
yield "
";
// line 101
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.', 101, $this->source); })()), "teaser", [], "any", false, false, false, 101)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 102
yield " ";
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.', 102, $this->source); })()), "teaser", [], "any", false, false, false, 102)));
yield "
";
}
// line 104
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 mb-3\">
<div class=\"col-12\" >
";
// line 114
if (((isset($context["embed"]) || array_key_exists("embed", $context) ? $context["embed"] : (function () { throw new RuntimeError('Variable "embed" does not exist.', 114, $this->source); })()) && !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.', 114, $this->source); })()), "isSinglePage", [], "any", false, false, false, 114))) {
// line 115
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_event.part.articleImage-and-title.html.twig", 115)->unwrap()->yield($context);
// line 116
yield " ";
}
// line 117
yield "
<!-- Archive Banner (SEO-optimized: no redirect) -->
";
// line 119
yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig", 119)->unwrap()->yield(CoreExtension::merge($context, ["event" => // line 120
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 120, $this->source); })())]));
// line 122
yield " <!-- end archive banner -->
<!-- start part flashbag notices -->
";
// line 125
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.', 125, $this->source); })()), "session", [], "any", false, false, false, 125), "flashbag", [], "any", false, false, false, 125), "has", ["notice"], "method", false, false, false, 125)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 126
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 128
$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.', 128, $this->source); })()), "session", [], "any", false, false, false, 128), "flashbag", [], "any", false, false, false, 128), "get", ["notice"], "method", false, false, false, 128));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 129
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 131
yield " ";
yield (isset($context["editFeedback"]) || array_key_exists("editFeedback", $context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.', 131, $this->source); })());
yield "
</div>
</div>
";
}
// line 135
yield " <!-- end part flashbag notices -->
";
// line 137
if (( !CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "batchType", [], "any", true, true, false, 137) || (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.', 137, $this->source); })()), "batchType", [], "any", false, false, false, 137) != "memberDocumentation"))) {
// line 138
yield " <!-- start part feedback application process -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 141
yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig", 141)->unwrap()->yield($context);
// line 142
yield " </div>
</div>
<!-- end part feedback application process -->
";
}
// line 146
yield "
<!-- start part content -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 150
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.', 150, $this->source); })()), "content", [], "any", false, false, false, 150);
yield "
</div>
</div>
<!-- end part content -->
";
// line 155
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.', 155, $this->source); })()), "alert", [], "any", false, false, false, 155) == "Anfrage")) {
// line 156
yield " <!-- start part anfrage and registering -->
";
// line 157
yield from $this->load("@StartPlatzEvent/Default/_registration.anfrage.html.twig", 157)->unwrap()->yield($context);
// line 158
yield " <!-- end part anfrage and registering -->
";
} else {
// line 160
yield " <!-- start part ticketing and registering -->
";
// line 161
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.', 161, $this->source); })()), "ticketing", [], "any", false, false, false, 161)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 162
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
<p>
";
// line 164
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.', 164, $this->source); })()), "ticketing", [], "any", false, false, false, 164);
yield "
</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 166
(isset($context["event"]) || array_key_exists("event", $context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.', 166, $this->source); })()), "applicationUrl", [], "any", false, false, false, 166) && !(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 166, $this->source); })()))) {
// line 167
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
";
// line 168
yield from $this->load("@StartPlatzEvent/Default/_registration.appicationUrl.html.twig", 168)->unwrap()->yield($context);
// line 169
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.', 169, $this->source); })()), "ctaContent", [], "any", false, false, false, 169) || (CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "doNotshowApplicationSection", [], "any", true, true, false, 169) && 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.', 169, $this->source); })()), "doNotshowApplicationSection", [], "any", false, false, false, 169)))) {
// line 170
yield " <!-- Application Section will not be shown -->
";
} elseif (( // line 171
(isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 171, $this->source); })()) && (isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen", $context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.', 171, $this->source); })()))) {
// line 172
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.', 172, $this->source); })()), "priceInEuroCent", [], "any", false, false, false, 172) > 0)) {
// line 173
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig", 173)->unwrap()->yield($context);
// line 174
yield " ";
} else {
// line 175
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["settings"] ?? null), "isPreRegistration", [], "any", true, true, false, 175) && 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.', 175, $this->source); })()), "isPreRegistration", [], "any", false, false, false, 175))) {
// line 176
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.pre-registration-batch.html.twig", 176)->unwrap()->yield($context);
// line 177
yield " ";
} else {
// line 178
yield " ";
yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig", 178)->unwrap()->yield($context);
// line 179
yield " ";
}
// line 180
yield " ";
}
// line 181
yield " ";
} else {
// line 182
yield " <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung nicht möglich</h2>
";
}
// line 184
yield " <!-- end part ticketing and registering -->
";
}
// line 186
yield "
<!-- start cta content -->
";
// line 188
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.', 188, $this->source); })()), "ctaContent", [], "any", false, false, false, 188)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 189
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 191
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.', 191, $this->source); })()), "ctaContent", [], "any", false, false, false, 191)));
yield "
</div>
</div>
";
}
// line 195
yield " <!-- end cta content -->
<!-- start post cta content -->
";
// line 199
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.', 199, $this->source); })()), "postCtaContent", [], "any", false, false, false, 199)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 200
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 202
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.', 202, $this->source); })()), "postCtaContent", [], "any", false, false, false, 202);
yield "
</div>
</div>
";
}
// line 206
yield " <!-- end post cta content -->
<!-- start tags -->
<div class=\"row\">
<div class=\"col-12 px-md-5 text-center mb-3\">
";
// line 211
yield $macros["layout"]->getTemplateForMacro("macro_hashTagList", $context, 211, $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.', 211, $this->source); })()), "tags", [], "any", false, false, false, 211), "#"), "events_list", (isset($context["templateVars"]) || array_key_exists("templateVars", $context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.', 211, $this->source); })()), "tmp"]);
yield "
</div>
</div>
<!-- end tags -->
<!-- start part speakers and partners -->
";
// line 217
if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers", $context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.', 217, $this->source); })())) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 218
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 220
yield from $this->load("@StartPlatzEvent/Default/_event.part.speakers-and-partners.html.twig", 220)->unwrap()->yield($context);
// line 221
yield " </div>
</div>
";
}
// line 224
yield " <!-- end part speakers and partners -->
<!-- start part event series -->
";
// line 227
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.', 227, $this->source); })()), "seriesTag", [], "any", false, false, false, 227)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 228
yield " <div class=\"row\">
<div class=\"col-12 px-md-5\">
";
// line 230
yield from $this->load("@StartPlatzEvent/Default/_event.part.event-series.html.twig", 230)->unwrap()->yield($context);
// line 231
yield " </div>
</div>
";
}
// line 234
yield " <!-- end part event series -->
";
// line 236
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.', 236, $this->source); })()) == "byGuestEditor"))) {
// line 237
yield " <div class=\"row\">
<a href=\"";
// line 238
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.', 238, $this->source); })()), "id", [], "any", false, false, false, 238)]), "html", null, true);
yield "\" class=\"btn btn-success pull-right\" role=\"button\">Zurück zur Event-Seite</a>
</div>
";
}
// line 241
yield "
</div>
</div>
</div> <!-- End of content-wrapper -->
</div>
</section>
";
// line 248
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.', 248, $this->source); })()), "user", [], "any", false, false, false, 248) && (isset($context["batch"]) || array_key_exists("batch", $context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.', 248, $this->source); })()))) {
// line 249
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 259
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.', 259, $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 280
yield "
";
// line 282
if ((((CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 282) && 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.', 282, $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.', 282, $this->source); })()), "canReadList", [], "any", false, false, false, 282))) {
// line 283
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 289
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.', 289, $this->source); })()), "id", [], "any", false, false, false, 289)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
";
}
// line 296
yield "
";
// line 297
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.', 297, $this->source); })()), "user", [], "any", false, false, false, 297) && (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.', 297, $this->source); })()), "user", [], "any", false, false, false, 297), "email", [], "any", false, false, false, 297) == 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.', 297, $this->source); })()), "createdBy", [], "any", false, false, false, 297)))) {
// line 298
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 304
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.', 304, $this->source); })()), "id", [], "any", false, false, false, 304)]), "html", null, true);
yield "\" role=\"button\">update</a>
Hier kannst Du die Teilnehmerliste einsehen
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 306
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.', 306, $this->source); })()), "id", [], "any", false, false, false, 306)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
</div>
</div>
</div>
</section>
";
}
// line 313
yield "
";
// line 314
if (CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", true, true, false, 314)) {
// line 315
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 315), "admin", [], "any", true, true, false, 315) && 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.', 315, $this->source); })()), "user", [], "any", false, false, false, 315), "admin", [], "any", false, false, false, 315))) {
// line 316
yield " <section class=\"bg-sp-grey pt-3\">
<div class=\"container\">
<div class=\"content-wrapper\">
<div class=\"row pt-3 bg-white mb-3\">
<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 323
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.', 323, $this->source); })()), "id", [], "any", false, false, false, 323)]), "html", null, true);
yield "\" role=\"button\">update</a>
<a class=\"btn btn-outline-dark btn-sm\" href=\"";
// line 324
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.', 324, $this->source); })()), "id", [], "any", false, false, false, 324)]), "html", null, true);
yield "\" role=\"button\">participants</a>
</div>
<div class=\"col-12 pb-3 text-center\">
";
// line 327
yield $macros["layout"]->getTemplateForMacro("macro_tagList", $context, 327, $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.', 327, $this->source); })()), "tags", [], "any", false, false, false, 327), "#"), "events_list", "btn-success", (isset($context["templateVars"]) || array_key_exists("templateVars", $context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.', 327, $this->source); })()), "tmp"]);
yield "
</div>
</div>
</div>
</div>
</div>
</div>
</section>
";
}
// line 336
yield " ";
}
// line 337
yield " <!-- homepage single event ends -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 340
/**
* @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 341
yield " ";
if ((($tmp = !((array_key_exists("embed", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["embed"]) || array_key_exists("embed", $context) ? $context["embed"] : (function () { throw new RuntimeError('Variable "embed" does not exist.', 341, $this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 342
yield " ";
yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig", 342)->unwrap()->yield($context);
// line 343
yield " ";
}
$__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 [];
}
// line 348
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_ajax_helpers(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", "ajax_helpers"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "ajax_helpers"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 350
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@StartPlatzEventBundle/Default/event-single.lp.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 867 => 350, 845 => 348, 823 => 347, 801 => 346, 789 => 343, 786 => 342, 783 => 341, 770 => 340, 758 => 337, 755 => 336, 743 => 327, 737 => 324, 733 => 323, 724 => 316, 721 => 315, 719 => 314, 716 => 313, 706 => 306, 701 => 304, 693 => 298, 691 => 297, 688 => 296, 678 => 289, 670 => 283, 668 => 282, 664 => 280, 640 => 259, 628 => 249, 626 => 248, 617 => 241, 611 => 238, 608 => 237, 606 => 236, 602 => 234, 597 => 231, 595 => 230, 591 => 228, 589 => 227, 584 => 224, 579 => 221, 577 => 220, 573 => 218, 571 => 217, 562 => 211, 555 => 206, 548 => 202, 544 => 200, 542 => 199, 536 => 195, 529 => 191, 525 => 189, 523 => 188, 519 => 186, 515 => 184, 511 => 182, 508 => 181, 505 => 180, 502 => 179, 499 => 178, 496 => 177, 493 => 176, 490 => 175, 487 => 174, 484 => 173, 481 => 172, 479 => 171, 476 => 170, 473 => 169, 471 => 168, 468 => 167, 466 => 166, 461 => 164, 457 => 162, 455 => 161, 452 => 160, 448 => 158, 446 => 157, 443 => 156, 441 => 155, 433 => 150, 427 => 146, 421 => 142, 419 => 141, 414 => 138, 412 => 137, 408 => 135, 400 => 131, 383 => 129, 379 => 128, 375 => 126, 373 => 125, 368 => 122, 366 => 120, 365 => 119, 361 => 117, 358 => 116, 355 => 115, 353 => 114, 341 => 104, 335 => 102, 333 => 101, 330 => 100, 327 => 99, 314 => 98, 291 => 96, 269 => 94, 254 => 88, 250 => 86, 248 => 85, 216 => 56, 199 => 41, 197 => 38, 184 => 37, 171 => 33, 167 => 32, 163 => 31, 157 => 28, 153 => 27, 149 => 26, 146 => 25, 142 => 23, 139 => 22, 133 => 20, 127 => 18, 125 => 17, 122 => 16, 120 => 15, 116 => 14, 111 => 13, 105 => 11, 98 => 9, 95 => 8, 92 => 7, 90 => 6, 77 => 5, 66 => 1, 64 => 3, 62 => 2, 49 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \"@StartPlatzStyleBundle/Bootstrap4/base.homepage.event-lp.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\" %}
#}
<style>
html {
scroll-behavior: smooth;
}
:target::before {
content: \"\";
display: block;
height: 70px;
margin-top: -70px;
}
body {
background-image: url('{{ event.bgImagelink }}'); /* Pfad zu Ihrem Bild */
background-size: cover; /* Stellt sicher, dass das Bild die ganze Seite bedeckt */
background-position: center; /* Zentriert das Bild */
background-attachment: fixed; /* Verhindert, dass das Bild beim Scrollen mitbewegt wird */
font-family: 'Source Sans Pro', sans-serif;
}
/*
.content-wrapper class to limit the maximum width of the content area.
It ensures better readability by centering the content and setting a maximum width.
*/
.content-wrapper {
max-width: 800px; /* You can adjust this value based on your design needs */
margin-left: auto;
margin-right: auto;
}
.btn-outline-primary {
color: #495057; /* This color should match the text color of the landing page */
border-color: #495057; /* Same as above, can be the primary color of your site */
}
.btn-outline-primary:hover {
background-color: #495057; /* This should be a prominent color that matches your design */
color: #ffffff; /* Usually, white text works well on a darker background */
border-color: #495057; /* Match the hover background for a solid look */
}
</style>
{% if event.additionalCss is not empty %}
<!-- addition css styles only for this event -->
<style>
{{ event.additionalCss }}
</style>
{% endif %}
{% endblock %}
{% block navigation %}{% endblock %}
{% block title %}{{ event.seoTitle }}{% endblock %}
{% block content %}
{% set lang = lang|default('DE') %}
{% if event.teaser %}
{{ include(template_from_string(event.teaser)) }}
{% 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 mb-3\">
<div class=\"col-12\" >
{% if embed and not event.isSinglePage %}
{% include \"@StartPlatzEvent/Default/_event.part.articleImage-and-title.html.twig\" %}
{% endif %}
<!-- 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 -->
<div class=\"row\">
<div class=\"col-12 px-md-5\">
{{ event.content|raw }}
</div>
</div>
<!-- end part content -->
{% if event.alert == \"Anfrage\" %}
<!-- start part anfrage and registering -->
{% include \"@StartPlatzEvent/Default/_registration.anfrage.html.twig\"%}
<!-- end part anfrage and registering -->
{% 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 not batch%}
<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 mb-3\">
{{ 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 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 mb-3\">
<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 %}
{% if not embed|default(false) %}
{% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
{% endif %}
{% endblock %}
{% block infiniteLoop %}{% endblock %}
{% block javascriptInfiniteLoop %}{% endblock %}
{% block ajax_helpers %}{% endblock %}
{% block javascripts %}{% endblock %}
", "@StartPlatzEventBundle/Default/event-single.lp.html.twig", "/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.lp.html.twig");
}
}