var/cache/dev/twig/d5/d59e3fa572cccef9d85cdb4f8cf61103.php line 276

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @StartPlatzEventBundle/Default/event-single.html.twig */
  16. class __TwigTemplate_0b5aa4af23f264e289d0ead209d0bf72 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'metaData' => [$this'block_metaData'],
  29.             'additionalHead' => [$this'block_additionalHead'],
  30.             'navigation' => [$this'block_navigation'],
  31.             'title' => [$this'block_title'],
  32.             'content' => [$this'block_content'],
  33.             'footer' => [$this'block_footer'],
  34.             'infiniteLoop' => [$this'block_infiniteLoop'],
  35.             'javascriptInfiniteLoop' => [$this'block_javascriptInfiniteLoop'],
  36.         ];
  37.     }
  38.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  39.     {
  40.         // line 1
  41.         return "@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig";
  42.     }
  43.     protected function doDisplay(array $context, array $blocks = []): iterable
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.html.twig"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@StartPlatzEventBundle/Default/event-single.html.twig"));
  50.         // line 2
  51.         $macros["layout"] = $this->macros["layout"] = $this->load("@StartPlatzEventBundle/Admin/_macros.bs4.html.twig"2)->unwrap();
  52.         // line 3
  53.         $context["currentPath"] = CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse3), "get", ["_route"], "method"falsefalsefalse3);
  54.         // line 1
  55.         $this->parent $this->load("@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig"1);
  56.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.     }
  62.     // line 5
  63.     /**
  64.      * @return iterable<null|scalar|\Stringable>
  65.      */
  66.     public function block_metaData(array $context, array $blocks = []): iterable
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""metaData"));
  73.         // line 6
  74.         yield "    ";
  75.         // line 7
  76.         yield "    ";
  77.         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"falsefalsefalse7) == "archive")) {
  78.             // line 8
  79.             yield "        ";
  80.             $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"falsefalsefalse8), "d.m.Y")) . ": ");
  81.             // line 9
  82.             yield "        <meta name=\"description\" content=\"";
  83.             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"nulltrue);
  84.             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"falsefalsefalse9), 0140), "html"nulltrue);
  85.             yield "\">
  86.     ";
  87.         } else {
  88.             // line 11
  89.             yield "        <meta name=\"description\" content=\"";
  90.             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"falsefalsefalse11), "html"nulltrue);
  91.             yield "\">
  92.     ";
  93.         }
  94.         // line 13
  95.         yield "    <meta name=\"keywords\" content=\"";
  96.         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"falsefalsefalse13), "html"nulltrue);
  97.         yield "\">
  98.     <meta name=\"author\" content=\"";
  99.         // line 14
  100.         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"falsefalsefalse14), "html"nulltrue);
  101.         yield "\">
  102.     ";
  103.         // line 15
  104.         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"falsefalsefalse15) == "prod")) {
  105.             // line 16
  106.             yield "        <meta name=\"robots\" content=\"index,follow\">
  107.         ";
  108.             // line 17
  109.             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"falsefalsefalse17))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  110.                 // line 18
  111.                 yield "            <link rel=\"canonical\" href=\"";
  112.                 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"falsefalsefalse18)]), "html"nulltrue);
  113.                 yield "\" />
  114.         ";
  115.             } else {
  116.                 // line 20
  117.                 yield "            <link rel=\"canonical\" href=\"https://www.startplatz.de/event/";
  118.                 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"falsefalsefalse20)), "html"nulltrue);
  119.                 yield "\" />
  120.         ";
  121.             }
  122.             // line 22
  123.             yield "    ";
  124.         } else {
  125.             // line 23
  126.             yield "        <meta name=\"robots\" content=\"noindex,nofollow\">
  127.     ";
  128.         }
  129.         // line 25
  130.         yield "    <!-- Open Graph -->
  131.     <meta property=\"og:title\" content=\"";
  132.         // line 26
  133.         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"falsefalsefalse26), "html"nulltrue);
  134.         yield "\">
  135.     <meta property=\"og:description\" content=\"";
  136.         // line 27
  137.         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"falsefalsefalse27), "html"nulltrue);
  138.         yield "\">
  139.     <meta property=\"og:image\" content=\"";
  140.         // line 28
  141.         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"falsefalsefalse28), "html"nulltrue);
  142.         yield "\">
  143.     <!-- Twitter Card -->
  144.     <meta name=\"twitter:card\" content=\"summary\">
  145.     <meta name=\"twitter:title\" content=\"";
  146.         // line 31
  147.         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"falsefalsefalse31), "html"nulltrue);
  148.         yield "\">
  149.     <meta name=\"twitter:description\" content=\"";
  150.         // line 32
  151.         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"falsefalsefalse32), "html"nulltrue);
  152.         yield "\">
  153.     <meta name=\"twitter:image\" content=\"";
  154.         // line 33
  155.         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"falsefalsefalse33), "html"nulltrue);
  156.         yield "\">
  157. ";
  158.         
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  160.         
  161.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  162.         yield from [];
  163.     }
  164.     // line 37
  165.     /**
  166.      * @return iterable<null|scalar|\Stringable>
  167.      */
  168.     public function block_additionalHead(array $context, array $blocks = []): iterable
  169.     {
  170.         $macros $this->macros;
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  172.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  174.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  175.         // line 38
  176.         yield "    ";
  177.         yield from $this->load("@StartPlatzStyle/CSS/_homepage.sinlge-event.version-2023-fall.html.twig"38)->unwrap()->yield($context);
  178.         // line 39
  179.         yield "    ";
  180.         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"falsefalsefalse39))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  181.             // line 40
  182.             yield "        <!-- addition css styles only for this event -->
  183.         <style>
  184.             ";
  185.             // line 42
  186.             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"falsefalsefalse42), "html"nulltrue);
  187.             yield "
  188.         </style>
  189.     ";
  190.         }
  191.         // line 45
  192.         yield "
  193.     ";
  194.         // line 46
  195.         yield from $this->load("@StartPlatzStyleBundle/_meta-pixel.html.twig"46)->unwrap()->yield(CoreExtension::toArray(["meta_pixel_id" => ((CoreExtension::getAttribute($this->env$this->source, ($context["event"] ?? null), "metaPixelId", [], "any"truetruefalse46)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'46$this->source); })()), "metaPixelId", [], "any"falsefalsefalse46), null)) : (null))]));
  196.         
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  198.         
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  200.         yield from [];
  201.     }
  202.     // line 50
  203.     /**
  204.      * @return iterable<null|scalar|\Stringable>
  205.      */
  206.     public function block_navigation(array $context, array $blocks = []): iterable
  207.     {
  208.         $macros $this->macros;
  209.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  211.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  213.         // line 51
  214.         yield "    ";
  215.         yield from $this->load("@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig"51)->unwrap()->yield($context);
  216.         
  217.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  218.         
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  220.         yield from [];
  221.     }
  222.     // line 54
  223.     /**
  224.      * @return iterable<null|scalar|\Stringable>
  225.      */
  226.     public function block_title(array $context, array $blocks = []): iterable
  227.     {
  228.         $macros $this->macros;
  229.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  231.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  233.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'54$this->source); })()), "seoTitle", [], "any"falsefalsefalse54), "html"nulltrue);
  234.         
  235.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  236.         
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  238.         yield from [];
  239.     }
  240.     // line 56
  241.     /**
  242.      * @return iterable<null|scalar|\Stringable>
  243.      */
  244.     public function block_content(array $context, array $blocks = []): iterable
  245.     {
  246.         $macros $this->macros;
  247.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  248.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  249.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  251.         // line 57
  252.         yield "    ";
  253.         $context["lang"] = ((array_key_exists("lang"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'57$this->source); })()), "DE")) : ("DE"));
  254.         // line 58
  255.         yield "    ";
  256.         $context["showTeaser"] = ((array_key_exists("showTeaser"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["showTeaser"]) || array_key_exists("showTeaser"$context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.'58$this->source); })()), false)) : (false));
  257.         // line 59
  258.         yield "
  259.     <!-- homepage single event starts -->
  260.     ";
  261.         // line 61
  262.         if ((array_key_exists("showTeaser"$context) && (isset($context["showTeaser"]) || array_key_exists("showTeaser"$context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.'61$this->source); })()))) {
  263.             // line 62
  264.             yield "        ";
  265.             yield from $this->load("@StartPlatzEvent/Default/_event.section.header.html.twig"62)->unwrap()->yield($context);
  266.             // line 63
  267.             yield "    ";
  268.         }
  269.         // line 64
  270.         yield "
  271.     <section class=\"bg-sp-grey\">
  272.         <div class=\"container\">
  273.             <!-- Custom content-wrapper class to limit content width and improve readability -->
  274.             <div class=\"content-wrapper\">
  275.                 <div class=\"row pt-3 bg-white\">
  276.                     <div class=\"col-12\" >
  277.                         <!-- start part for article image and teaser -->
  278.                         ";
  279.         // line 74
  280.         if ((array_key_exists("showTeaser"$context) && (isset($context["showTeaser"]) || array_key_exists("showTeaser"$context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.'74$this->source); })()))) {
  281.             // line 75
  282.             yield "                            ";
  283.             yield from $this->load("@StartPlatzEvent/Default/_event.part.articleImage-and-teaser.html.twig"75)->unwrap()->yield($context);
  284.             // line 76
  285.             yield "                        ";
  286.         } else {
  287.             // line 77
  288.             yield "                            ";
  289.             yield from $this->load("@StartPlatzEvent/Default/_event.part.articleImage-and-title.html.twig"77)->unwrap()->yield($context);
  290.             // line 78
  291.             yield "                        ";
  292.         }
  293.         // line 79
  294.         yield "                    <!-- end part for article image and teaser -->
  295.                         <!-- Archive Banner (SEO-optimized: no redirect) -->
  296.                         ";
  297.         // line 82
  298.         yield from $this->load("@StartPlatzEvent/Default/_event.part.archive-banner.html.twig"82)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 83
  299. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'83$this->source); })())]));
  300.         // line 85
  301.         yield "                        <!-- end archive banner -->
  302.                         <!-- start part flashbag notices -->
  303.                         ";
  304.         // line 88
  305.         if ((($tmp CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'88$this->source); })()), "session", [], "any"falsefalsefalse88), "flashbag", [], "any"falsefalsefalse88), "has", ["notice"], "method"falsefalsefalse88)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  306.             // line 89
  307.             yield "                            <div class=\"row\">
  308.                                 <div class=\"col-12 px-md-5\">
  309.                                     ";
  310.             // line 91
  311.             $context['_parent'] = $context;
  312.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'91$this->source); })()), "session", [], "any"falsefalsefalse91), "flashbag", [], "any"falsefalsefalse91), "get", ["notice"], "method"falsefalsefalse91));
  313.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  314.                 // line 92
  315.                 yield "                                        <div class=\"text-center alert ";
  316.                 if (CoreExtension::inFilter("SUCCESS"$context["flashMessage"])) {
  317.                     yield "alert-success";
  318.                 } elseif (CoreExtension::inFilter("ERROR"$context["flashMessage"])) {
  319.                     yield "alert-danger";
  320.                 } else {
  321.                     yield "alert-default";
  322.                 }
  323.                 yield "\" role=\"alert\">";
  324.                 yield Twig\Extension\CoreExtension::replace($context["flashMessage"], ["SUCCESS" => ""]);
  325.                 yield "</div>
  326.                                     ";
  327.             }
  328.             $_parent $context['_parent'];
  329.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  330.             $context array_intersect_key($context$_parent) + $_parent;
  331.             // line 94
  332.             yield "                                    ";
  333.             yield (isset($context["editFeedback"]) || array_key_exists("editFeedback"$context) ? $context["editFeedback"] : (function () { throw new RuntimeError('Variable "editFeedback" does not exist.'94$this->source); })());
  334.             yield "
  335.                                 </div>
  336.                             </div>
  337.                         ";
  338.         }
  339.         // line 98
  340.         yield "                        <!-- end part flashbag notices -->
  341.                         ";
  342.         // line 100
  343.         if (( !CoreExtension::getAttribute($this->env$this->source, ($context["settings"] ?? null), "batchType", [], "any"truetruefalse100) || (CoreExtension::getAttribute($this->env$this->source, (isset($context["settings"]) || array_key_exists("settings"$context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.'100$this->source); })()), "batchType", [], "any"falsefalsefalse100) != "memberDocumentation"))) {
  344.             // line 101
  345.             yield "
  346.                         <!-- start part feedback application process -->
  347.                         <div class=\"row\">
  348.                             <div class=\"col-12 px-md-5\">
  349.                                 ";
  350.             // line 105
  351.             yield from $this->load("@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig"105)->unwrap()->yield($context);
  352.             // line 106
  353.             yield "                            </div>
  354.                         </div>
  355.                         <!-- end part feedback application process -->
  356.                         ";
  357.         }
  358.         // line 110
  359.         yield "
  360.                         <!-- start part content -->
  361.                         ";
  362.         // line 112
  363.         if (((isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'112$this->source); })()) && CoreExtension::getAttribute($this->env$this->source, (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'112$this->source); })()), "hasCustomPage", [], "method"falsefalsefalse112))) {
  364.             // line 113
  365.             yield "                            ";
  366.             $context["displayContent"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'113$this->source); })()), "landingPageContent", [], "any"falsefalsefalse113);
  367.             // line 114
  368.             yield "                        ";
  369.         } elseif ((((isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'114$this->source); })()) && CoreExtension::getAttribute($this->env$this->source, (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'114$this->source); })()), "pitchDescription", [], "any"falsefalsefalse114)) && (Twig\Extension\CoreExtension::trim(CoreExtension::getAttribute($this->env$this->source, (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'114$this->source); })()), "pitchDescription", [], "any"falsefalsefalse114)) != ""))) {
  370.             // line 115
  371.             yield "                            ";
  372.             $context["displayContent"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'115$this->source); })()), "pitchDescription", [], "any"falsefalsefalse115);
  373.             // line 116
  374.             yield "                        ";
  375.         } else {
  376.             // line 117
  377.             yield "                            ";
  378.             $context["displayContent"] = CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'117$this->source); })()), "content", [], "any"falsefalsefalse117);
  379.             // line 118
  380.             yield "                        ";
  381.         }
  382.         // line 119
  383.         yield "
  384.                         ";
  385.         // line 120
  386.         if ((($tmp = (isset($context["showTeaser"]) || array_key_exists("showTeaser"$context) ? $context["showTeaser"] : (function () { throw new RuntimeError('Variable "showTeaser" does not exist.'120$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  387.             // line 121
  388.             yield "                            <div class=\"row\">
  389.                                 <div class=\"col-12 px-md-5\">
  390.                                     ";
  391.             // line 123
  392.             yield (isset($context["displayContent"]) || array_key_exists("displayContent"$context) ? $context["displayContent"] : (function () { throw new RuntimeError('Variable "displayContent" does not exist.'123$this->source); })());
  393.             yield "
  394.                                 </div>
  395.                             </div>
  396.                         ";
  397.         } else {
  398.             // line 127
  399.             yield "                            <div class=\"row\">
  400.                                 <div class=\"col-12 px-md-5\">
  401.                                     <hr>
  402.                                     ";
  403.             // line 130
  404.             yield (isset($context["displayContent"]) || array_key_exists("displayContent"$context) ? $context["displayContent"] : (function () { throw new RuntimeError('Variable "displayContent" does not exist.'130$this->source); })());
  405.             yield "
  406.                                 </div>
  407.                             </div>
  408.                         ";
  409.         }
  410.         // line 134
  411.         yield "                        <!-- end part content -->
  412.                         ";
  413.         // line 136
  414.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["settings"] ?? null), "batchType", [], "any"truetruefalse136) && (CoreExtension::getAttribute($this->env$this->source, (isset($context["settings"]) || array_key_exists("settings"$context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.'136$this->source); })()), "batchType", [], "any"falsefalsefalse136) == "memberDocumentation"))) {
  415.             // line 137
  416.             yield "                            <!-- start documentation section -->
  417.                             <div class=\"row\">
  418.                                 <div class=\"col-12 px-md-5\">
  419.                                     ";
  420.             // line 140
  421.             yield from $this->load("@StartPlatzEvent/Default/_documentation.batch.html.twig"140)->unwrap()->yield($context);
  422.             // line 141
  423.             yield "                                </div>
  424.                             </div>
  425.                             <!-- end documentation section -->
  426.                         ";
  427.         } else {
  428.             // line 145
  429.             yield "                            <!-- start part ticketing and registering -->
  430.                             ";
  431.             // line 146
  432.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'146$this->source); })()), "ticketing", [], "any"falsefalsefalse146)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  433.                 // line 147
  434.                 yield "                                <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
  435.                                 <p>
  436.                                     ";
  437.                 // line 149
  438.                 yield CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'149$this->source); })()), "ticketing", [], "any"falsefalsefalse149);
  439.                 yield "
  440.                                 </p>
  441.                             ";
  442.             } elseif ((CoreExtension::getAttribute($this->env$this->source,             // line 151
  443. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'151$this->source); })()), "applicationUrl", [], "any"falsefalsefalse151) && !CoreExtension::inFilter("startplatz.de"CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'151$this->source); })()), "applicationUrl", [], "any"falsefalsefalse151)))) {
  444.                 // line 152
  445.                 yield "                                ";
  446.                 // line 153
  447.                 yield "                                <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
  448.                                 ";
  449.                 // line 154
  450.                 yield from $this->load("@StartPlatzEvent/Default/_registration.appicationUrl.html.twig"154)->unwrap()->yield($context);
  451.                 // line 155
  452.                 yield "                            ";
  453.             } elseif ((CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'155$this->source); })()), "applicationUrl", [], "any"falsefalsefalse155) &&  !(isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'155$this->source); })()))) {
  454.                 // line 156
  455.                 yield "                                ";
  456.                 // line 157
  457.                 yield "                                <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
  458.                                 ";
  459.                 // line 158
  460.                 yield from $this->load("@StartPlatzEvent/Default/_registration.appicationUrl.html.twig"158)->unwrap()->yield($context);
  461.                 // line 159
  462.                 yield "                            ";
  463.             } elseif ((CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'159$this->source); })()), "ctaContent", [], "any"falsefalsefalse159) || (CoreExtension::getAttribute($this->env$this->source, ($context["settings"] ?? null), "doNotshowApplicationSection", [], "any"truetruefalse159) && CoreExtension::getAttribute($this->env$this->source, (isset($context["settings"]) || array_key_exists("settings"$context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.'159$this->source); })()), "doNotshowApplicationSection", [], "any"falsefalsefalse159)))) {
  464.                 // line 160
  465.                 yield "                                <!-- Application Section will not be shown -->
  466.                             ";
  467.             } elseif ((            // line 161
  468. (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'161$this->source); })()) && (isset($context["batchIsOpen"]) || array_key_exists("batchIsOpen"$context) ? $context["batchIsOpen"] : (function () { throw new RuntimeError('Variable "batchIsOpen" does not exist.'161$this->source); })()))) {
  469.                 // line 162
  470.                 yield "                                ";
  471.                 if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'162$this->source); })()), "priceInEuroCent", [], "any"falsefalsefalse162) > 0)) {
  472.                     // line 163
  473.                     yield "                                    ";
  474.                     yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig"163)->unwrap()->yield($context);
  475.                     // line 164
  476.                     yield "                                ";
  477.                 } else {
  478.                     // line 165
  479.                     yield "                                    ";
  480.                     if ((CoreExtension::getAttribute($this->env$this->source, ($context["settings"] ?? null), "isPreRegistration", [], "any"truetruefalse165) && CoreExtension::getAttribute($this->env$this->source, (isset($context["settings"]) || array_key_exists("settings"$context) ? $context["settings"] : (function () { throw new RuntimeError('Variable "settings" does not exist.'165$this->source); })()), "isPreRegistration", [], "any"falsefalsefalse165))) {
  481.                         // line 166
  482.                         yield "                                        ";
  483.                         yield from $this->load("@StartPlatzEvent/Default/_registration.pre-registration-batch.html.twig"166)->unwrap()->yield($context);
  484.                         // line 167
  485.                         yield "                                    ";
  486.                     } else {
  487.                         // line 168
  488.                         yield "                                        ";
  489.                         yield from $this->load("@StartPlatzEvent/Default/_registration.batch.html.twig"168)->unwrap()->yield($context);
  490.                         // line 169
  491.                         yield "                                    ";
  492.                     }
  493.                     // line 170
  494.                     yield "                                ";
  495.                 }
  496.                 // line 171
  497.                 yield "                            ";
  498.             } else {
  499.                 // line 172
  500.                 yield "                                <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung nicht möglich</h2>
  501.                             ";
  502.             }
  503.             // line 174
  504.             yield "                            <!-- end part ticketing and registering -->
  505.                         ";
  506.         }
  507.         // line 176
  508.         yield "
  509.                         <!-- start cta content -->
  510.                         ";
  511.         // line 178
  512.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'178$this->source); })()), "ctaContent", [], "any"falsefalsefalse178)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  513.             // line 179
  514.             yield "                            <div class=\"row\">
  515.                                 <div class=\"col-12 px-md-5\">
  516.                                     ";
  517.             // line 181
  518.             yield Twig\Extension\CoreExtension::include($this->env$contextTwig\Extension\StringLoaderExtension::templateFromString($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'181$this->source); })()), "ctaContent", [], "any"falsefalsefalse181)));
  519.             yield "
  520.                                 </div>
  521.                             </div>
  522.                         ";
  523.         }
  524.         // line 185
  525.         yield "                        <!-- end cta content -->
  526.                         <!-- start post cta content -->
  527.                         ";
  528.         // line 189
  529.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'189$this->source); })()), "postCtaContent", [], "any"falsefalsefalse189)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  530.             // line 190
  531.             yield "                            <div class=\"row\">
  532.                                 <div class=\"col-12 px-md-5\">
  533.                                     ";
  534.             // line 192
  535.             yield CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'192$this->source); })()), "postCtaContent", [], "any"falsefalsefalse192);
  536.             yield "
  537.                                 </div>
  538.                             </div>
  539.                         ";
  540.         }
  541.         // line 196
  542.         yield "                        <!-- end post cta content -->
  543.                         <!-- start tags -->
  544.                         <div class=\"row\">
  545.                             <div class=\"col-12 px-md-5 text-center\">
  546.                                 ";
  547.         // line 201
  548.         yield $macros["layout"]->getTemplateForMacro("macro_hashTagList"$context201$this->getSourceContext())->macro_hashTagList(...[Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'201$this->source); })()), "tags", [], "any"falsefalsefalse201), "#"), "events_list", (isset($context["templateVars"]) || array_key_exists("templateVars"$context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.'201$this->source); })()), "tmp"]);
  549.         yield "
  550.                             </div>
  551.                         </div>
  552.                         <!-- end tags -->
  553.                         <!-- start part speakers and partners -->
  554.                         ";
  555.         // line 207
  556.         if ((($tmp = (isset($context["speakers"]) || array_key_exists("speakers"$context) ? $context["speakers"] : (function () { throw new RuntimeError('Variable "speakers" does not exist.'207$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  557.             // line 208
  558.             yield "                            <div class=\"row\">
  559.                                 <div class=\"col-12 px-md-5\">
  560.                                     ";
  561.             // line 210
  562.             yield from $this->load("@StartPlatzEvent/Default/_event.part.speakers-and-partners.html.twig"210)->unwrap()->yield($context);
  563.             // line 211
  564.             yield "                                </div>
  565.                             </div>
  566.                         ";
  567.         }
  568.         // line 214
  569.         yield "                        <!-- end part speakers and partners -->
  570.                         <!-- start part past batches -->
  571.                         ";
  572.         // line 217
  573.         yield from $this->load("@StartPlatzEvent/Default/_section.past-batches.html.twig"217)->unwrap()->yield(CoreExtension::merge($context, ["event" =>         // line 218
  574. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'218$this->source); })()), "isMultiBatchEvent" =>         // line 219
  575. (isset($context["isMultiBatchEvent"]) || array_key_exists("isMultiBatchEvent"$context) ? $context["isMultiBatchEvent"] : (function () { throw new RuntimeError('Variable "isMultiBatchEvent" does not exist.'219$this->source); })()), "pastBatches" =>         // line 220
  576. (isset($context["pastBatches"]) || array_key_exists("pastBatches"$context) ? $context["pastBatches"] : (function () { throw new RuntimeError('Variable "pastBatches" does not exist.'220$this->source); })()), "isEnglish" =>         // line 221
  577. (isset($context["isEnglish"]) || array_key_exists("isEnglish"$context) ? $context["isEnglish"] : (function () { throw new RuntimeError('Variable "isEnglish" does not exist.'221$this->source); })())]));
  578.         // line 223
  579.         yield "                        <!-- end part past batches -->
  580.                         <!-- start part event series -->
  581.                         ";
  582.         // line 226
  583.         if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'226$this->source); })()), "seriesTag", [], "any"falsefalsefalse226)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  584.             // line 227
  585.             yield "                            <div class=\"row\">
  586.                                 <div class=\"col-12 px-md-5\">
  587.                                     ";
  588.             // line 229
  589.             yield from $this->load("@StartPlatzEvent/Default/_event.part.event-series.html.twig"229)->unwrap()->yield($context);
  590.             // line 230
  591.             yield "                                </div>
  592.                             </div>
  593.                         ";
  594.         }
  595.         // line 233
  596.         yield "                        <!-- end part event series -->
  597.                         ";
  598.         // line 235
  599.         if ((array_key_exists("preview"$context) && ((isset($context["preview"]) || array_key_exists("preview"$context) ? $context["preview"] : (function () { throw new RuntimeError('Variable "preview" does not exist.'235$this->source); })()) == "byGuestEditor"))) {
  600.             // line 236
  601.             yield "                            <div class=\"row\">
  602.                                 <a href=\"";
  603.             // line 237
  604.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("guest_events_add", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'237$this->source); })()), "id", [], "any"falsefalsefalse237)]), "html"nulltrue);
  605.             yield "\" class=\"btn btn-success pull-right\" role=\"button\">Zurück zur Event-Seite</a>
  606.                             </div>
  607.                         ";
  608.         }
  609.         // line 240
  610.         yield "
  611.                     </div>
  612.                 </div>
  613.             </div> <!-- End of content-wrapper -->
  614.         </div>
  615.     </section>
  616.     ";
  617.         // line 247
  618.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'247$this->source); })()), "user", [], "any"falsefalsefalse247) && (isset($context["batch"]) || array_key_exists("batch"$context) ? $context["batch"] : (function () { throw new RuntimeError('Variable "batch" does not exist.'247$this->source); })()))) {
  619.             // line 248
  620.             yield "        <section class=\"bg-sp-grey pt-1\">
  621.             <div class=\"container\">
  622.                 <div class=\"content-wrapper\">
  623.                     <div class=\"row pt-3 bg-white\">
  624.                         <div class=\"col-12\">
  625.                             <div class=\"row\">
  626.                                 <div class=\"col-12 px-md-5 text-center\">
  627.                                     <h2>Promote This Event</h2>
  628.                                     <p>Teile diesen Event-Link und hilf uns, mehr Aufmerksamkeit für dieses Event zu generieren.</p>
  629.                                     <div class=\"input-group mb-3\">
  630.                                         <input type=\"text\" class=\"form-control\" id=\"promotionUrl\" readonly value=\"";
  631.             // line 258
  632.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["promotionUrl"]) || array_key_exists("promotionUrl"$context) ? $context["promotionUrl"] : (function () { throw new RuntimeError('Variable "promotionUrl" does not exist.'258$this->source); })()), "html"nulltrue);
  633.             yield "\">
  634.                                         <div class=\"input-group-append\">
  635.                                             <button class=\"btn btn-outline-secondary\" type=\"button\" onclick=\"copyToClipboard('#promotionUrl')\">Kopieren</button>
  636.                                         </div>
  637.                                     </div>
  638.                                 </div>
  639.                             </div>
  640.                         </div>
  641.                     </div>
  642.                 </div>
  643.             </div>
  644.         </section>
  645.         <script>
  646.             function copyToClipboard(elementId) {
  647.                 var copyText = document.querySelector(elementId);
  648.                 copyText.select();
  649.                 document.execCommand(\"copy\");
  650.             }
  651.         </script>
  652.     ";
  653.         }
  654.         // line 279
  655.         yield "
  656.     ";
  657.         // line 281
  658.         if ((((CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse281) && array_key_exists("application"$context)) &&  !(null === (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'281$this->source); })()))) && CoreExtension::getAttribute($this->env$this->source, (isset($context["application"]) || array_key_exists("application"$context) ? $context["application"] : (function () { throw new RuntimeError('Variable "application" does not exist.'281$this->source); })()), "canReadList", [], "any"falsefalsefalse281))) {
  659.             // line 282
  660.             yield "            <section class=\"bg-sp-grey pt-3\">
  661.                 <div class=\"container\">
  662.                     <div class=\"content-wrapper\">
  663.                         <div class=\"row pt-3 pb-3 bg-white\">
  664.                             <div class=\"col-12\">
  665.                                 Hier kannst Du die Teilnehmerliste einsehen
  666.                                 <a class=\"btn btn-outline-dark btn-sm\" href=\"";
  667.             // line 288
  668.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'288$this->source); })()), "id", [], "any"falsefalsefalse288)]), "html"nulltrue);
  669.             yield "\" role=\"button\">participants</a>
  670.                             </div>
  671.                         </div>
  672.                     </div>
  673.                 </div>
  674.             </section>
  675.     ";
  676.         }
  677.         // line 295
  678.         yield "
  679.     ";
  680.         // line 296
  681.         if ((CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'296$this->source); })()), "user", [], "any"falsefalsefalse296) && (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'296$this->source); })()), "user", [], "any"falsefalsefalse296), "email", [], "any"falsefalsefalse296) == CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'296$this->source); })()), "createdBy", [], "any"falsefalsefalse296)))) {
  682.             // line 297
  683.             yield "        <section class=\"bg-sp-grey pt-3\">
  684.             <div class=\"container\">
  685.                 <div class=\"content-wrapper\">
  686.                     <div class=\"row pt-3 pb-3 bg-white\">
  687.                         <div class=\"col-12\">
  688.                             Hier kannst du den Event bearbeiten
  689.                             <a class=\"btn btn-outline-dark btn-sm\" href=\"";
  690.             // line 303
  691.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("guest_events_edit", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'303$this->source); })()), "id", [], "any"falsefalsefalse303)]), "html"nulltrue);
  692.             yield "\" role=\"button\">update</a>
  693.                             Hier kannst Du die Teilnehmerliste einsehen
  694.                             <a class=\"btn btn-outline-dark btn-sm\" href=\"";
  695.             // line 305
  696.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'305$this->source); })()), "id", [], "any"falsefalsefalse305)]), "html"nulltrue);
  697.             yield "\" role=\"button\">participants</a>
  698.                         </div>
  699.                     </div>
  700.                 </div>
  701.             </div>
  702.         </section>
  703.     ";
  704.         }
  705.         // line 312
  706.         yield "
  707.     ";
  708.         // line 313
  709.         if (CoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"truetruefalse313)) {
  710.             // line 314
  711.             yield "        ";
  712.             if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse314), "admin", [], "any"truetruefalse314) && CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'314$this->source); })()), "user", [], "any"falsefalsefalse314), "admin", [], "any"falsefalsefalse314))) {
  713.                 // line 315
  714.                 yield "            <section class=\"bg-sp-grey pt-3\">
  715.                 <div class=\"container\">
  716.                     <div class=\"content-wrapper\">
  717.                         <div class=\"row pt-3 bg-white\">
  718.                             <div class=\"col-12\">
  719.                                 <div class=\"row\">
  720.                                     <div class=\"col-12 px-md-5 pb-3 text-center\">
  721.                                         <a class=\"btn btn-outline-dark btn-sm\" href=\"";
  722.                 // line 322
  723.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_show", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'322$this->source); })()), "id", [], "any"falsefalsefalse322)]), "html"nulltrue);
  724.                 yield "\" role=\"button\">update</a>
  725.                                         <a class=\"btn btn-outline-dark btn-sm\" href=\"";
  726.                 // line 323
  727.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_event_participants", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'323$this->source); })()), "id", [], "any"falsefalsefalse323)]), "html"nulltrue);
  728.                 yield "\" role=\"button\">participants</a>
  729.                                     </div>
  730.                                     <div class=\"col-12 pb-3 text-center\">
  731.                                         ";
  732.                 // line 326
  733.                 yield $macros["layout"]->getTemplateForMacro("macro_tagList"$context326$this->getSourceContext())->macro_tagList(...[Twig\Extension\CoreExtension::split($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'326$this->source); })()), "tags", [], "any"falsefalsefalse326), "#"), "events_list""btn-success", (isset($context["templateVars"]) || array_key_exists("templateVars"$context) ? $context["templateVars"] : (function () { throw new RuntimeError('Variable "templateVars" does not exist.'326$this->source); })()), "tmp"]);
  734.                 yield "
  735.                                     </div>
  736.                                 </div>
  737.                             </div>
  738.                         </div>
  739.                     </div>
  740.                 </div>
  741.             </section>
  742.         ";
  743.             }
  744.             // line 335
  745.             yield "    ";
  746.         }
  747.         // line 336
  748.         yield "
  749.     <!-- homepage single event ends -->
  750. ";
  751.         
  752.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  753.         
  754.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  755.         yield from [];
  756.     }
  757.     // line 342
  758.     /**
  759.      * @return iterable<null|scalar|\Stringable>
  760.      */
  761.     public function block_footer(array $context, array $blocks = []): iterable
  762.     {
  763.         $macros $this->macros;
  764.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  765.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  766.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  767.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  768.         // line 343
  769.         yield "    ";
  770.         yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig"343)->unwrap()->yield($context);
  771.         
  772.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  773.         
  774.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  775.         yield from [];
  776.     }
  777.     // line 346
  778.     /**
  779.      * @return iterable<null|scalar|\Stringable>
  780.      */
  781.     public function block_infiniteLoop(array $context, array $blocks = []): iterable
  782.     {
  783.         $macros $this->macros;
  784.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  785.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  786.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  787.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  788.         
  789.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  790.         
  791.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  792.         yield from [];
  793.     }
  794.     // line 347
  795.     /**
  796.      * @return iterable<null|scalar|\Stringable>
  797.      */
  798.     public function block_javascriptInfiniteLoop(array $context, array $blocks = []): iterable
  799.     {
  800.         $macros $this->macros;
  801.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  802.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  803.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  804.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptInfiniteLoop"));
  805.         
  806.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  807.         
  808.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  809.         yield from [];
  810.     }
  811.     /**
  812.      * @codeCoverageIgnore
  813.      */
  814.     public function getTemplateName(): string
  815.     {
  816.         return "@StartPlatzEventBundle/Default/event-single.html.twig";
  817.     }
  818.     /**
  819.      * @codeCoverageIgnore
  820.      */
  821.     public function isTraitable(): bool
  822.     {
  823.         return false;
  824.     }
  825.     /**
  826.      * @codeCoverageIgnore
  827.      */
  828.     public function getDebugInfo(): array
  829.     {
  830.         return array (  860 => 347,  838 => 346,  826 => 343,  813 => 342,  798 => 336,  795 => 335,  783 => 326,  777 => 323,  773 => 322,  764 => 315,  761 => 314,  759 => 313,  756 => 312,  746 => 305,  741 => 303,  733 => 297,  731 => 296,  728 => 295,  718 => 288,  710 => 282,  708 => 281,  704 => 279,  680 => 258,  668 => 248,  666 => 247,  657 => 240,  651 => 237,  648 => 236,  646 => 235,  642 => 233,  637 => 230,  635 => 229,  631 => 227,  629 => 226,  624 => 223,  622 => 221,  621 => 220,  620 => 219,  619 => 218,  618 => 217,  613 => 214,  608 => 211,  606 => 210,  602 => 208,  600 => 207,  591 => 201,  584 => 196,  577 => 192,  573 => 190,  571 => 189,  565 => 185,  558 => 181,  554 => 179,  552 => 178,  548 => 176,  544 => 174,  540 => 172,  537 => 171,  534 => 170,  531 => 169,  528 => 168,  525 => 167,  522 => 166,  519 => 165,  516 => 164,  513 => 163,  510 => 162,  508 => 161,  505 => 160,  502 => 159,  500 => 158,  497 => 157,  495 => 156,  492 => 155,  490 => 154,  487 => 153,  485 => 152,  483 => 151,  478 => 149,  474 => 147,  472 => 146,  469 => 145,  463 => 141,  461 => 140,  456 => 137,  454 => 136,  450 => 134,  443 => 130,  438 => 127,  431 => 123,  427 => 121,  425 => 120,  422 => 119,  419 => 118,  416 => 117,  413 => 116,  410 => 115,  407 => 114,  404 => 113,  402 => 112,  398 => 110,  392 => 106,  390 => 105,  384 => 101,  382 => 100,  378 => 98,  370 => 94,  353 => 92,  349 => 91,  345 => 89,  343 => 88,  338 => 85,  336 => 83,  335 => 82,  330 => 79,  327 => 78,  324 => 77,  321 => 76,  318 => 75,  316 => 74,  304 => 64,  301 => 63,  298 => 62,  296 => 61,  292 => 59,  289 => 58,  286 => 57,  273 => 56,  250 => 54,  238 => 51,  225 => 50,  214 => 46,  211 => 45,  205 => 42,  201 => 40,  198 => 39,  195 => 38,  182 => 37,  169 => 33,  165 => 32,  161 => 31,  155 => 28,  151 => 27,  147 => 26,  144 => 25,  140 => 23,  137 => 22,  131 => 20,  125 => 18,  123 => 17,  120 => 16,  118 => 15,  114 => 14,  109 => 13,  103 => 11,  96 => 9,  93 => 8,  90 => 7,  88 => 6,  75 => 5,  64 => 1,  62 => 3,  60 => 2,  47 => 1,);
  831.     }
  832.     public function getSourceContext(): Source
  833.     {
  834.         return new Source("{% extends \"@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig\" %}
  835. {% import \"@StartPlatzEventBundle/Admin/_macros.bs4.html.twig\" as layout %}
  836. {% set currentPath = app.request.get('_route') %}
  837. {% block metaData %}
  838.     {# Optimize meta description for archived events #}
  839.     {% if event.status == 'archive' %}
  840.         {% set archivePrefix = 'Vergangene Veranstaltung vom ' ~ event.startDate|date('d.m.Y') ~ ': ' %}
  841.         <meta name=\"description\" content=\"{{ archivePrefix }}{{ event.seoDescription|slice(0, 140) }}\">
  842.     {% else %}
  843.         <meta name=\"description\" content=\"{{ event.seoDescription }}\">
  844.     {% endif %}
  845.     <meta name=\"keywords\" content=\"{{ event.seoKeyword }}\">
  846.     <meta name=\"author\" content=\"{{ event.trainer }}\">
  847.     {% if app.environment == 'prod' %}
  848.         <meta name=\"robots\" content=\"index,follow\">
  849.         {% if event.seriesTag is not empty %}
  850.             <link rel=\"canonical\" href=\"{{ path('event_series', {'seriesTag': event.seriesTag}) }}\" />
  851.         {% else %}
  852.             <link rel=\"canonical\" href=\"https://www.startplatz.de/event/{{ event.slug | url_encode }}\" />
  853.         {% endif %}
  854.     {% else %}
  855.         <meta name=\"robots\" content=\"noindex,nofollow\">
  856.     {% endif %}
  857.     <!-- Open Graph -->
  858.     <meta property=\"og:title\" content=\"{{ event.seoTitle }}\">
  859.     <meta property=\"og:description\" content=\"{{ event.seoDescription }}\">
  860.     <meta property=\"og:image\" content=\"{{ event.imageLink }}\">
  861.     <!-- Twitter Card -->
  862.     <meta name=\"twitter:card\" content=\"summary\">
  863.     <meta name=\"twitter:title\" content=\"{{ event.seoTitle }}\">
  864.     <meta name=\"twitter:description\" content=\"{{ event.seoDescription }}\">
  865.     <meta name=\"twitter:image\" content=\"{{ event.imageLink }}\">
  866. {% endblock %}
  867. {% block additionalHead %}
  868.     {% include \"@StartPlatzStyle/CSS/_homepage.sinlge-event.version-2023-fall.html.twig\" %}
  869.     {% if event.additionalCss is not empty %}
  870.         <!-- addition css styles only for this event -->
  871.         <style>
  872.             {{ event.additionalCss }}
  873.         </style>
  874.     {% endif %}
  875.     {% include \"@StartPlatzStyleBundle/_meta-pixel.html.twig\" with { meta_pixel_id: event.metaPixelId|default(null) } only %}
  876. {% endblock %}
  877. {% block navigation %}
  878.     {% include \"@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig\" %}
  879. {% endblock %}
  880. {% block title %}{{ event.seoTitle }}{% endblock %}
  881. {% block content %}
  882.     {% set lang = lang|default('DE') %}
  883.     {% set showTeaser = showTeaser|default(false) %}
  884.     <!-- homepage single event starts -->
  885.     {% if showTeaser is defined and showTeaser %}
  886.         {% include \"@StartPlatzEvent/Default/_event.section.header.html.twig\" %}
  887.     {% endif %}
  888.     <section class=\"bg-sp-grey\">
  889.         <div class=\"container\">
  890.             <!-- Custom content-wrapper class to limit content width and improve readability -->
  891.             <div class=\"content-wrapper\">
  892.                 <div class=\"row pt-3 bg-white\">
  893.                     <div class=\"col-12\" >
  894.                         <!-- start part for article image and teaser -->
  895.                         {% if showTeaser is defined and showTeaser %}
  896.                             {% include \"@StartPlatzEvent/Default/_event.part.articleImage-and-teaser.html.twig\" %}
  897.                         {% else %}
  898.                             {% include \"@StartPlatzEvent/Default/_event.part.articleImage-and-title.html.twig\" %}
  899.                         {% endif %}
  900.                     <!-- end part for article image and teaser -->
  901.                         <!-- Archive Banner (SEO-optimized: no redirect) -->
  902.                         {% include '@StartPlatzEvent/Default/_event.part.archive-banner.html.twig' with {
  903.                             'event': event
  904.                         } %}
  905.                         <!-- end archive banner -->
  906.                         <!-- start part flashbag notices -->
  907.                         {% if app.session.flashbag.has('notice')  %}
  908.                             <div class=\"row\">
  909.                                 <div class=\"col-12 px-md-5\">
  910.                                     {% for flashMessage in app.session.flashbag.get('notice') %}
  911.                                         <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>
  912.                                     {% endfor %}
  913.                                     {{ editFeedback|raw }}
  914.                                 </div>
  915.                             </div>
  916.                         {% endif %}
  917.                         <!-- end part flashbag notices -->
  918.                         {% if settings.batchType is not defined or settings.batchType != \"memberDocumentation\" %}
  919.                         <!-- start part feedback application process -->
  920.                         <div class=\"row\">
  921.                             <div class=\"col-12 px-md-5\">
  922.                                 {% include \"@StartPlatzEvent/Default/_event.part.feedback-application-process.html.twig\" %}
  923.                             </div>
  924.                         </div>
  925.                         <!-- end part feedback application process -->
  926.                         {% endif %}
  927.                         <!-- start part content -->
  928.                         {% if batch and batch.hasCustomPage() %}
  929.                             {% set displayContent = batch.landingPageContent %}
  930.                         {% elseif batch and batch.pitchDescription and batch.pitchDescription|trim != '' %}
  931.                             {% set displayContent = batch.pitchDescription %}
  932.                         {% else %}
  933.                             {% set displayContent = event.content %}
  934.                         {% endif %}
  935.                         {% if showTeaser %}
  936.                             <div class=\"row\">
  937.                                 <div class=\"col-12 px-md-5\">
  938.                                     {{ displayContent|raw }}
  939.                                 </div>
  940.                             </div>
  941.                         {% else %}
  942.                             <div class=\"row\">
  943.                                 <div class=\"col-12 px-md-5\">
  944.                                     <hr>
  945.                                     {{ displayContent|raw }}
  946.                                 </div>
  947.                             </div>
  948.                         {% endif %}
  949.                         <!-- end part content -->
  950.                         {% if settings.batchType is defined and settings.batchType == \"memberDocumentation\" %}
  951.                             <!-- start documentation section -->
  952.                             <div class=\"row\">
  953.                                 <div class=\"col-12 px-md-5\">
  954.                                     {% include \"@StartPlatzEvent/Default/_documentation.batch.html.twig\"%}
  955.                                 </div>
  956.                             </div>
  957.                             <!-- end documentation section -->
  958.                         {% else %}
  959.                             <!-- start part ticketing and registering -->
  960.                             {% if event.ticketing %}
  961.                                 <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
  962.                                 <p>
  963.                                     {{ event.ticketing|raw }}
  964.                                 </p>
  965.                             {% elseif event.applicationUrl and 'startplatz.de' not in event.applicationUrl %}
  966.                                 {# External URL always takes precedence, even with batch #}
  967.                                 <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
  968.                                 {% include \"@StartPlatzEvent/Default/_registration.appicationUrl.html.twig\"%}
  969.                             {% elseif event.applicationUrl and not batch%}
  970.                                 {# Internal startplatz.de URL only when no batch exists #}
  971.                                 <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung</h2>
  972.                                 {% include \"@StartPlatzEvent/Default/_registration.appicationUrl.html.twig\"%}
  973.                             {% elseif event.ctaContent or (settings.doNotshowApplicationSection is defined and settings.doNotshowApplicationSection) %}
  974.                                 <!-- Application Section will not be shown -->
  975.                             {% elseif batch and batchIsOpen %}
  976.                                 {% if batch.priceInEuroCent > 0 %}
  977.                                     {% include \"@StartPlatzEvent/Default/_registration.batch.html.twig\"%}
  978.                                 {% else  %}
  979.                                     {% if settings.isPreRegistration is defined and settings.isPreRegistration %}
  980.                                         {% include \"@StartPlatzEvent/Default/_registration.pre-registration-batch.html.twig\"%}
  981.                                     {% else %}
  982.                                         {% include \"@StartPlatzEvent/Default/_registration.batch.html.twig\"%}
  983.                                     {% endif%}
  984.                                 {% endif %}
  985.                             {% else %}
  986.                                 <h2 id=\"Anmeldung\" class=\"text-center\">Anmeldung nicht möglich</h2>
  987.                             {% endif %}
  988.                             <!-- end part ticketing and registering -->
  989.                         {% endif %}
  990.                         <!-- start cta content -->
  991.                         {% if event.ctaContent %}
  992.                             <div class=\"row\">
  993.                                 <div class=\"col-12 px-md-5\">
  994.                                     {{ include(template_from_string(event.ctaContent)) }}
  995.                                 </div>
  996.                             </div>
  997.                         {% endif %}
  998.                         <!-- end cta content -->
  999.                         <!-- start post cta content -->
  1000.                         {% if event.postCtaContent %}
  1001.                             <div class=\"row\">
  1002.                                 <div class=\"col-12 px-md-5\">
  1003.                                     {{ event.postCtaContent|raw }}
  1004.                                 </div>
  1005.                             </div>
  1006.                         {% endif %}
  1007.                         <!-- end post cta content -->
  1008.                         <!-- start tags -->
  1009.                         <div class=\"row\">
  1010.                             <div class=\"col-12 px-md-5 text-center\">
  1011.                                 {{ layout.hashTagList( event.tags|split('#'), 'events_list', templateVars, 'tmp' ) }}
  1012.                             </div>
  1013.                         </div>
  1014.                         <!-- end tags -->
  1015.                         <!-- start part speakers and partners -->
  1016.                         {% if speakers %}
  1017.                             <div class=\"row\">
  1018.                                 <div class=\"col-12 px-md-5\">
  1019.                                     {% include \"@StartPlatzEvent/Default/_event.part.speakers-and-partners.html.twig\" %}
  1020.                                 </div>
  1021.                             </div>
  1022.                         {% endif %}
  1023.                         <!-- end part speakers and partners -->
  1024.                         <!-- start part past batches -->
  1025.                         {% include \"@StartPlatzEvent/Default/_section.past-batches.html.twig\" with {
  1026.                             'event': event,
  1027.                             'isMultiBatchEvent': isMultiBatchEvent,
  1028.                             'pastBatches': pastBatches,
  1029.                             'isEnglish': isEnglish
  1030.                         } %}
  1031.                         <!-- end part past batches -->
  1032.                         <!-- start part event series -->
  1033.                         {% if event.seriesTag %}
  1034.                             <div class=\"row\">
  1035.                                 <div class=\"col-12 px-md-5\">
  1036.                                     {% include \"@StartPlatzEvent/Default/_event.part.event-series.html.twig\" %}
  1037.                                 </div>
  1038.                             </div>
  1039.                         {% endif %}
  1040.                         <!-- end part event series -->
  1041.                         {% if preview is defined and preview == 'byGuestEditor' %}
  1042.                             <div class=\"row\">
  1043.                                 <a href=\"{{ path('guest_events_add', {'id': event.id}) }}\" class=\"btn btn-success pull-right\" role=\"button\">Zurück zur Event-Seite</a>
  1044.                             </div>
  1045.                         {% endif %}
  1046.                     </div>
  1047.                 </div>
  1048.             </div> <!-- End of content-wrapper -->
  1049.         </div>
  1050.     </section>
  1051.     {% if app.user and batch %}
  1052.         <section class=\"bg-sp-grey pt-1\">
  1053.             <div class=\"container\">
  1054.                 <div class=\"content-wrapper\">
  1055.                     <div class=\"row pt-3 bg-white\">
  1056.                         <div class=\"col-12\">
  1057.                             <div class=\"row\">
  1058.                                 <div class=\"col-12 px-md-5 text-center\">
  1059.                                     <h2>Promote This Event</h2>
  1060.                                     <p>Teile diesen Event-Link und hilf uns, mehr Aufmerksamkeit für dieses Event zu generieren.</p>
  1061.                                     <div class=\"input-group mb-3\">
  1062.                                         <input type=\"text\" class=\"form-control\" id=\"promotionUrl\" readonly value=\"{{ promotionUrl }}\">
  1063.                                         <div class=\"input-group-append\">
  1064.                                             <button class=\"btn btn-outline-secondary\" type=\"button\" onclick=\"copyToClipboard('#promotionUrl')\">Kopieren</button>
  1065.                                         </div>
  1066.                                     </div>
  1067.                                 </div>
  1068.                             </div>
  1069.                         </div>
  1070.                     </div>
  1071.                 </div>
  1072.             </div>
  1073.         </section>
  1074.         <script>
  1075.             function copyToClipboard(elementId) {
  1076.                 var copyText = document.querySelector(elementId);
  1077.                 copyText.select();
  1078.                 document.execCommand(\"copy\");
  1079.             }
  1080.         </script>
  1081.     {% endif %}
  1082.     {% if app.user is defined and application  is defined and application is not null and application.canReadList %}
  1083.             <section class=\"bg-sp-grey pt-3\">
  1084.                 <div class=\"container\">
  1085.                     <div class=\"content-wrapper\">
  1086.                         <div class=\"row pt-3 pb-3 bg-white\">
  1087.                             <div class=\"col-12\">
  1088.                                 Hier kannst Du die Teilnehmerliste einsehen
  1089.                                 <a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
  1090.                             </div>
  1091.                         </div>
  1092.                     </div>
  1093.                 </div>
  1094.             </section>
  1095.     {% endif %}
  1096.     {% if app.user and app.user.email == event.createdBy %}
  1097.         <section class=\"bg-sp-grey pt-3\">
  1098.             <div class=\"container\">
  1099.                 <div class=\"content-wrapper\">
  1100.                     <div class=\"row pt-3 pb-3 bg-white\">
  1101.                         <div class=\"col-12\">
  1102.                             Hier kannst du den Event bearbeiten
  1103.                             <a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('guest_events_edit', {id: event.id} ) }}\" role=\"button\">update</a>
  1104.                             Hier kannst Du die Teilnehmerliste einsehen
  1105.                             <a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
  1106.                         </div>
  1107.                     </div>
  1108.                 </div>
  1109.             </div>
  1110.         </section>
  1111.     {% endif %}
  1112.     {% if app.user is defined %}
  1113.         {% if app.user.admin is defined and app.user.admin %}
  1114.             <section class=\"bg-sp-grey pt-3\">
  1115.                 <div class=\"container\">
  1116.                     <div class=\"content-wrapper\">
  1117.                         <div class=\"row pt-3 bg-white\">
  1118.                             <div class=\"col-12\">
  1119.                                 <div class=\"row\">
  1120.                                     <div class=\"col-12 px-md-5 pb-3 text-center\">
  1121.                                         <a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_show', {id: event.id} ) }}\" role=\"button\">update</a>
  1122.                                         <a class=\"btn btn-outline-dark btn-sm\" href=\"{{ path('admin_event_participants', {id: event.id} ) }}\" role=\"button\">participants</a>
  1123.                                     </div>
  1124.                                     <div class=\"col-12 pb-3 text-center\">
  1125.                                         {{ layout.tagList( event.tags|split('#'), 'events_list', 'btn-success', templateVars, 'tmp' ) }}
  1126.                                     </div>
  1127.                                 </div>
  1128.                             </div>
  1129.                         </div>
  1130.                     </div>
  1131.                 </div>
  1132.             </section>
  1133.         {% endif %}
  1134.     {% endif %}
  1135.     <!-- homepage single event ends -->
  1136. {% endblock %}
  1137. {% block footer %}
  1138.     {% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
  1139. {% endblock %}
  1140. {% block infiniteLoop %}{% endblock %}
  1141. {% block javascriptInfiniteLoop %}{% endblock %}
  1142. ""@StartPlatzEventBundle/Default/event-single.html.twig""/var/www/html/src/StartPlatz/Bundle/EventBundle/Resources/views/Default/event-single.html.twig");
  1143.     }
  1144. }