var/cache/dev/twig/d0/d05befbbae1f8d81971f0db94588c8c6.php line 44

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. /* @BoldrJobs/job-offer.html.twig */
  16. class __TwigTemplate_fffbaec45064eb5b5376933e2636838e 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.             'body' => [$this'block_body'],
  29.             'head' => [$this'block_head'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "@!BoldrJobs/job-offer.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BoldrJobs/job-offer.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@BoldrJobs/job-offer.html.twig"));
  44.         $this->parent $this->loadTemplate("@!BoldrJobs/job-offer.html.twig""@BoldrJobs/job-offer.html.twig"1);
  45.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     /**
  53.      * @return iterable<null|scalar|\Stringable>
  54.      */
  55.     public function block_body(array $context, array $blocks = []): iterable
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  62.         // line 4
  63.         yield "
  64.     <div class=\"boldr-section hb-header hb-header-small\">
  65.         <img class=\"hb-header-background\" src=\"";
  66.         // line 6
  67.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Boldr\Cms\CmsBundle\Twig\TwigExtension']->getUploadUrl($this->extensions['Boldr\Cms\SiteOptionsBundle\TwigExtension']->getSiteOption($context"default_header_image"), "hb_header_small"), "html"nulltrue);
  68.         yield "\" />
  69.     </div>
  70.     <div class=\"boldr-section boldr-content boldr-content-alignment-full\" style=\"margin-top: -173.5px;\">
  71.         <div class=\"boldr-content-wrapper\">
  72.             <div class=\"boldr-section-heading\">
  73.                 <a class=\"hb-return-link\" href=\"";
  74.         // line 15
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Boldr\Cms\CmsBundle\Twig\TwigExtension']->getPermalink($this->extensions['Boldr\Cms\SiteOptionsBundle\TwigExtension']->getSiteOption($context"job_offers_page")), "html"nulltrue);
  76.         yield "\">
  77.                     <i class=\"icon-arrow-left\"></i>
  78.                     Terug naar het overzicht
  79.                 </a>
  80.                 ";
  81.         // line 19
  82.         yield from $this->loadTemplate("@BoldrCms/section-templates/heading.html.twig""@BoldrJobs/job-offer.html.twig"19)->unwrap()->yield(CoreExtension::merge($context, ["heading" => CoreExtension::getAttribute($this->env$this->source,         // line 20
  83. (isset($context["jobOffer"]) || array_key_exists("jobOffer"$context) ? $context["jobOffer"] : (function () { throw new RuntimeError('Variable "jobOffer" does not exist.'20$this->source); })()), "title", [], "any"falsefalsefalse20), "subheading" => """style" => "default"]));
  84.         // line 24
  85.         yield "                <span>
  86.                     <i class=\"icon-time\"></i>
  87.                     ";
  88.         // line 26
  89.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env$this->source, (isset($context["jobOffer"]) || array_key_exists("jobOffer"$context) ? $context["jobOffer"] : (function () { throw new RuntimeError('Variable "jobOffer" does not exist.'26$this->source); })()), "minHours", [], "any"falsefalsefalse26) . (((CoreExtension::getAttribute($this->env$this->source, (isset($context["jobOffer"]) || array_key_exists("jobOffer"$context) ? $context["jobOffer"] : (function () { throw new RuntimeError('Variable "jobOffer" does not exist.'26$this->source); })()), "minHours", [], "any"falsefalsefalse26) != CoreExtension::getAttribute($this->env$this->source, (isset($context["jobOffer"]) || array_key_exists("jobOffer"$context) ? $context["jobOffer"] : (function () { throw new RuntimeError('Variable "jobOffer" does not exist.'26$this->source); })()), "maxHours", [], "any"falsefalsefalse26))) ? (("-" CoreExtension::getAttribute($this->env$this->source, (isset($context["jobOffer"]) || array_key_exists("jobOffer"$context) ? $context["jobOffer"] : (function () { throw new RuntimeError('Variable "jobOffer" does not exist.'26$this->source); })()), "maxHours", [], "any"falsefalsefalse26))) : (""))), "html"nulltrue);
  90.         yield " uur
  91.                 </span>
  92.             </div>
  93.         </div>
  94.     </div>
  95.     <div class=\"boldr-job-offer\">
  96.         ";
  97.         // line 37
  98.         yield from         $this->unwrap()->yieldBlock("description"$context$blocks);
  99.         yield "
  100.         ";
  101.         // line 39
  102.         yield from         $this->unwrap()->yieldBlock("requirements"$context$blocks);
  103.         yield "
  104.         <a href=\"mailto:";
  105.         // line 41
  106.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Boldr\Cms\SiteOptionsBundle\TwigExtension']->getSiteOption($context"job_application_email"), "html"nulltrue);
  107.         yield "\" class=\"boldr-jobs-apply boldr-button boldr-button-filled boldr-button-medium\">
  108.             Solliciteer direct
  109.         </a>
  110.     </div>
  111. ";
  112.         
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114.         
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  116.         yield from [];
  117.     }
  118.     // line 47
  119.     /**
  120.      * @return iterable<null|scalar|\Stringable>
  121.      */
  122.     public function block_head(array $context, array $blocks = []): iterable
  123.     {
  124.         $macros $this->macros;
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  129.         // line 48
  130.         yield "    <link rel=\"stylesheet\" href=\"";
  131.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/boldrjobs/job-offer.css"), "html"nulltrue);
  132.         yield "\" />
  133. ";
  134.         
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  136.         
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  138.         yield from [];
  139.     }
  140.     /**
  141.      * @codeCoverageIgnore
  142.      */
  143.     public function getTemplateName(): string
  144.     {
  145.         return "@BoldrJobs/job-offer.html.twig";
  146.     }
  147.     /**
  148.      * @codeCoverageIgnore
  149.      */
  150.     public function isTraitable(): bool
  151.     {
  152.         return false;
  153.     }
  154.     /**
  155.      * @codeCoverageIgnore
  156.      */
  157.     public function getDebugInfo(): array
  158.     {
  159.         return array (  160 => 48,  147 => 47,  131 => 41,  126 => 39,  121 => 37,  107 => 26,  103 => 24,  101 => 20,  100 => 19,  93 => 15,  81 => 6,  77 => 4,  64 => 3,  41 => 1,);
  160.     }
  161.     public function getSourceContext(): Source
  162.     {
  163.         return new Source("{% extends '@!BoldrJobs/job-offer.html.twig' %}
  164. {% block body %}
  165.     <div class=\"boldr-section hb-header hb-header-small\">
  166.         <img class=\"hb-header-background\" src=\"{{ boldr_cms_get_attachment_url(boldr_site_options_get('default_header_image'), 'hb_header_small') }}\" />
  167.     </div>
  168.     <div class=\"boldr-section boldr-content boldr-content-alignment-full\" style=\"margin-top: -173.5px;\">
  169.         <div class=\"boldr-content-wrapper\">
  170.             <div class=\"boldr-section-heading\">
  171.                 <a class=\"hb-return-link\" href=\"{{ boldr_cms_get_permalink(boldr_site_options_get('job_offers_page')) }}\">
  172.                     <i class=\"icon-arrow-left\"></i>
  173.                     Terug naar het overzicht
  174.                 </a>
  175.                 {% include '@BoldrCms/section-templates/heading.html.twig' with {
  176.                     heading: jobOffer.title,
  177.                     subheading: '',
  178.                     style: 'default'
  179.                 } %}
  180.                 <span>
  181.                     <i class=\"icon-time\"></i>
  182.                     {{ jobOffer.minHours ~ (jobOffer.minHours != jobOffer.maxHours ? '-' ~ jobOffer.maxHours) }} uur
  183.                 </span>
  184.             </div>
  185.         </div>
  186.     </div>
  187.     <div class=\"boldr-job-offer\">
  188.         {{ block('description') }}
  189.         {{ block('requirements') }}
  190.         <a href=\"mailto:{{ boldr_site_options_get('job_application_email') }}\" class=\"boldr-jobs-apply boldr-button boldr-button-filled boldr-button-medium\">
  191.             Solliciteer direct
  192.         </a>
  193.     </div>
  194. {% endblock %}
  195. {% block head %}
  196.     <link rel=\"stylesheet\" href=\"{{ asset('/bundles/boldrjobs/job-offer.css') }}\" />
  197. {% endblock %}
  198. ""@BoldrJobs/job-offer.html.twig""/home/boldrdev/sites/hb/app/templates/bundles/BoldrJobsBundle/job-offer.html.twig");
  199.     }
  200. }