var/cache/dev/twig/ca/ca7b77ff51d18a552f6f037b244d9f46.php line 52

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