var/cache/dev/twig/00/00fbda58aebc9f6db42960c69dd50181.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. /* @StartPlatzAlphaBundle/Startup/single.homepage.html.twig */
  16. class __TwigTemplate_6dbce1c889a3bc3087c0f0cad1d718b7 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.             'javascripts' => [$this'block_javascripts'],
  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""@StartPlatzAlphaBundle/Startup/single.homepage.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""@StartPlatzAlphaBundle/Startup/single.homepage.html.twig"));
  50.         // line 2
  51.         $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.'2$this->source); })()), "request", [], "any"falsefalsefalse2), "get", ["_route"], "method"falsefalsefalse2);
  52.         // line 4
  53.         $context["entity"] = ["seoDescription" => Twig\Extension\CoreExtension::striptags(CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'4$this->source); })()), "oneSentencePitch", [], "any"falsefalsefalse4))];
  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.         yield from $this->load("@StartPlatzStyleBundle/_metaData.html.twig"5)->unwrap()->yield(CoreExtension::merge($context, ["seoDescription" => CoreExtension::getAttribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'5$this->source); })()), "seoDescription", [], "any"falsefalsefalse5)]));
  74.         
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  76.         
  77.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  78.         yield from [];
  79.     }
  80.     // line 7
  81.     /**
  82.      * @return iterable<null|scalar|\Stringable>
  83.      */
  84.     public function block_additionalHead(array $context, array $blocks = []): iterable
  85.     {
  86.         $macros $this->macros;
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  90.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""additionalHead"));
  91.         // line 8
  92.         yield "    ";
  93.         yield from $this->load("@StartPlatzStyle/CSS/_sp-connect.version-2021-winter.html.twig"8)->unwrap()->yield($context);
  94.         
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.         yield from [];
  99.     }
  100.     // line 11
  101.     /**
  102.      * @return iterable<null|scalar|\Stringable>
  103.      */
  104.     public function block_navigation(array $context, array $blocks = []): iterable
  105.     {
  106.         $macros $this->macros;
  107.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  109.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  110.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""navigation"));
  111.         // line 12
  112.         yield "    ";
  113.         yield from $this->load("@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig"12)->unwrap()->yield($context);
  114.         
  115.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  116.         
  117.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  118.         yield from [];
  119.     }
  120.     // line 15
  121.     /**
  122.      * @return iterable<null|scalar|\Stringable>
  123.      */
  124.     public function block_title(array $context, array $blocks = []): iterable
  125.     {
  126.         $macros $this->macros;
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  131.         yield "Startup ";
  132.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'15$this->source); })()), "name", [], "any"falsefalsefalse15), "html"nulltrue);
  133.         
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  135.         
  136.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  137.         yield from [];
  138.     }
  139.     // line 17
  140.     /**
  141.      * @return iterable<null|scalar|\Stringable>
  142.      */
  143.     public function block_content(array $context, array $blocks = []): iterable
  144.     {
  145.         $macros $this->macros;
  146.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  150.         // line 18
  151.         yield "    ";
  152.         $context["targetUrl"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_team_show", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["team"]) || array_key_exists("team"$context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.'18$this->source); })()), "id", [], "any"falsefalsefalse18), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'18$this->source); })()), "slug", [], "any"falsefalsefalse18)]);
  153.         // line 19
  154.         yield "    ";
  155.         if ((($tmp =  !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse19), "email", [], "any"truetruefalse19)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  156.             // line 20
  157.             yield "        ";
  158.             $context["targetPath"] = (isset($context["targetUrl"]) || array_key_exists("targetUrl"$context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.'20$this->source); })());
  159.             // line 21
  160.             yield "        ";
  161.             $context["targetUrl"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("x_membership_required_modal", ["lang" => (isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'21$this->source); })()), "targetPath" => (isset($context["targetPath"]) || array_key_exists("targetPath"$context) ? $context["targetPath"] : (function () { throw new RuntimeError('Variable "targetPath" does not exist.'21$this->source); })())]);
  162.             // line 22
  163.             yield "    ";
  164.         }
  165.         // line 23
  166.         yield "
  167.     ";
  168.         // line 25
  169.         yield "    ";
  170.         if ((($tmp =  !(null === CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'25$this->source); })()), "imageLink", [], "any"falsefalsefalse25))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  171.             // line 26
  172.             yield "        <section class=\"headerImgPlaceholder\">
  173.             <img class=\"banner-flex-width\" src=\"";
  174.             // line 27
  175.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'27$this->source); })()), "imageLink", [], "any"falsefalsefalse27), "html"nulltrue);
  176.             yield "\" style=\"width:100%;\"
  177.                  alt=\" \">
  178.         </section>
  179.     ";
  180.         }
  181.         // line 31
  182.         yield "    ";
  183.         if ((null === CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'31$this->source); })()), "imageLink", [], "any"falsefalsefalse31))) {
  184.             // line 32
  185.             yield "        <section class=\"headerImgPlaceholder placeholder-addition\">
  186.             <img class=\"placeholder-banner-flex-width connect\"
  187.                  src=\"https://res.cloudinary.com/startplatz/image/upload/v1683121186/banners/header_wide_gray.png\"
  188.                  alt=\" \">
  189.         </section>
  190.         <div class=\"container-fluid placeholder-banner-text\">
  191.             <div class=\"row justify-content-center\">
  192.                 <h2 class=\"text-black text p-0 m-0\" style=\"font-size: 45px; font-weight: bold\">
  193.                     ";
  194.             // line 40
  195.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'40$this->source); })()), "name", [], "any"falsefalsefalse40), "html"nulltrue);
  196.             yield "
  197.                 </h2>
  198.             </div>
  199.         </div>
  200.     ";
  201.         }
  202.         // line 45
  203.         yield "    <section class=\"container-fluid m-0 p-0 mt-4\">
  204.         <div class=\"ml-0 mt-3 mb-5 mb-md-1 pb-2 pb-md-0\">
  205.             <div class=\"d-flex row mx-0 mx-md-2 justify-content-md-end justify-content-center\">
  206.                 <div>
  207.                     <div>
  208.                         <a class=\"btn btn-startplatz col-11 mb-2 mt-1\" style=\"width:280px\"
  209.                            href=\"";
  210.         // line 51
  211.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["targetUrl"]) || array_key_exists("targetUrl"$context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.'51$this->source); })()), "html"nulltrue);
  212.         yield "\" ";
  213.         if ((($tmp =  !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse51), "email", [], "any"truetruefalse51)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  214.             yield " data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" ";
  215.         }
  216.         yield ">
  217.                             view startup in sp-connect
  218.                         </a>
  219.                     </div>
  220.                     <div>
  221.                         <a class=\"btn btn-startplatz col-11 mb-2\" style=\"width:280px\"
  222.                                 ";
  223.         // line 57
  224.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse57), "email", [], "any"truetruefalse57)) {
  225.             yield " href=\"";
  226.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_team_contact", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["team"]) || array_key_exists("team"$context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.'57$this->source); })()), "id", [], "any"falsefalsefalse57), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl"$context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.'57$this->source); })())]), "html"nulltrue);
  227.             yield "\"";
  228.         } else {
  229.             yield " href=\"";
  230.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["targetUrl"]) || array_key_exists("targetUrl"$context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.'57$this->source); })()), "html"nulltrue);
  231.             yield "\" data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" ";
  232.         }
  233.         yield ">
  234.                             Get in contact
  235.                         </a>
  236.                     </div>
  237.                     ";
  238.         // line 62
  239.         yield "                    ";
  240.         if (((isset($context["allowEdit"]) || array_key_exists("allowEdit"$context) ? $context["allowEdit"] : (function () { throw new RuntimeError('Variable "allowEdit" does not exist.'62$this->source); })()) == true)) {
  241.             // line 63
  242.             yield "                        <div class=\"dropdown\">
  243.                             <button class=\"btn btn-startplatz dropdown-toggle col-11 mb-2\"
  244.                                     type=\"button\"
  245.                                     id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
  246.                                     aria-expanded=\"false\">
  247.                                 Edit options (Owner or Admin)
  248.                             </button>
  249.                             <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
  250.                                 <a class=\"dropdown-item\"
  251.                                    href=\"";
  252.             // line 72
  253.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("x_post_edit", ["id" => "new""tag" => CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'72$this->source); })()), "slug", [], "any"falsefalsefalse72), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl"$context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.'72$this->source); })())]), "html"nulltrue);
  254.             yield "\">
  255.                                     Create Post
  256.                                 </a>
  257.                                 ";
  258.             // line 76
  259.             yield "                                ";
  260.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'76$this->source); })()), "slug", [], "any"falsefalsefalse76)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  261.                 // line 77
  262.                 yield "                                    <a class=\"dropdown-item\"
  263.                                        href=\"";
  264.                 // line 78
  265.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_startup_show", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'78$this->source); })()), "id", [], "any"falsefalsefalse78), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'78$this->source); })()), "slug", [], "any"falsefalsefalse78), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl"$context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.'78$this->source); })())]), "html"nulltrue);
  266.                 yield "\">
  267.                                         Update Startup
  268.                                     </a>
  269.                                 ";
  270.             }
  271.             // line 82
  272.             yield "                            </div>
  273.                         </div>
  274.                     ";
  275.         }
  276.         // line 85
  277.         yield "                    ";
  278.         // line 86
  279.         yield "                    ";
  280.         if ((($tmp $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  281.             // line 87
  282.             yield "                        <div class=\"dropdown\">
  283.                             <button class=\"btn btn-warning dropdown-toggle col-11 mb-2\"
  284.                                     type=\"button\"
  285.                                     id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
  286.                                     aria-expanded=\"false\">
  287.                                 Edit options (SP admin)
  288.                             </button>
  289.                             <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
  290.                                 <a class=\"dropdown-item\"
  291.                                    href=\"";
  292.             // line 97
  293.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("x_post_edit", ["id" => "new""tag" => CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'97$this->source); })()), "slug", [], "any"falsefalsefalse97), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl"$context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.'97$this->source); })())]), "html"nulltrue);
  294.             yield "\">
  295.                                     Create Post
  296.                                 </a>
  297.                                 ";
  298.             // line 101
  299.             yield "
  300.                                 ";
  301.             // line 102
  302.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'102$this->source); })()), "slug", [], "any"falsefalsefalse102)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  303.                 // line 103
  304.                 yield "
  305.                                     <a class=\"dropdown-item\"
  306.                                        href=\"";
  307.                 // line 105
  308.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("connect_startup_show", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'105$this->source); })()), "id", [], "any"falsefalsefalse105), "slug" => CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'105$this->source); })()), "slug", [], "any"falsefalsefalse105), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl"$context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.'105$this->source); })())]), "html"nulltrue);
  309.                 yield "\">
  310.                                         Update Startup
  311.                                     </a>
  312.                                 ";
  313.             }
  314.             // line 109
  315.             yield "
  316.                                 ";
  317.             // line 111
  318.             yield "                                <a href=\"";
  319.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("allmeda_team_show", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["team"]) || array_key_exists("team"$context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.'111$this->source); })()), "id", [], "any"falsefalsefalse111), "redirect" => (isset($context["redirectUrl"]) || array_key_exists("redirectUrl"$context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.'111$this->source); })())]), "html"nulltrue);
  320.             yield "\"
  321.                                    class=\"dropdown-item\" role=\"button\">
  322.                                     Update Team in Allmeda
  323.                                 </a>
  324.                             </div>
  325.                         </div>
  326.                     ";
  327.         }
  328.         // line 118
  329.         yield "                </div>
  330.             </div>
  331.         </div>
  332.         <div class=\"connectCard row d-flex shadow m-0 p-0 px-md-5 pb-2 pr-0 justify-content-around\">
  333.             <div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\" style=\"flex:1\">
  334.                 ";
  335.         // line 123
  336.         yield from $this->load("@StartPlatzAlphaBundle/Team/_widget.team.about.html.twig"123)->unwrap()->yield(CoreExtension::merge($context, ["description" => (((($tmp CoreExtension::getAttribute($this->env$this->source,         // line 124
  337. (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'124$this->source); })()), "oneSentencePitch", [], "any"falsefalsefalse124)) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? (CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'124$this->source); })()), "oneSentencePitch", [], "any"falsefalsefalse124)) : (CoreExtension::getAttribute($this->env$this->source, (isset($context["team"]) || array_key_exists("team"$context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.'124$this->source); })()), "description", [], "any"falsefalsefalse124)))]));
  338.         // line 126
  339.         yield "            </div>
  340.         </div>
  341.         <div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\">
  342.             <div class=\"container-fluid mt-4 mb-0 mx-0 px-0\">
  343.                 <h2><span class=\"spGreen\">MEET </span>our team</h2>
  344.                 <div>
  345.                     <a class=\"btn btn-startplatz aligncenter col-11 mb-2 mt-1 ml-2\" style=\"width:280px\"
  346.                        href=\"";
  347.         // line 133
  348.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["targetUrl"]) || array_key_exists("targetUrl"$context) ? $context["targetUrl"] : (function () { throw new RuntimeError('Variable "targetUrl" does not exist.'133$this->source); })()), "html"nulltrue);
  349.         yield "\" ";
  350.         if ((($tmp =  !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["app"] ?? null), "user", [], "any"falsetruefalse133), "email", [], "any"truetruefalse133)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  351.             yield " data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" ";
  352.         }
  353.         yield ">
  354.                         view in sp-connect
  355.                     </a>
  356.                 </div>
  357.             </div>
  358.         </div>
  359.         ";
  360.         // line 149
  361.         yield "
  362.         ";
  363.         // line 150
  364.         if (((isset($context["feedItems"]) || array_key_exists("feedItems"$context) ? $context["feedItems"] : (function () { throw new RuntimeError('Variable "feedItems" does not exist.'150$this->source); })()) || CoreExtension::getAttribute($this->env$this->source, (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'150$this->source); })()), "twitter", [], "any"falsefalsefalse150))) {
  365.             // line 151
  366.             yield "            <div class=\"row m-2 px-md-5 m-md-auto mx-xs-1 justify-content-between team-section\">
  367.                 ";
  368.             // line 152
  369.             yield from $this->load("@StartPlatzAlphaBundle/Team/_widget.team.feed.html.twig"152)->unwrap()->yield(CoreExtension::merge($context, ["twitter" => CoreExtension::getAttribute($this->env$this->source,             // line 153
  370. (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'153$this->source); })()), "twitter", [], "any"falsefalsefalse153), "name" => CoreExtension::getAttribute($this->env$this->source,             // line 154
  371. (isset($context["startup"]) || array_key_exists("startup"$context) ? $context["startup"] : (function () { throw new RuntimeError('Variable "startup" does not exist.'154$this->source); })()), "name", [], "any"falsefalsefalse154)]));
  372.             // line 156
  373.             yield "            </div>
  374.         ";
  375.         }
  376.         // line 158
  377.         yield "
  378.     </section>
  379. ";
  380.         
  381.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  382.         
  383.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  384.         yield from [];
  385.     }
  386.     // line 162
  387.     /**
  388.      * @return iterable<null|scalar|\Stringable>
  389.      */
  390.     public function block_footer(array $context, array $blocks = []): iterable
  391.     {
  392.         $macros $this->macros;
  393.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  394.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  395.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  396.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  397.         // line 163
  398.         yield "        ";
  399.         yield from $this->load("@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig"163)->unwrap()->yield($context);
  400.         // line 164
  401.         yield "    ";
  402.         
  403.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  404.         
  405.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  406.         yield from [];
  407.     }
  408.     // line 166
  409.     /**
  410.      * @return iterable<null|scalar|\Stringable>
  411.      */
  412.     public function block_infiniteLoop(array $context, array $blocks = []): iterable
  413.     {
  414.         $macros $this->macros;
  415.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  416.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  417.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""infiniteLoop"));
  419.         // line 167
  420.         yield "    ";
  421.         
  422.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  423.         
  424.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  425.         yield from [];
  426.     }
  427.     // line 169
  428.     /**
  429.      * @return iterable<null|scalar|\Stringable>
  430.      */
  431.     public function block_javascripts(array $context, array $blocks = []): iterable
  432.     {
  433.         $macros $this->macros;
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  435.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  436.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  437.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  438.         
  439.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  440.         
  441.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  442.         yield from [];
  443.     }
  444.     /**
  445.      * @codeCoverageIgnore
  446.      */
  447.     public function getTemplateName(): string
  448.     {
  449.         return "@StartPlatzAlphaBundle/Startup/single.homepage.html.twig";
  450.     }
  451.     /**
  452.      * @codeCoverageIgnore
  453.      */
  454.     public function isTraitable(): bool
  455.     {
  456.         return false;
  457.     }
  458.     /**
  459.      * @codeCoverageIgnore
  460.      */
  461.     public function getDebugInfo(): array
  462.     {
  463.         return array (  476 => 169,  465 => 167,  452 => 166,  441 => 164,  438 => 163,  425 => 162,  412 => 158,  408 => 156,  406 => 154,  405 => 153,  404 => 152,  401 => 151,  399 => 150,  396 => 149,  383 => 133,  374 => 126,  372 => 124,  371 => 123,  364 => 118,  353 => 111,  350 => 109,  343 => 105,  339 => 103,  337 => 102,  334 => 101,  328 => 97,  316 => 87,  313 => 86,  311 => 85,  306 => 82,  299 => 78,  296 => 77,  293 => 76,  287 => 72,  276 => 63,  273 => 62,  258 => 57,  245 => 51,  237 => 45,  229 => 40,  219 => 32,  216 => 31,  209 => 27,  206 => 26,  203 => 25,  200 => 23,  197 => 22,  194 => 21,  191 => 20,  188 => 19,  185 => 18,  172 => 17,  148 => 15,  136 => 12,  123 => 11,  111 => 8,  98 => 7,  75 => 5,  64 => 1,  62 => 4,  60 => 2,  47 => 1,);
  464.     }
  465.     public function getSourceContext(): Source
  466.     {
  467.         return new Source("{% extends \"@StartPlatzStyleBundle/Bootstrap4/base.homepage.with-sections.html.twig\" %}
  468. {% set currentPath = app.request.get('_route') %}
  469. {% set entity = {'seoDescription':startup.oneSentencePitch|striptags} %}
  470. {% block metaData %}{% include \"@StartPlatzStyleBundle/_metaData.html.twig\" with {'seoDescription':entity.seoDescription} %}{% endblock %}
  471. {% block additionalHead %}
  472.     {% include \"@StartPlatzStyle/CSS/_sp-connect.version-2021-winter.html.twig\" %}
  473. {% endblock %}
  474. {% block navigation %}
  475.     {% include \"@StartPlatzStyleBundle/Navigation/_nav.homepage.bootstrap4.html.twig\" %}
  476. {% endblock %}
  477. {% block title %}Startup {{ startup.name }}{% endblock %}
  478. {% block content %}
  479.     {% set targetUrl = path('connect_team_show', {'id': team.id, 'slug': startup.slug}) %}
  480.     {% if app.user.email is not defined %}
  481.         {% set targetPath = targetUrl %}
  482.         {% set targetUrl = path('x_membership_required_modal', {'lang':lang, 'targetPath': targetPath}) %}
  483.     {% endif %}
  484.     {#  header #}
  485.     {% if startup.imageLink is not null %}
  486.         <section class=\"headerImgPlaceholder\">
  487.             <img class=\"banner-flex-width\" src=\"{{ startup.imageLink }}\" style=\"width:100%;\"
  488.                  alt=\" \">
  489.         </section>
  490.     {% endif %}
  491.     {% if startup.imageLink is null %}
  492.         <section class=\"headerImgPlaceholder placeholder-addition\">
  493.             <img class=\"placeholder-banner-flex-width connect\"
  494.                  src=\"https://res.cloudinary.com/startplatz/image/upload/v1683121186/banners/header_wide_gray.png\"
  495.                  alt=\" \">
  496.         </section>
  497.         <div class=\"container-fluid placeholder-banner-text\">
  498.             <div class=\"row justify-content-center\">
  499.                 <h2 class=\"text-black text p-0 m-0\" style=\"font-size: 45px; font-weight: bold\">
  500.                     {{ startup.name }}
  501.                 </h2>
  502.             </div>
  503.         </div>
  504.     {% endif %}
  505.     <section class=\"container-fluid m-0 p-0 mt-4\">
  506.         <div class=\"ml-0 mt-3 mb-5 mb-md-1 pb-2 pb-md-0\">
  507.             <div class=\"d-flex row mx-0 mx-md-2 justify-content-md-end justify-content-center\">
  508.                 <div>
  509.                     <div>
  510.                         <a class=\"btn btn-startplatz col-11 mb-2 mt-1\" style=\"width:280px\"
  511.                            href=\"{{ targetUrl }}\" {% if not app.user.email is defined %} data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" {% endif %}>
  512.                             view startup in sp-connect
  513.                         </a>
  514.                     </div>
  515.                     <div>
  516.                         <a class=\"btn btn-startplatz col-11 mb-2\" style=\"width:280px\"
  517.                                 {% if app.user.email is defined %} href=\"{{ path('connect_team_contact', {id: team.id, redirect: redirectUrl}) }}\"{% else %} href=\"{{ targetUrl }}\" data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" {% endif %}>
  518.                             Get in contact
  519.                         </a>
  520.                     </div>
  521.                     {# administration by startup - only for owner and admins of that startup ------------------------------------ #}
  522.                     {% if allowEdit == true %}
  523.                         <div class=\"dropdown\">
  524.                             <button class=\"btn btn-startplatz dropdown-toggle col-11 mb-2\"
  525.                                     type=\"button\"
  526.                                     id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
  527.                                     aria-expanded=\"false\">
  528.                                 Edit options (Owner or Admin)
  529.                             </button>
  530.                             <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
  531.                                 <a class=\"dropdown-item\"
  532.                                    href=\"{{ path('x_post_edit', {'id':'new','tag':startup.slug, 'redirect': redirectUrl}) }}\">
  533.                                     Create Post
  534.                                 </a>
  535.                                 {# Update Startup / team #}
  536.                                 {% if startup.slug %}
  537.                                     <a class=\"dropdown-item\"
  538.                                        href=\"{{ path('connect_startup_show', {id: startup.id, 'slug':startup.slug, redirect: redirectUrl}) }}\">
  539.                                         Update Startup
  540.                                     </a>
  541.                                 {% endif %}
  542.                             </div>
  543.                         </div>
  544.                     {% endif %}
  545.                     {# administration  by STARTPLATZ admins -------------------------------- #}
  546.                     {% if is_granted(\"ROLE_ADMIN\") %}
  547.                         <div class=\"dropdown\">
  548.                             <button class=\"btn btn-warning dropdown-toggle col-11 mb-2\"
  549.                                     type=\"button\"
  550.                                     id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\"
  551.                                     aria-expanded=\"false\">
  552.                                 Edit options (SP admin)
  553.                             </button>
  554.                             <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\">
  555.                                 <a class=\"dropdown-item\"
  556.                                    href=\"{{ path('x_post_edit', {'id':'new','tag':startup.slug, 'redirect': redirectUrl}) }}\">
  557.                                     Create Post
  558.                                 </a>
  559.                                 {# Update Startup / team #}
  560.                                 {% if startup.slug %}
  561.                                     <a class=\"dropdown-item\"
  562.                                        href=\"{{ path('connect_startup_show', {id: startup.id, 'slug':startup.slug, redirect: redirectUrl}) }}\">
  563.                                         Update Startup
  564.                                     </a>
  565.                                 {% endif %}
  566.                                 {# Update team in allmeda #}
  567.                                 <a href=\"{{ path('allmeda_team_show', {'id':team.id, redirect: redirectUrl}) }}\"
  568.                                    class=\"dropdown-item\" role=\"button\">
  569.                                     Update Team in Allmeda
  570.                                 </a>
  571.                             </div>
  572.                         </div>
  573.                     {% endif %}
  574.                 </div>
  575.             </div>
  576.         </div>
  577.         <div class=\"connectCard row d-flex shadow m-0 p-0 px-md-5 pb-2 pr-0 justify-content-around\">
  578.             <div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\" style=\"flex:1\">
  579.                 {% include \"@StartPlatzAlphaBundle/Team/_widget.team.about.html.twig\" with {
  580.                     'description' : startup.oneSentencePitch ? startup.oneSentencePitch : team.description,
  581.                 } %}
  582.             </div>
  583.         </div>
  584.         <div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\">
  585.             <div class=\"container-fluid mt-4 mb-0 mx-0 px-0\">
  586.                 <h2><span class=\"spGreen\">MEET </span>our team</h2>
  587.                 <div>
  588.                     <a class=\"btn btn-startplatz aligncenter col-11 mb-2 mt-1 ml-2\" style=\"width:280px\"
  589.                        href=\"{{ targetUrl }}\" {% if not app.user.email is defined %} data-remote=\"false\" data-toggle=\"modal\" data-target=\"#myLargeModal\" {% endif %}>
  590.                         view in sp-connect
  591.                     </a>
  592.                 </div>
  593.             </div>
  594.         </div>
  595.         {# don't display team members on homepage
  596.     {% if team.members|length > 0 %}
  597.         <div class=\"row m-2 px-md-5 mx-md-auto justify-content-around team-section\">
  598.             {% include \"@StartPlatzAlphaBundle/Team/_widget.team.ourteam.html.twig\" with {
  599.                 'maxMembers' : 14,
  600.                 'memberWidget' : '@StartPlatzAlphaBundle/Member/homepage.startup.member.widget.html.twig'
  601.             } %}
  602.         </div>
  603.     {% endif %}
  604.         #}
  605.         {% if feedItems or startup.twitter %}
  606.             <div class=\"row m-2 px-md-5 m-md-auto mx-xs-1 justify-content-between team-section\">
  607.                 {% include \"@StartPlatzAlphaBundle/Team/_widget.team.feed.html.twig\" with {
  608.                     'twitter' : startup.twitter,
  609.                     'name' : startup.name,
  610.                 } %}
  611.             </div>
  612.         {% endif %}
  613.     </section>
  614. {% endblock %}
  615.     {% block footer %}
  616.         {% include '@StartPlatzWebsiteBundle/Default/footerBootstrap40.html.twig' %}
  617.     {% endblock %}
  618.     {% block infiniteLoop %}
  619.     {% endblock %}
  620.     {% block javascripts %}{% endblock %}
  621. ""@StartPlatzAlphaBundle/Startup/single.homepage.html.twig""/var/www/html/src/StartPlatz/Bundle/AlphaBundle/Resources/views/Startup/single.homepage.html.twig");
  622.     }
  623. }