<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @BoldrJobs/job-offer.html.twig */
class __TwigTemplate_fffbaec45064eb5b5376933e2636838e extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
'head' => [$this, 'block_head'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@!BoldrJobs/job-offer.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BoldrJobs/job-offer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@BoldrJobs/job-offer.html.twig"));
$this->parent = $this->loadTemplate("@!BoldrJobs/job-offer.html.twig", "@BoldrJobs/job-offer.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 4
yield "
<div class=\"boldr-section hb-header hb-header-small\">
<img class=\"hb-header-background\" src=\"";
// line 6
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", null, true);
yield "\" />
</div>
<div class=\"boldr-section boldr-content boldr-content-alignment-full\" style=\"margin-top: -173.5px;\">
<div class=\"boldr-content-wrapper\">
<div class=\"boldr-section-heading\">
<a class=\"hb-return-link\" href=\"";
// line 15
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", null, true);
yield "\">
<i class=\"icon-arrow-left\"></i>
Terug naar het overzicht
</a>
";
// line 19
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
(isset($context["jobOffer"]) || array_key_exists("jobOffer", $context) ? $context["jobOffer"] : (function () { throw new RuntimeError('Variable "jobOffer" does not exist.', 20, $this->source); })()), "title", [], "any", false, false, false, 20), "subheading" => "", "style" => "default"]));
// line 24
yield " <span>
<i class=\"icon-time\"></i>
";
// line 26
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", false, false, false, 26) . (((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", false, false, false, 26) != 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", false, false, false, 26))) ? (("-" . 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", false, false, false, 26))) : (""))), "html", null, true);
yield " uur
</span>
</div>
</div>
</div>
<div class=\"boldr-job-offer\">
";
// line 37
yield from $this->unwrap()->yieldBlock("description", $context, $blocks);
yield "
";
// line 39
yield from $this->unwrap()->yieldBlock("requirements", $context, $blocks);
yield "
<a href=\"mailto:";
// line 41
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Boldr\Cms\SiteOptionsBundle\TwigExtension']->getSiteOption($context, "job_application_email"), "html", null, true);
yield "\" class=\"boldr-jobs-apply boldr-button boldr-button-filled boldr-button-medium\">
Solliciteer direct
</a>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 47
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_head(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head"));
// line 48
yield " <link rel=\"stylesheet\" href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/boldrjobs/job-offer.css"), "html", null, true);
yield "\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@BoldrJobs/job-offer.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@!BoldrJobs/job-offer.html.twig' %}
{% block body %}
<div class=\"boldr-section hb-header hb-header-small\">
<img class=\"hb-header-background\" src=\"{{ boldr_cms_get_attachment_url(boldr_site_options_get('default_header_image'), 'hb_header_small') }}\" />
</div>
<div class=\"boldr-section boldr-content boldr-content-alignment-full\" style=\"margin-top: -173.5px;\">
<div class=\"boldr-content-wrapper\">
<div class=\"boldr-section-heading\">
<a class=\"hb-return-link\" href=\"{{ boldr_cms_get_permalink(boldr_site_options_get('job_offers_page')) }}\">
<i class=\"icon-arrow-left\"></i>
Terug naar het overzicht
</a>
{% include '@BoldrCms/section-templates/heading.html.twig' with {
heading: jobOffer.title,
subheading: '',
style: 'default'
} %}
<span>
<i class=\"icon-time\"></i>
{{ jobOffer.minHours ~ (jobOffer.minHours != jobOffer.maxHours ? '-' ~ jobOffer.maxHours) }} uur
</span>
</div>
</div>
</div>
<div class=\"boldr-job-offer\">
{{ block('description') }}
{{ block('requirements') }}
<a href=\"mailto:{{ boldr_site_options_get('job_application_email') }}\" class=\"boldr-jobs-apply boldr-button boldr-button-filled boldr-button-medium\">
Solliciteer direct
</a>
</div>
{% endblock %}
{% block head %}
<link rel=\"stylesheet\" href=\"{{ asset('/bundles/boldrjobs/job-offer.css') }}\" />
{% endblock %}
", "@BoldrJobs/job-offer.html.twig", "/home/boldrdev/sites/hb/app/templates/bundles/BoldrJobsBundle/job-offer.html.twig");
}
}