var/cache/dev/twig/9f/9f6ed6a6ade8b550b62bddf348e56f7d.php line 65

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