var/cache/dev/twig/a3/a3fe0bddf5aa8ee1994b52d4f957fafd.php line 53

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. /* @frontend/public/ideas/ideas_company.html.twig */
  16. class __TwigTemplate_472c2dab28b90d9062e55c310f714530 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.             'content' => [$this'block_content'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  32.     {
  33.         // line 1
  34.         return "@frontend/base_layout.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = []): iterable
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@frontend/public/ideas/ideas_company.html.twig"));
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@frontend/public/ideas/ideas_company.html.twig"));
  43.         $this->parent $this->loadTemplate("@frontend/base_layout.html.twig""@frontend/public/ideas/ideas_company.html.twig"1);
  44.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 3
  51.     /**
  52.      * @return iterable<null|scalar|\Stringable>
  53.      */
  54.     public function block_content(array $context, array $blocks = []): iterable
  55.     {
  56.         $macros $this->macros;
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         yield "    
  62.     <div class=\"container\" style=\"padding: 0px;\">
  63.         <div class=\"col-md-12\">
  64.             <h1>";
  65.         // line 6
  66.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["heading"]) || array_key_exists("heading"$context) ? $context["heading"] : (function () { throw new RuntimeError('Variable "heading" does not exist.'6$this->source); })()), "html"nulltrue);
  67.         yield "</h1>
  68.         </div>
  69.         <div class=\"col-md-12\">
  70.             <p>
  71.                 Sie sind auf der Suche nach Lehrlingen und möchten wissen, wie Sie diese am besten erreichen? Oder Sie möchten Angebote wie berufspraktische Tage, 
  72.                 Betriebserkundungen oder Betriebsbesichtigungen durchführen, wissen aber nicht konkret wie? Oder Sie sind auf der Suche nach Ideen um diese ansprechend 
  73.                 zu gestalten? In Informationsbereich für Unternehmen finden Sie eine Übersicht an grundlegenden Möglichkeiten, um Jugendliche für Ihr Unternehmen 
  74.                 gewinnen zu können. Dort gibt es auch eine Übersicht an Veranstaltungen, die genau auf das “Miteinander-in-Kontakt-treten\" abzielen.  
  75.             </p>
  76.             <p>
  77.                 Möchten Sie Ihr Unternehmen im Rahmen einer Betriebsbesichtigung oder Betriebserkundung Schulklassen vorstellen? In den entsprechenden Kategorien 
  78.                 finden Sie hilfreiche Informationen und Unterlagen, welche Ihnen die Organisation und Durchführung erleichtern sollen.  
  79.             </p>
  80.             <p>            
  81.                 Profitieren Sie als Unternehmen von unserer Informationssammlung und planen und gestalten Sie berufspraktische Tage, Betriebserkundungen oder 
  82.                 Betriebsbesichtigungen um potentielle Lehrlinge und Mitarbeiter*innen erreichen zu können.  
  83.             </p>
  84.         </div>
  85.         <div class=\"col-md-12\">
  86.             ";
  87.         // line 25
  88.         $context['_parent'] = $context;
  89.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'25$this->source); })()));
  90.         $context['loop'] = [
  91.           'parent' => $context['_parent'],
  92.           'index0' => 0,
  93.           'index'  => 1,
  94.           'first'  => true,
  95.         ];
  96.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  97.             $length count($context['_seq']);
  98.             $context['loop']['revindex0'] = $length 1;
  99.             $context['loop']['revindex'] = $length;
  100.             $context['loop']['length'] = $length;
  101.             $context['loop']['last'] = === $length;
  102.         }
  103.         foreach ($context['_seq'] as $context["_key"] => $context["entity"]) {
  104.             // line 26
  105.             yield "                ";
  106.             if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["entity"], "link", [], "any"falsefalsefalse26))) {
  107.                 // line 27
  108.                 yield "                    ";
  109.                 $context["path"] = CoreExtension::getAttribute($this->env$this->source$context["entity"], "link", [], "any"falsefalsefalse27);
  110.                 // line 28
  111.                 yield "                ";
  112.             } else {
  113.                 // line 29
  114.                 yield "                    ";
  115.                 $context["path"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath((isset($context["categoryRoute"]) || array_key_exists("categoryRoute"$context) ? $context["categoryRoute"] : (function () { throw new RuntimeError('Variable "categoryRoute" does not exist.'29$this->source); })()), ["category" => CoreExtension::getAttribute($this->env$this->source$context["entity"], "urlText", [], "any"falsefalsefalse29)]);
  116.                 // line 30
  117.                 yield "                ";
  118.             }
  119.             // line 31
  120.             yield "                ";
  121.             $context["imgUrl"] = $this->extensions['App\Twig\MediaExtensions']->getMediaPublicUrl(CoreExtension::getAttribute($this->env$this->source$context["entity"], "categoryPicture", [], "any"falsefalsefalse31), "reference");
  122.             // line 32
  123.             yield "                ";
  124.             yield from $this->loadTemplate("@frontend/templates/black_box_template.html.twig""@frontend/public/ideas/ideas_company.html.twig"32)->unwrap()->yield(CoreExtension::merge($context, ["target" => CoreExtension::getAttribute($this->env$this->source,             // line 33
  125. $context["entity"], "targetText", [], "any"falsefalsefalse33), "path" =>             // line 34
  126. (isset($context["path"]) || array_key_exists("path"$context) ? $context["path"] : (function () { throw new RuntimeError('Variable "path" does not exist.'34$this->source); })()), "bootstrapClass" => "col-xs-6 col-md-4""colorClass" => CoreExtension::getAttribute($this->env$this->source,             // line 36
  127. $context["entity"], "headingColor", [], "any"falsefalsefalse36), "title" => CoreExtension::getAttribute($this->env$this->source,             // line 37
  128. $context["entity"], "heading", [], "any"falsefalsefalse37), "subtitle" => CoreExtension::getAttribute($this->env$this->source,             // line 38
  129. $context["entity"], "description", [], "any"falsefalsefalse38), "src" =>             // line 39
  130. (isset($context["imgUrl"]) || array_key_exists("imgUrl"$context) ? $context["imgUrl"] : (function () { throw new RuntimeError('Variable "imgUrl" does not exist.'39$this->source); })())]));
  131.             // line 40
  132.             yield "            ";
  133.             ++$context['loop']['index0'];
  134.             ++$context['loop']['index'];
  135.             $context['loop']['first'] = false;
  136.             if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
  137.                 --$context['loop']['revindex0'];
  138.                 --$context['loop']['revindex'];
  139.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  140.             }
  141.         }
  142.         $_parent $context['_parent'];
  143.         unset($context['_seq'], $context['_key'], $context['entity'], $context['_parent'], $context['loop']);
  144.         $context array_intersect_key($context$_parent) + $_parent;
  145.         // line 41
  146.         yield "        </div>
  147.         ";
  148.         // line 42
  149.         if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["entities"]) || array_key_exists("entities"$context) ? $context["entities"] : (function () { throw new RuntimeError('Variable "entities" does not exist.'42$this->source); })())) < 1)) {
  150.             // line 43
  151.             yield "            <div class=\"col-md-12\" style=\"min-height: 370px;\">
  152.                 <p style=\"margin-top: 40px;\">Aktuell sind noch keine Einträge vorhanden</p>
  153.             </div>                 
  154.         ";
  155.         }
  156.         // line 47
  157.         yield "    </div>
  158.     <div class=\"footer-spacer\"></div>
  159. ";
  160.         
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  162.         
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164.         yield from [];
  165.     }
  166.     /**
  167.      * @codeCoverageIgnore
  168.      */
  169.     public function getTemplateName(): string
  170.     {
  171.         return "@frontend/public/ideas/ideas_company.html.twig";
  172.     }
  173.     /**
  174.      * @codeCoverageIgnore
  175.      */
  176.     public function isTraitable(): bool
  177.     {
  178.         return false;
  179.     }
  180.     /**
  181.      * @codeCoverageIgnore
  182.      */
  183.     public function getDebugInfo(): array
  184.     {
  185.         return array (  171 => 47,  165 => 43,  163 => 42,  160 => 41,  146 => 40,  144 => 39,  143 => 38,  142 => 37,  141 => 36,  140 => 34,  139 => 33,  137 => 32,  134 => 31,  131 => 30,  128 => 29,  125 => 28,  122 => 27,  119 => 26,  102 => 25,  80 => 6,  63 => 3,  40 => 1,);
  186.     }
  187.     public function getSourceContext(): Source
  188.     {
  189.         return new Source("{% extends \"@frontend/base_layout.html.twig\" %}
  190. {% block content %}    
  191.     <div class=\"container\" style=\"padding: 0px;\">
  192.         <div class=\"col-md-12\">
  193.             <h1>{{ heading }}</h1>
  194.         </div>
  195.         <div class=\"col-md-12\">
  196.             <p>
  197.                 Sie sind auf der Suche nach Lehrlingen und möchten wissen, wie Sie diese am besten erreichen? Oder Sie möchten Angebote wie berufspraktische Tage, 
  198.                 Betriebserkundungen oder Betriebsbesichtigungen durchführen, wissen aber nicht konkret wie? Oder Sie sind auf der Suche nach Ideen um diese ansprechend 
  199.                 zu gestalten? In Informationsbereich für Unternehmen finden Sie eine Übersicht an grundlegenden Möglichkeiten, um Jugendliche für Ihr Unternehmen 
  200.                 gewinnen zu können. Dort gibt es auch eine Übersicht an Veranstaltungen, die genau auf das “Miteinander-in-Kontakt-treten\" abzielen.  
  201.             </p>
  202.             <p>
  203.                 Möchten Sie Ihr Unternehmen im Rahmen einer Betriebsbesichtigung oder Betriebserkundung Schulklassen vorstellen? In den entsprechenden Kategorien 
  204.                 finden Sie hilfreiche Informationen und Unterlagen, welche Ihnen die Organisation und Durchführung erleichtern sollen.  
  205.             </p>
  206.             <p>            
  207.                 Profitieren Sie als Unternehmen von unserer Informationssammlung und planen und gestalten Sie berufspraktische Tage, Betriebserkundungen oder 
  208.                 Betriebsbesichtigungen um potentielle Lehrlinge und Mitarbeiter*innen erreichen zu können.  
  209.             </p>
  210.         </div>
  211.         <div class=\"col-md-12\">
  212.             {% for entity in entities %}
  213.                 {% if entity.link is not empty %}
  214.                     {% set path=entity.link %}
  215.                 {% else %}
  216.                     {% set path=path(categoryRoute, {'category':entity.urlText}) %}
  217.                 {% endif %}
  218.                 {% set imgUrl = media_public_url(entity.categoryPicture, 'reference') %}
  219.                 {% include '@frontend/templates/black_box_template.html.twig' with {
  220.                     'target': entity.targetText,
  221.                     'path': path, 
  222.                     'bootstrapClass':'col-xs-6 col-md-4', 
  223.                     'colorClass': entity.headingColor, 
  224.                     'title': entity.heading, 
  225.                     'subtitle': entity.description, 
  226.                     'src': imgUrl } %}
  227.             {% endfor %}
  228.         </div>
  229.         {% if entities|length < 1 %}
  230.             <div class=\"col-md-12\" style=\"min-height: 370px;\">
  231.                 <p style=\"margin-top: 40px;\">Aktuell sind noch keine Einträge vorhanden</p>
  232.             </div>                 
  233.         {% endif %}
  234.     </div>
  235.     <div class=\"footer-spacer\"></div>
  236. {% endblock %}
  237. ""@frontend/public/ideas/ideas_company.html.twig""/data/web/berufsreise/home/site/web/templates/frontend/public/ideas/ideas_company.html.twig");
  238.     }
  239. }