<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* Theme/carriereinlimburg/pages/vacancy_detail.html.twig */
class __TwigTemplate_944cdb124911b3a2df2fe29c7e752345 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "pages/vacancy_detail.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "Theme/carriereinlimburg/pages/vacancy_detail.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Theme/carriereinlimburg/pages/vacancy_detail.html.twig"));
$this->parent = $this->loadTemplate("pages/vacancy_detail.html.twig", "Theme/carriereinlimburg/pages/vacancy_detail.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo "
";
// line 6
echo " ";
if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("feature_child_site")) {
// line 7
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Page\\ApplicantController::asyncFormModalAction", ["id" => twig_get_attribute($this->env, $this->source, // line 9
(isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 9, $this->source); })()), "id", [], "any", false, false, false, 9)]));
// line 10
echo "
";
} else {
// line 12
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Page\\ApplicantController::formModalAction", ["id" => twig_get_attribute($this->env, $this->source, // line 14
(isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 14, $this->source); })()), "id", [], "any", false, false, false, 14)]));
// line 15
echo "
";
}
// line 17
echo "
<header data-component=\"MenuMobile,Favorite\"
data-vacancy-id=\"";
// line 20
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 20, $this->source); })()), "id", [], "any", false, false, false, 20), "html", null, true);
echo "\"
class=\"fixed-top vacancy-header-top\">
<div class=\"row\">
<div class=\"col-12 col-sm-6 is-align-items-center is-display-flex is-padding-x-30\">
<h2 class=\"d-none d-sm-flex\">";
// line 24
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["vacancy"] ?? null), "options", [], "any", false, true, false, 24), "functie", [], "any", true, true, false, 24)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_first($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 24, $this->source); })()), "options", [], "any", false, false, false, 24), "functie", [], "any", false, false, false, 24)), "value", [], "any", false, false, false, 24), "html", null, true);
} else {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 24, $this->source); })()), "title", [], "any", false, false, false, 24), "html", null, true);
}
echo "</h2>
</div>
<div class=\"col-12 col-sm-6 button-set h-align h-align-right is-margin-bottom-0 is-margin-bottom-mobile-15 is-margin-top-mobile-15 is-padding-x-30\">
";
// line 27
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 27, $this->source); })()), "published", [], "any", false, false, false, 27)) {
// line 28
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 28, $this->source); })()), "externalUrl", [], "any", false, false, false, 28)) {
// line 29
echo " <a target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, (isset($context["site_master_host_url"]) || array_key_exists("site_master_host_url", $context) ? $context["site_master_host_url"] : (function () { throw new RuntimeError('Variable "site_master_host_url" does not exist.', 29, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("redirect_to_apply", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 29, $this->source); })()), "id", [], "any", false, false, false, 29)]), "html", null, true);
echo "\"
title=\"";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply"), "html", null, true);
echo "\"
class=\"is-btn is-btn__cta\">
<i class=\"fal fa-pencil icon-before\"></i>
";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply"), "html", null, true);
echo "
</a>
";
} else {
// line 36
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vacancy_apply", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 36, $this->source); })()), "id", [], "any", false, false, false, 36), "async" => true]), "html", null, true);
echo "\"
title=\"";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply"), "html", null, true);
echo "\"
class=\"is-btn is-btn__cta";
// line 38
if ( !$this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
echo " apply-btn_modal";
}
echo "\"
";
// line 39
if ( !$this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
echo "data-toggle=\"modal\"
data-target=\"#vacancyApplyModal\"";
}
// line 40
echo ">
<i class=\"fal fa-pencil icon-before\"></i>
";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply"), "html", null, true);
echo "
</a>
";
}
// line 45
echo " ";
if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("feature_vacancy_save_as_favorite")) {
// line 46
echo " <span class=\"d-none\" data-is-favorited=\"true\">
<i class=\"fal fa-times icon-before\"></i>
";
// line 48
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Remove"), "html", null, true);
echo "
</span>
<span class=\"d-none\" data-is-favorited=\"false\">
<i class=\"fal fa-star icon-before\"></i>
";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save"), "html", null, true);
echo "
</span>
<a href=\"javascript:void(0)\" title=\"";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save as favorite"), "html", null, true);
echo "\"
class=\"is-btn is-btn_add-to-favorites is-btn-outlined-primary favorite-add favorite-vacancy\">
</a>
";
}
// line 58
echo " ";
}
// line 59
echo " </div>
</div>
</header>
<!-- Version 2 of vacancy view -->
<div data-component=\"Vacancy,Favorite,Apply,CustomHeader\"
data-vacancy-id=\"";
// line 65
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 65, $this->source); })()), "id", [], "any", false, false, false, 65), "html", null, true);
echo "\"";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["vacancy"] ?? null), "company", [], "any", false, true, false, 65), "heroName", [], "any", true, true, false, 65) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 65, $this->source); })()), "company", [], "any", false, false, false, 65), "heroName", [], "any", false, false, false, 65)))) {
echo " data-custom-header=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AssetExtension']->asset(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 65, $this->source); })()), "company", [], "any", false, false, false, 65), "hero", [], "any", false, false, false, 65)), "html", null, true);
echo "\" ";
}
// line 66
echo " class=\"component component--default component--vacancy-detail component--vacancy-detail__second-version\">
<div class=\"row\">
<div class=\"col\">
<div class=\"card vacancy-header is-box-shadow-0 animation-element fadeup-element\">
<div class=\"vacancy-intro\">
<div class=\"card-body\">
";
// line 72
if (( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 72, $this->source); })()), "site", [], "any", false, false, false, 72)) && !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 72, $this->source); })()), "site", [], "any", false, false, false, 72), "hasDomain", [0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 72, $this->source); })()), "request", [], "any", false, false, false, 72), "host", [], "any", false, false, false, 72)], "method", false, false, false, 72))) {
// line 73
echo " <div class=\"row\">
<div class=\"col-12\">
<div class=\"alert alert-success is-margin-bottom-30 is-padding-15\">
Deze vacature staat origineel op <a class=\"is-margin-top-0 is-color-black\"
target=\"_blank\"
href=\"";
// line 78
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SiteExtension']->getSiteUrl("vacancy_detail", twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 78, $this->source); })()), "site", [], "any", false, false, false, 78), ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 78, $this->source); })()), "id", [], "any", false, false, false, 78), "slug" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 78, $this->source); })()), "slug", [], "any", false, false, false, 78)]), "html", null, true);
echo "\">
";
// line 79
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 79, $this->source); })()), "site", [], "any", false, false, false, 79), "html", null, true);
echo "
</a>.
</div>
</div>
</div>
";
}
// line 85
echo " <div class=\"row\">
";
// line 86
if ((( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 86, $this->source); })()), "overviewImage", [], "any", false, false, false, 86)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 86, $this->source); })()), "overviewImage", [], "any", false, false, false, 86), "id", [], "any", false, false, false, 86)) || (twig_get_attribute($this->env, $this->source, // line 87
(isset($context["apiOverviewImage"]) || array_key_exists("apiOverviewImage", $context) ? $context["apiOverviewImage"] : (function () { throw new RuntimeError('Variable "apiOverviewImage" does not exist.', 87, $this->source); })()), "hasImages", [], "method", false, false, false, 87) && twig_get_attribute($this->env, $this->source, (isset($context["apiOverviewImage"]) || array_key_exists("apiOverviewImage", $context) ? $context["apiOverviewImage"] : (function () { throw new RuntimeError('Variable "apiOverviewImage" does not exist.', 87, $this->source); })()), "hasUrlForFilter", [0 => "original"], "method", false, false, false, 87)))) {
// line 88
echo " <div class=\"col-12 col-md-2\">
<figure class=\"logo logo-left\">
";
// line 90
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 90, $this->source); })()), "overviewImage", [], "any", false, false, false, 90), "id", [], "any", false, false, false, 90))) {
// line 91
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['App\Twig\AssetExtension']->asset(twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 91, $this->source); })()), "overviewImage", [], "any", false, false, false, 91)), (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("feature_child_site")) ? ("original_parent") : ("original"))), "html", null, true);
echo "\"
alt=\"";
// line 92
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 92, $this->source); })()), "companyName", [], "any", false, false, false, 92)) ? (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 92, $this->source); })()), "companyName", [], "any", false, false, false, 92)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 92, $this->source); })()), "company", [], "any", false, false, false, 92), "name", [], "any", false, false, false, 92))), "html", null, true);
echo "\">
";
} else {
// line 94
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["apiOverviewImage"]) || array_key_exists("apiOverviewImage", $context) ? $context["apiOverviewImage"] : (function () { throw new RuntimeError('Variable "apiOverviewImage" does not exist.', 94, $this->source); })()), "urlForFilter", [0 => "original"], "method", false, false, false, 94), "html", null, true);
echo "\"
alt=\"";
// line 95
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 95, $this->source); })()), "companyName", [], "any", false, false, false, 95)) ? (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 95, $this->source); })()), "companyName", [], "any", false, false, false, 95)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 95, $this->source); })()), "company", [], "any", false, false, false, 95), "name", [], "any", false, false, false, 95))), "html", null, true);
echo "\">
";
}
// line 97
echo " </figure>
</div>
";
} elseif ((( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 99
(isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 99, $this->source); })()), "company", [], "any", false, false, false, 99), "logo", [], "any", false, false, false, 99)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 99, $this->source); })()), "company", [], "any", false, false, false, 99), "logo", [], "any", false, false, false, 99), "id", [], "any", false, false, false, 99)) || (twig_get_attribute($this->env, $this->source, // line 100
(isset($context["apiCompanyLogo"]) || array_key_exists("apiCompanyLogo", $context) ? $context["apiCompanyLogo"] : (function () { throw new RuntimeError('Variable "apiCompanyLogo" does not exist.', 100, $this->source); })()), "hasImages", [], "method", false, false, false, 100) && twig_get_attribute($this->env, $this->source, (isset($context["apiCompanyLogo"]) || array_key_exists("apiCompanyLogo", $context) ? $context["apiCompanyLogo"] : (function () { throw new RuntimeError('Variable "apiCompanyLogo" does not exist.', 100, $this->source); })()), "hasUrlForFilter", [0 => "original"], "method", false, false, false, 100)))) {
// line 101
echo " <div class=\"col-12 col-md-2\">
<figure class=\"logo logo-left\">
";
// line 103
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 103, $this->source); })()), "company", [], "any", false, false, false, 103), "logo", [], "any", false, false, false, 103), "id", [], "any", false, false, false, 103))) {
// line 104
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['App\Twig\AssetExtension']->asset(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 104, $this->source); })()), "company", [], "any", false, false, false, 104), "logo", [], "any", false, false, false, 104)), (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("feature_child_site")) ? ("original_parent") : ("original"))), "html", null, true);
echo "\"
alt=\"";
// line 105
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 105, $this->source); })()), "companyName", [], "any", false, false, false, 105)) ? (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 105, $this->source); })()), "companyName", [], "any", false, false, false, 105)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 105, $this->source); })()), "company", [], "any", false, false, false, 105), "name", [], "any", false, false, false, 105))), "html", null, true);
echo "\">
";
} else {
// line 107
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["apiCompanyLogo"]) || array_key_exists("apiCompanyLogo", $context) ? $context["apiCompanyLogo"] : (function () { throw new RuntimeError('Variable "apiCompanyLogo" does not exist.', 107, $this->source); })()), "urlForFilter", [0 => "original"], "method", false, false, false, 107), "html", null, true);
echo "\"
alt=\"";
// line 108
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 108, $this->source); })()), "companyName", [], "any", false, false, false, 108)) ? (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 108, $this->source); })()), "companyName", [], "any", false, false, false, 108)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 108, $this->source); })()), "company", [], "any", false, false, false, 108), "name", [], "any", false, false, false, 108))), "html", null, true);
echo "\">
";
}
// line 110
echo " </figure>
</div>
";
}
// line 113
echo " <div class=\"col-12 col-sm-12 col-md-10\">
<div class=\"vacancy-title\">
<h1>";
// line 115
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 115, $this->source); })()), "title", [], "any", false, false, false, 115), "html", null, true);
echo "</h1>
</div>
<div class=\"vacancy-options\">
<ul>
";
// line 119
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 119, $this->source); })()), "optionValues", [], "any", false, false, false, 119));
foreach ($context['_seq'] as $context["_key"] => $context["optionValue"]) {
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["optionValue"], "option", [], "any", false, false, false, 119), "visibleInDetail", [], "any", false, false, false, 119)) {
// line 120
echo " <li>
<i class=\"";
// line 121
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["optionValue"], "option", [], "any", false, false, false, 121), "fontAwesomeIcon", [], "any", false, false, false, 121), "html", null, true);
echo "\"></i>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["optionValue"], "value", [], "any", false, false, false, 121), "html", null, true);
echo "
</li>
";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['optionValue'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 124
echo " ";
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_city_visible_on_detail")) {
// line 125
echo " <li>
";
// line 126
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_city_on_detail_icon")) {
// line 127
echo " <i class=\"";
echo $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_city_on_detail_icon");
echo "\"></i>
";
} else {
// line 129
echo " <i class=\"fal fa-map-marker-alt\"></i>
";
}
// line 131
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 131, $this->source); })()), "city", [], "any", false, false, false, 131), "html", null, true);
echo "
<span class=\"option-sub\">
<a href=\"javascript:void(0)\" title=\"";
// line 133
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Show on map"), "html", null, true);
echo "\"
data-component=\"MapModal\"
data-lat=\"";
// line 135
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 135, $this->source); })()), "latitude", [], "any", false, false, false, 135), "html", null, true);
echo "\"
data-long=\"";
// line 136
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 136, $this->source); })()), "longitude", [], "any", false, false, false, 136), "html", null, true);
echo "\" data-zoom=\"9\">
( <i class=\"far fa-fw fa-map\"></i>
";
// line 138
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Show on map"), "html", null, true);
echo ")
</a>
</span>
</li>
";
}
// line 143
echo " </ul>
</div>
";
// line 145
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 145, $this->source); })()), "published", [], "any", false, false, false, 145)) {
// line 146
echo " <div class=\"vacancy-actions\">
";
// line 147
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 147, $this->source); })()), "externalUrl", [], "any", false, false, false, 147)) {
// line 148
echo " <a target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, (isset($context["site_master_host_url"]) || array_key_exists("site_master_host_url", $context) ? $context["site_master_host_url"] : (function () { throw new RuntimeError('Variable "site_master_host_url" does not exist.', 148, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("redirect_to_apply", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 148, $this->source); })()), "id", [], "any", false, false, false, 148)]), "html", null, true);
echo "\"
title=\"";
// line 149
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply to vacancy"), "html", null, true);
echo "\"
class=\"is-btn is-btn__cta\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
";
// line 153
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply"), "html", null, true);
echo "
</a>
";
} else {
// line 156
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vacancy_apply", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 156, $this->source); })()), "id", [], "any", false, false, false, 156), "async" => true]), "html", null, true);
echo "\"
title=\"Apply to vacancy\"
class=\"is-btn is-btn__cta";
// line 158
if ( !$this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
echo " apply-btn_modal";
}
echo "\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
";
// line 161
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply"), "html", null, true);
echo "
</a>
";
}
// line 164
echo " ";
if ($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("feature_vacancy_save_as_favorite")) {
// line 165
echo " <div class=\"widget widget--favorite\">
<span class=\"d-none\" data-is-favorited=\"true\">
<i class=\"far fa-times icon-before\"></i>
";
// line 168
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Remove"), "html", null, true);
echo "
<span class=\"d-none d-md-block\"> ";
// line 169
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("as favorite"), "html", null, true);
echo "</span>
</span>
<span class=\"d-none\" data-is-favorited=\"false\">
<i class=\"far fa-star icon-before\"></i>
";
// line 173
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save as favorite"), "html", null, true);
echo "
</span>
<a href=\"javascript:void(0)\"
class=\"favorite-add favorite-vacancy\">
</a>
</div>
";
}
// line 180
echo " <div class=\"widget widget--share dropdown show\">
<a class=\"dropdown-toggle\" href=\"#\" role=\"button\" id=\"dropdownMenuLink\"
data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
<i class=\"fal fa-share-alt icon-before is-color-primary\"></i>";
// line 183
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share vacancy"), "html", null, true);
echo "
</a>
<div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuLink\">
";
// line 187
if (twig_in_filter("facebook", $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_share_on"))) {
// line 188
echo " <a href=\"https://www.facebook.com/sharer/sharer.php?u=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 188, $this->source); })()), "request", [], "any", false, false, false, 188), "uri", [], "any", false, false, false, 188), "html", null, true);
echo "\"
title=\"";
// line 189
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 189, $this->source); })()), "title", [], "any", false, false, false, 189), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("on Facebook"), "html", null, true);
echo "\"
class=\"facebook dropdown-item\" target=\"_blank\"><i
class=\"fab fa-facebook-f fa-fw is-color-primary\"></i> Facebook
</a>
";
}
// line 194
echo " ";
if (twig_in_filter("linkedIn", $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_share_on"))) {
// line 195
echo " <a href=\"https://www.linkedin.com/shareArticle?url=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 195, $this->source); })()), "request", [], "any", false, false, false, 195), "uri", [], "any", false, false, false, 195), "html", null, true);
echo "&title=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 195, $this->source); })()), "title", [], "any", false, false, false, 195), "html", null, true);
echo "&summary=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 195, $this->source); })()), "intro", [], "any", false, false, false, 195), "html", null, true);
echo "&source=LinkedIn\"
title=\"";
// line 196
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 196, $this->source); })()), "title", [], "any", false, false, false, 196), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("on"), "html", null, true);
echo " LinkedIn\"
class=\"linkedin dropdown-item\" target=\"_blank\"><i
class=\"fab fa-linkedin-in fa-fw is-color-primary\"></i>
LinkedIn
</a>
";
}
// line 202
echo " ";
if (twig_in_filter("twitter", $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_share_on"))) {
// line 203
echo " <a href=\"https://twitter.com/intent/tweet?text=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 203, $this->source); })()), "title", [], "any", false, false, false, 203), "html", null, true);
echo "&url=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 203, $this->source); })()), "request", [], "any", false, false, false, 203), "uri", [], "any", false, false, false, 203), "html", null, true);
echo "\"
title=\"";
// line 204
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 204, $this->source); })()), "title", [], "any", false, false, false, 204), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("on Twitter"), "html", null, true);
echo "\"
class=\"twitter dropdown-item\" target=\"_blank\"><i
class=\"fab fa-x-twitter fa-fw is-color-primary\"></i> Twitter
</a>
";
}
// line 209
echo " ";
if (twig_in_filter("email", $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_share_on"))) {
// line 210
echo " <a href=\"";
echo $this->extensions['App\Twig\ShareButtonExtension']->getShareByEmailUrl("", "", (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 210, $this->source); })()));
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share by mail"), "html", null, true);
echo "\"
class=\"mail dropdown-item\" target=\"_blank\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-envelope-open icon-before\"></i>
E-mail
</a>
";
}
// line 217
echo " ";
if (twig_in_filter("whatsapp", $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_share_on"))) {
// line 218
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ShareButtonExtension']->getShareOnWhatsAppUrl(("Bekijk vacature: " . $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("vacancy_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 218, $this->source); })()), "id", [], "any", false, false, false, 218), "slug" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 218, $this->source); })()), "slug", [], "any", false, false, false, 218)]))), "html", null, true);
echo "\"
title=\"";
// line 219
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Share with Whatsapp"), "html", null, true);
echo "\"
class=\"whatsapp dropdown-item\" target=\"_blank\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fab fa-whatsapp icon-before\"></i>
Whatsapp
</a>
";
}
// line 226
echo " </div>
</div>
</div>
";
}
// line 230
echo " </div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"row is-border-top-1 is-border-color-tertiary is-padding-top-50\">
<main class=\"col-12 col-lg-8\">
<div class=\"card is-box-shadow-0 animation-element fadeup-element fade-start-section\">
<div class=\"card-body vacancy-content\">
";
// line 241
$this->loadTemplate("pages/blocks/inavailable_message.html.twig", "Theme/carriereinlimburg/pages/vacancy_detail.html.twig", 241)->display($context);
// line 242
echo " ";
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_intro_visible_on_detail")) {
// line 243
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 243, $this->source); })()), "intro", [], "any", false, false, false, 243);
echo "
";
}
// line 245
echo " ";
echo $this->extensions['App\Twig\DescriptionExtension']->getDescription((isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 245, $this->source); })()), [0 => "company_description"]);
echo "
";
// line 246
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 246, $this->source); })()), "canApply", [], "any", false, false, false, 246)) {
// line 247
echo " <div class=\"button-set h-align h-align-left\">
";
// line 248
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 248, $this->source); })()), "externalUrl", [], "any", false, false, false, 248)) {
// line 249
echo " <a target=\"_blank\" href=\"";
echo twig_escape_filter($this->env, (isset($context["site_master_host_url"]) || array_key_exists("site_master_host_url", $context) ? $context["site_master_host_url"] : (function () { throw new RuntimeError('Variable "site_master_host_url" does not exist.', 249, $this->source); })()), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("redirect_to_apply", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 249, $this->source); })()), "id", [], "any", false, false, false, 249)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply"), "html", null, true);
echo "\"
class=\"is-btn is-btn__cta is-margin-bottom-0 is-margin-bottom-mobile-15\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
";
// line 253
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply to vacancy"), "html", null, true);
echo "
</a>
";
} else {
// line 256
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vacancy_apply", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 256, $this->source); })()), "id", [], "any", false, false, false, 256), "async" => true]), "html", null, true);
echo "\"
title=\"";
// line 257
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply to vacancy"), "html", null, true);
echo "\"
class=\"is-btn is-btn__cta";
// line 258
if ( !$this->extensions['MobileDetectBundle\Twig\Extension\MobileDetectExtension']->isMobile()) {
echo " apply-btn_modal";
}
echo " is-margin-bottom-0 is-margin-bottom-mobile-15\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
";
// line 261
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Apply to vacancy"), "html", null, true);
echo "
</a>
";
}
// line 264
echo " <a href=\"/vacatures\" class=\"is-color-base is-hover-color-primary\"><i
class=\"fal fa-angle-left icon-before is-color-primary\"></i> ";
// line 265
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("To vacancy overview"), "html", null, true);
echo "
</a>
</div>
";
}
// line 269
echo " </div>
</div>
";
// line 271
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 271, $this->source); })()), "recruiter", [], "any", false, false, false, 271)) {
// line 272
echo " <div class=\"widget widget--recruiter card is-box-shadow-0 is-background-color-default animation-element fadeup-element\">
<div class=\"card-body\">
<div class=\"row\">
<div class=\"recruiter-img col-12 col-sm-3 col-lg-12 col-xl-3 is-margin-right-0\">
<img loading=\"lazy\" src=\"";
// line 276
echo twig_escape_filter($this->env, $this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset(twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 276, $this->source); })()), "recruiter", [], "any", false, false, false, 276), "picture"), "html", null, true);
echo "\"
alt=\"";
// line 277
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 277, $this->source); })()), "recruiter", [], "any", false, false, false, 277), "firstname", [], "any", false, false, false, 277), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 277, $this->source); })()), "recruiter", [], "any", false, false, false, 277), "lastname", [], "any", false, false, false, 277), "html", null, true);
echo "\">
</div>
<div class=\"recruiter-info col-12 col-sm-9 col-lg-12 col-xl-9\">
<h2>";
// line 280
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("For more information"), "html", null, true);
echo "</h2>
<p>
<span>";
// line 282
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 282, $this->source); })()), "recruiter", [], "any", false, false, false, 282), "firstname", [], "any", false, false, false, 282), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 282, $this->source); })()), "recruiter", [], "any", false, false, false, 282), "lastname", [], "any", false, false, false, 282), "html", null, true);
echo "</span><br>
<a href=\"mailto:";
// line 283
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 283, $this->source); })()), "recruiter", [], "any", false, false, false, 283), "email", [], "any", false, false, false, 283), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 283, $this->source); })()), "recruiter", [], "any", false, false, false, 283), "email", [], "any", false, false, false, 283), "html", null, true);
echo "</a><br>
<a href=\"";
// line 284
echo twig_escape_filter($this->env, $this->env->getFilter('formatPhoneRFC3966')->getCallable()(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 284, $this->source); })()), "recruiter", [], "any", false, false, false, 284), "phone", [], "any", false, false, false, 284)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 284, $this->source); })()), "recruiter", [], "any", false, false, false, 284), "phone", [], "any", false, false, false, 284), "html", null, true);
echo "</a>
</p>
</div>
</div>
</div>
</div>
";
}
// line 291
echo " </main>
<aside class=\"col-12 col-lg-4\">
<div class=\"widget widget--office card is-box-shadow-0 is-background-color-default animation-element fadeup-element\">
<div class=\"card-body\">
";
// line 295
$context["detailImageFilter"] = (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("feature_child_site")) ? ("w480_thumbnail_parent") : ("w480_thumbnail"));
// line 296
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 296, $this->source); })()), "youtube", [], "any", false, false, false, 296)) {
// line 297
echo " <div class=\"embed-responsive embed-responsive-16by9\">
<iframe width=\"560\" height=\"315\" class=\"embed-responsive-item\"
src=\"";
// line 299
echo twig_escape_filter($this->env, $this->extensions['App\Twig\YoutubeExtension']->youtubeFilter(twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 299, $this->source); })()), "youtube", [], "any", false, false, false, 299)), "html", null, true);
echo "\" frameborder=\"0\"
allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\"
allowfullscreen>
</iframe>
</div>
";
} elseif (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 304
(isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 304, $this->source); })()), "company", [], "any", false, false, false, 304), "video", [], "any", false, false, false, 304)) {
// line 305
echo " <div class=\"embed-responsive embed-responsive-16by9\">
<iframe width=\"560\" height=\"315\" class=\"embed-responsive-item\"
src=\"";
// line 307
echo twig_escape_filter($this->env, $this->extensions['App\Twig\YoutubeExtension']->youtubeFilter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 307, $this->source); })()), "company", [], "any", false, false, false, 307), "video", [], "any", false, false, false, 307)), "html", null, true);
echo "\" frameborder=\"0\"
allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\"
allowfullscreen>
</iframe>
</div>
";
} elseif ((( !twig_test_empty(twig_get_attribute($this->env, $this->source, // line 312
(isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 312, $this->source); })()), "detailImage", [], "any", false, false, false, 312)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 312, $this->source); })()), "detailImage", [], "any", false, false, false, 312), "fileName", [], "any", false, false, false, 312)) || (twig_get_attribute($this->env, $this->source, // line 313
(isset($context["apiDetailImage"]) || array_key_exists("apiDetailImage", $context) ? $context["apiDetailImage"] : (function () { throw new RuntimeError('Variable "apiDetailImage" does not exist.', 313, $this->source); })()), "hasImages", [], "method", false, false, false, 313) && twig_get_attribute($this->env, $this->source, (isset($context["apiDetailImage"]) || array_key_exists("apiDetailImage", $context) ? $context["apiDetailImage"] : (function () { throw new RuntimeError('Variable "apiDetailImage" does not exist.', 313, $this->source); })()), "hasUrlForFilter", [0 => "w480_thumbnail"], "method", false, false, false, 313)))) {
// line 314
echo " <figure class=\"company-logo\">
";
// line 315
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 315, $this->source); })()), "detailImage", [], "any", false, false, false, 315), "id", [], "any", false, false, false, 315))) {
// line 316
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['App\Twig\AssetExtension']->asset(twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 316, $this->source); })()), "detailImage", [], "any", false, false, false, 316)), (isset($context["detailImageFilter"]) || array_key_exists("detailImageFilter", $context) ? $context["detailImageFilter"] : (function () { throw new RuntimeError('Variable "detailImageFilter" does not exist.', 316, $this->source); })())), "html", null, true);
echo "\"/>
";
} else {
// line 318
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["apiDetailImage"]) || array_key_exists("apiDetailImage", $context) ? $context["apiDetailImage"] : (function () { throw new RuntimeError('Variable "apiDetailImage" does not exist.', 318, $this->source); })()), "urlForFilter", [0 => "w480_thumbnail"], "method", false, false, false, 318), "html", null, true);
echo "\"/>
";
}
// line 320
echo " </figure>
";
} elseif ((( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 321
(isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 321, $this->source); })()), "company", [], "any", false, false, false, 321), "hero", [], "any", false, false, false, 321)) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 321, $this->source); })()), "company", [], "any", false, false, false, 321), "hero", [], "any", false, false, false, 321), "fileName", [], "any", false, false, false, 321)) || (twig_get_attribute($this->env, $this->source, // line 322
(isset($context["apiCompanyHero"]) || array_key_exists("apiCompanyHero", $context) ? $context["apiCompanyHero"] : (function () { throw new RuntimeError('Variable "apiCompanyHero" does not exist.', 322, $this->source); })()), "hasImages", [], "method", false, false, false, 322) && twig_get_attribute($this->env, $this->source, (isset($context["apiCompanyHero"]) || array_key_exists("apiCompanyHero", $context) ? $context["apiCompanyHero"] : (function () { throw new RuntimeError('Variable "apiCompanyHero" does not exist.', 322, $this->source); })()), "hasUrlForFilter", [0 => "w480_thumbnail"], "method", false, false, false, 322)))) {
// line 323
echo " <figure class=\"company-logo\">
";
// line 324
if ( !(null === twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 324, $this->source); })()), "company", [], "any", false, false, false, 324), "hero", [], "any", false, false, false, 324), "id", [], "any", false, false, false, 324))) {
// line 325
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, $this->env->getRuntime('Liip\ImagineBundle\Templating\LazyFilterRuntime')->filter($this->extensions['App\Twig\AssetExtension']->asset(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 325, $this->source); })()), "company", [], "any", false, false, false, 325), "hero", [], "any", false, false, false, 325)), (isset($context["detailImageFilter"]) || array_key_exists("detailImageFilter", $context) ? $context["detailImageFilter"] : (function () { throw new RuntimeError('Variable "detailImageFilter" does not exist.', 325, $this->source); })())), "html", null, true);
echo "\"/>
";
} else {
// line 327
echo " <img loading=\"lazy\" src=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["apiCompanyHero"]) || array_key_exists("apiCompanyHero", $context) ? $context["apiCompanyHero"] : (function () { throw new RuntimeError('Variable "apiCompanyHero" does not exist.', 327, $this->source); })()), "urlForFilter", [0 => "w480_thumbnail"], "method", false, false, false, 327), "html", null, true);
echo "\"/>
";
}
// line 329
echo " </figure>
";
}
// line 331
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 331, $this->source); })()), "company", [], "any", false, false, false, 331), "hasDetailPage", [], "any", false, false, false, 331)) {
// line 332
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\SiteExtension']->getSiteUrl("company_detail", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 332, $this->source); })()), "company", [], "any", false, false, false, 332), "site", [], "any", false, false, false, 332), ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 332, $this->source); })()), "company", [], "any", false, false, false, 332), "id", [], "any", false, false, false, 332), "slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 332, $this->source); })()), "company", [], "any", false, false, false, 332), "slug", [], "any", false, false, false, 332)]), "html", null, true);
echo "\">
<h2 class=\"is-font-size-20\">
";
// line 334
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 334, $this->source); })()), "companyName", [], "any", false, false, false, 334)) {
// line 335
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 335, $this->source); })()), "companyName", [], "any", false, false, false, 335), "html", null, true);
echo "
";
} else {
// line 337
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 337, $this->source); })()), "company", [], "any", false, false, false, 337), "name", [], "any", false, false, false, 337), "html", null, true);
echo "
";
}
// line 339
echo " </h2>
</a>
";
} else {
// line 342
echo " <h2 class=\"is-font-size-20\">
";
// line 343
if (twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 343, $this->source); })()), "companyName", [], "any", false, false, false, 343)) {
// line 344
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 344, $this->source); })()), "companyName", [], "any", false, false, false, 344), "html", null, true);
echo "
";
} else {
// line 346
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 346, $this->source); })()), "company", [], "any", false, false, false, 346), "name", [], "any", false, false, false, 346), "html", null, true);
echo "
";
}
// line 348
echo " </h2>
";
}
// line 350
echo "
";
// line 354
if ( !twig_test_empty($this->extensions['App\Twig\DescriptionExtension']->getDescriptionBlock((isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 354, $this->source); })()), "company_description"))) {
// line 355
echo " <div class=\"office-content\">
<p>";
// line 356
echo twig_striptags($this->extensions['App\Twig\DescriptionExtension']->getDescriptionBlock((isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 356, $this->source); })()), "company_description"), "<p>");
echo "</p>
</div>
";
} else {
// line 359
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 359, $this->source); })()), "company", [], "any", false, false, false, 359), "description", [], "any", false, false, false, 359))) {
// line 360
echo " <div class=\"office-content\">
<p>";
// line 361
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 361, $this->source); })()), "company", [], "any", false, false, false, 361), "description", [], "any", false, false, false, 361);
echo "</p>
</div>
";
}
// line 364
echo " ";
}
// line 365
echo " <span class=\"toggle-btn\"><i class=\"fal fa-angle-down w-100 text-center is-font-size-40\"></i></span>
</div>
</div>
";
// line 368
if (((twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 368, $this->source); })()), "startDate", [], "any", false, false, false, 368) && twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 368, $this->source); })()), "endDate", [], "any", false, false, false, 368)) && ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_show_start_date_detail") || $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_show_end_date_detail")))) {
// line 369
echo " <div class=\"widget widget--vac-info card is-box-shadow-0 is-background-color-default animation-element fadeup-element\">
<div class=\"card-body\">
<h3>";
// line 371
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Vacancy information"), "html", null, true);
echo "</h3>
<ul class=\"is-margin-bottom-0\">
";
// line 373
if ((twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 373, $this->source); })()), "startDate", [], "any", false, false, false, 373) && $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_show_start_date_detail"))) {
// line 374
echo " <li>
<i class=\"fal fa-calendar-alt is-color-primary\"></i>";
// line 375
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Open since"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 375, $this->source); })()), "startDate", [], "any", false, false, false, 375), "d-m-Y"), "html", null, true);
echo "
</li>
";
}
// line 378
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 378, $this->source); })()), "endDate", [], "any", false, false, false, 378) && $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_vacancy_show_end_date_detail"))) {
// line 379
echo " <li>
<i class=\"fal fa-hourglass-start is-color-primary\"></i>";
// line 380
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Closing date"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["vacancy"]) || array_key_exists("vacancy", $context) ? $context["vacancy"] : (function () { throw new RuntimeError('Variable "vacancy" does not exist.', 380, $this->source); })()), "endDate", [], "any", false, false, false, 380), "d-m-Y"), "html", null, true);
echo "
</li>
";
}
// line 383
echo " </ul>
</div>
</div>
";
}
// line 387
echo " ";
if (($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("feature_vacancy_related_vacancies") && !twig_test_empty((isset($context["relatedVacancies"]) || array_key_exists("relatedVacancies", $context) ? $context["relatedVacancies"] : (function () { throw new RuntimeError('Variable "relatedVacancies" does not exist.', 387, $this->source); })())))) {
// line 388
echo " <div class=\"col-12\">
<div class=\"component component--related-vacancies animation-element fadeup-element\">
<h2 class=\"is-font-size-27\">";
// line 390
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Related vacancies"), "html", null, true);
echo "</h2>
<div class=\"row\">
";
// line 392
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["relatedVacancies"]) || array_key_exists("relatedVacancies", $context) ? $context["relatedVacancies"] : (function () { throw new RuntimeError('Variable "relatedVacancies" does not exist.', 392, $this->source); })()), 0, 3));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["vacancy"]) {
// line 393
echo " <div class=\"col-12 ";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 393)) {
}
echo " flex-same-height-item animation-element fadeup-element\">
<div data-component=\"Favorite\" data-vacancy-id=\"";
// line 394
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["vacancy"], "id", [], "any", false, false, false, 394), "html", null, true);
echo "\"
class=\"card is-box-shadow-0 is-border-1 is-border-color-tertiary vacancy__first-version\">
<div class=\"card-body\">
<div class=\"vacancy\">
<div class=\"vacancy-top\">
<div class=\"vacancy-title\">
<a title=\"";
// line 400
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["vacancy"], "title", [], "any", false, false, false, 400), "html", null, true);
echo "\"
href=\"";
// line 401
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vacancy_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["vacancy"], "id", [], "any", false, false, false, 401), "slug" => twig_get_attribute($this->env, $this->source, $context["vacancy"], "slug", [], "any", false, false, false, 401)]), "html", null, true);
echo "\">
<h3>";
// line 402
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["vacancy"], "title", [], "any", false, false, false, 402), "html", null, true);
echo "</h3>
</a>
</div>
<div class=\"vacancy-badges\">
";
// line 406
if (twig_get_attribute($this->env, $this->source, $context["vacancy"], "new", [], "any", false, false, false, 406)) {
// line 407
echo " <span class=\"badge badge--topvacancy badge__primary\">
<p>";
// line 408
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("New"), "html", null, true);
echo "</p>
</span>
";
}
// line 411
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["vacancy"], "featured", [], "any", false, false, false, 411)) {
// line 412
echo " <span class=\"badge badge--topvacancy badge__accent\">
<p>";
// line 413
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Featured vacancy"), "html", null, true);
echo "</p>
</span>
";
}
// line 416
echo " </div>
</div>
<div class=\"vacancy-footer d-block\">
<div data-format=\"FooterFormatter\"
class=\"vacancy-options w-100\">
<ul>
<li>
<i class=\"fal fa-map-marker-alt\"></i> ";
// line 423
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["vacancy"], "city", [], "any", false, false, false, 423), "html", null, true);
echo "
</li>
";
// line 425
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["vacancy"], "optionValues", [], "any", false, false, false, 425));
foreach ($context['_seq'] as $context["_key"] => $context["optionValue"]) {
// line 426
echo " <li>
<i class=\"";
// line 427
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["optionValue"], "option", [], "any", false, false, false, 427), "fontAwesomeIcon", [], "any", false, false, false, 427), "html", null, true);
echo "\"></i>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["optionValue"], "value", [], "any", false, false, false, 427), "html", null, true);
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['optionValue'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 430
echo " </ul>
</div>
<a href=\"";
// line 432
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("vacancy_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["vacancy"], "id", [], "any", false, false, false, 432), "slug" => twig_get_attribute($this->env, $this->source, $context["vacancy"], "slug", [], "any", false, false, false, 432)]), "html", null, true);
echo "\"
title=\"";
// line 433
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["vacancy"], "title", [], "any", false, false, false, 433), "html", null, true);
echo "\">
";
// line 434
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Show vacancy"), "html", null, true);
echo " <i
class=\"far fa-angle-right icon-after\"></i>
</a>
</div>
</div>
</div>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['vacancy'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 443
echo " </div>
</div>
</div>
";
}
// line 447
echo " <div class=\"widget widget--sm widget--sm__default text-center animation-element fadeup-element\">
";
// line 448
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_facebook")) {
// line 449
echo " <a href=\"";
echo $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_facebook");
echo "\"
title=\"";
// line 450
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Follow %site-company-name% on", ["%site-company-name%" => ((array_key_exists("site_company_name", $context)) ? (_twig_default_filter((isset($context["site_company_name"]) || array_key_exists("site_company_name", $context) ? $context["site_company_name"] : (function () { throw new RuntimeError('Variable "site_company_name" does not exist.', 450, $this->source); })()), "Getnoticed")) : ("Getnoticed"))]), "html", null, true);
echo " Facebook\"
target=\"_blank\"><i
class=\"fab fa-fw fa-facebook-f\"></i></a>
";
}
// line 454
echo " ";
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_twitter")) {
// line 455
echo " <a href=\"";
echo $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_twitter");
echo "\"
title=\"";
// line 456
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Follow %site-company-name% on", ["%site-company-name%" => ((array_key_exists("site_company_name", $context)) ? (_twig_default_filter((isset($context["site_company_name"]) || array_key_exists("site_company_name", $context) ? $context["site_company_name"] : (function () { throw new RuntimeError('Variable "site_company_name" does not exist.', 456, $this->source); })()), "Getnoticed")) : ("Getnoticed"))]), "html", null, true);
echo " Twitter\"
target=\"_blank\"><i
class=\"fab fa-fw fa-x-twitter\"></i></a>
";
}
// line 460
echo " ";
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_linkedin")) {
// line 461
echo " <a href=\"";
echo $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_linkedin");
echo "\"
title=\"";
// line 462
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Follow %site-company-name% on", ["%site-company-name%" => ((array_key_exists("site_company_name", $context)) ? (_twig_default_filter((isset($context["site_company_name"]) || array_key_exists("site_company_name", $context) ? $context["site_company_name"] : (function () { throw new RuntimeError('Variable "site_company_name" does not exist.', 462, $this->source); })()), "Getnoticed")) : ("Getnoticed"))]), "html", null, true);
echo " LinkedIn\"
target=\"_blank\"><i
class=\"fab fa-fw fa-linkedin-in\"></i></a>
";
}
// line 466
echo " ";
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_youtube")) {
// line 467
echo " <a href=\"";
echo $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_youtube");
echo "\"
title=\"";
// line 468
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Follow %site-company-name% on", ["%site-company-name%" => ((array_key_exists("site_company_name", $context)) ? (_twig_default_filter((isset($context["site_company_name"]) || array_key_exists("site_company_name", $context) ? $context["site_company_name"] : (function () { throw new RuntimeError('Variable "site_company_name" does not exist.', 468, $this->source); })()), "Getnoticed")) : ("Getnoticed"))]), "html", null, true);
echo " Youtube\"
target=\"_blank\"><i
class=\"fab fa-fw fa-youtube\"></i></a>
";
}
// line 472
echo " ";
if ($this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_instagram")) {
// line 473
echo " <a href=\"";
echo $this->extensions['App\Component\Configuration\Twig\ConfigExtension']->getSetting("site_social_instagram");
echo "\"
title=\"";
// line 474
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Follow %site-company-name% on", ["%site-company-name%" => ((array_key_exists("site_company_name", $context)) ? (_twig_default_filter((isset($context["site_company_name"]) || array_key_exists("site_company_name", $context) ? $context["site_company_name"] : (function () { throw new RuntimeError('Variable "site_company_name" does not exist.', 474, $this->source); })()), "Getnoticed")) : ("Getnoticed"))]), "html", null, true);
echo " Instagram\"
target=\"_blank\"><i class=\"fab fa-fw fa-instagram\"></i></a>
";
}
// line 477
echo " </div>
</aside>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Theme/carriereinlimburg/pages/vacancy_detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1168 => 477, 1162 => 474, 1157 => 473, 1154 => 472, 1147 => 468, 1142 => 467, 1139 => 466, 1132 => 462, 1127 => 461, 1124 => 460, 1117 => 456, 1112 => 455, 1109 => 454, 1102 => 450, 1097 => 449, 1095 => 448, 1092 => 447, 1086 => 443, 1063 => 434, 1059 => 433, 1055 => 432, 1051 => 430, 1040 => 427, 1037 => 426, 1033 => 425, 1028 => 423, 1019 => 416, 1013 => 413, 1010 => 412, 1007 => 411, 1001 => 408, 998 => 407, 996 => 406, 989 => 402, 985 => 401, 981 => 400, 972 => 394, 966 => 393, 949 => 392, 944 => 390, 940 => 388, 937 => 387, 931 => 383, 923 => 380, 920 => 379, 917 => 378, 909 => 375, 906 => 374, 904 => 373, 899 => 371, 895 => 369, 893 => 368, 888 => 365, 885 => 364, 879 => 361, 876 => 360, 873 => 359, 867 => 356, 864 => 355, 862 => 354, 856 => 350, 852 => 348, 846 => 346, 840 => 344, 838 => 343, 835 => 342, 830 => 339, 824 => 337, 818 => 335, 816 => 334, 810 => 332, 807 => 331, 803 => 329, 797 => 327, 791 => 325, 789 => 324, 786 => 323, 784 => 322, 783 => 321, 780 => 320, 774 => 318, 768 => 316, 766 => 315, 763 => 314, 761 => 313, 760 => 312, 752 => 307, 748 => 305, 746 => 304, 738 => 299, 734 => 297, 731 => 296, 729 => 295, 723 => 291, 711 => 284, 705 => 283, 699 => 282, 694 => 280, 686 => 277, 682 => 276, 676 => 272, 674 => 271, 670 => 269, 663 => 265, 660 => 264, 654 => 261, 646 => 258, 642 => 257, 637 => 256, 631 => 253, 620 => 249, 618 => 248, 615 => 247, 613 => 246, 608 => 245, 602 => 243, 599 => 242, 597 => 241, 584 => 230, 578 => 226, 568 => 219, 563 => 218, 560 => 217, 547 => 210, 544 => 209, 532 => 204, 525 => 203, 522 => 202, 509 => 196, 500 => 195, 497 => 194, 485 => 189, 480 => 188, 478 => 187, 471 => 183, 466 => 180, 456 => 173, 449 => 169, 445 => 168, 440 => 165, 437 => 164, 431 => 161, 423 => 158, 417 => 156, 411 => 153, 404 => 149, 398 => 148, 396 => 147, 393 => 146, 391 => 145, 387 => 143, 379 => 138, 374 => 136, 370 => 135, 365 => 133, 359 => 131, 355 => 129, 349 => 127, 347 => 126, 344 => 125, 341 => 124, 329 => 121, 326 => 120, 321 => 119, 314 => 115, 310 => 113, 305 => 110, 300 => 108, 295 => 107, 290 => 105, 285 => 104, 283 => 103, 279 => 101, 277 => 100, 276 => 99, 272 => 97, 267 => 95, 262 => 94, 257 => 92, 252 => 91, 250 => 90, 246 => 88, 244 => 87, 243 => 86, 240 => 85, 231 => 79, 227 => 78, 220 => 73, 218 => 72, 210 => 66, 202 => 65, 194 => 59, 191 => 58, 184 => 54, 179 => 52, 172 => 48, 168 => 46, 165 => 45, 159 => 42, 155 => 40, 150 => 39, 144 => 38, 140 => 37, 135 => 36, 129 => 33, 123 => 30, 117 => 29, 114 => 28, 112 => 27, 102 => 24, 95 => 20, 90 => 17, 86 => 15, 84 => 14, 82 => 12, 78 => 10, 76 => 9, 74 => 7, 71 => 6, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"pages/vacancy_detail.html.twig\" %}
{% block content %}
{# <!-- Modal -->#}
{% if feature('feature_child_site') %}
{{ render(controller(
'App\\\\Controller\\\\Page\\\\ApplicantController::asyncFormModalAction',
{ 'id': vacancy.id }
)) }}
{% else %}
{{ render(controller(
'App\\\\Controller\\\\Page\\\\ApplicantController::formModalAction',
{ 'id': vacancy.id }
)) }}
{% endif %}
<header data-component=\"MenuMobile,Favorite\"
data-vacancy-id=\"{{ vacancy.id }}\"
class=\"fixed-top vacancy-header-top\">
<div class=\"row\">
<div class=\"col-12 col-sm-6 is-align-items-center is-display-flex is-padding-x-30\">
<h2 class=\"d-none d-sm-flex\">{% if vacancy.options.functie is defined %}{{ vacancy.options.functie|first.value }}{% else %}{{ vacancy.title }}{% endif %}</h2>
</div>
<div class=\"col-12 col-sm-6 button-set h-align h-align-right is-margin-bottom-0 is-margin-bottom-mobile-15 is-margin-top-mobile-15 is-padding-x-30\">
{% if vacancy.published %}
{% if vacancy.externalUrl %}
<a target=\"_blank\" href=\"{{ site_master_host_url }}{{ path('redirect_to_apply', {'id': vacancy.id}) }}\"
title=\"{{ 'Apply'|trans }}\"
class=\"is-btn is-btn__cta\">
<i class=\"fal fa-pencil icon-before\"></i>
{{ 'Apply'|trans }}
</a>
{% else %}
<a href=\"{{ path('vacancy_apply', {'id': vacancy.id, 'async': true}) }}\"
title=\"{{ 'Apply'|trans }}\"
class=\"is-btn is-btn__cta{% if not is_mobile() %} apply-btn_modal{% endif %}\"
{% if not is_mobile() %}data-toggle=\"modal\"
data-target=\"#vacancyApplyModal\"{% endif %}>
<i class=\"fal fa-pencil icon-before\"></i>
{{ 'Apply'|trans }}
</a>
{% endif %}
{% if feature('feature_vacancy_save_as_favorite') %}
<span class=\"d-none\" data-is-favorited=\"true\">
<i class=\"fal fa-times icon-before\"></i>
{{ 'Remove'|trans }}
</span>
<span class=\"d-none\" data-is-favorited=\"false\">
<i class=\"fal fa-star icon-before\"></i>
{{ 'Save'|trans }}
</span>
<a href=\"javascript:void(0)\" title=\"{{ 'Save as favorite'|trans }}\"
class=\"is-btn is-btn_add-to-favorites is-btn-outlined-primary favorite-add favorite-vacancy\">
</a>
{% endif %}
{% endif %}
</div>
</div>
</header>
<!-- Version 2 of vacancy view -->
<div data-component=\"Vacancy,Favorite,Apply,CustomHeader\"
data-vacancy-id=\"{{ vacancy.id }}\"{% if vacancy.company.heroName is defined and vacancy.company.heroName is not empty %} data-custom-header=\"{{ media_asset(vacancy.company.hero) }}\" {% endif %}
class=\"component component--default component--vacancy-detail component--vacancy-detail__second-version\">
<div class=\"row\">
<div class=\"col\">
<div class=\"card vacancy-header is-box-shadow-0 animation-element fadeup-element\">
<div class=\"vacancy-intro\">
<div class=\"card-body\">
{% if vacancy.site is not empty and not vacancy.site.hasDomain(app.request.host) %}
<div class=\"row\">
<div class=\"col-12\">
<div class=\"alert alert-success is-margin-bottom-30 is-padding-15\">
Deze vacature staat origineel op <a class=\"is-margin-top-0 is-color-black\"
target=\"_blank\"
href=\"{{ site_url('vacancy_detail', vacancy.site, {'id': vacancy.id, 'slug': vacancy.slug}) }}\">
{{ vacancy.site }}
</a>.
</div>
</div>
</div>
{% endif %}
<div class=\"row\">
{% if vacancy.overviewImage is not empty and vacancy.overviewImage.id or
apiOverviewImage.hasImages() and apiOverviewImage.hasUrlForFilter('original') %}
<div class=\"col-12 col-md-2\">
<figure class=\"logo logo-left\">
{% if vacancy.overviewImage.id is not null %}
<img loading=\"lazy\" src=\"{{ media_asset(vacancy.overviewImage)|imagine_filter(feature('feature_child_site') ? 'original_parent' : 'original') }}\"
alt=\"{{ vacancy.companyName ? vacancy.companyName : vacancy.company.name }}\">
{% else %}
<img loading=\"lazy\" src=\"{{ apiOverviewImage.urlForFilter('original') }}\"
alt=\"{{ vacancy.companyName ? vacancy.companyName : vacancy.company.name }}\">
{% endif %}
</figure>
</div>
{% elseif vacancy.company.logo is not empty and vacancy.company.logo.id or
apiCompanyLogo.hasImages() and apiCompanyLogo.hasUrlForFilter('original')%}
<div class=\"col-12 col-md-2\">
<figure class=\"logo logo-left\">
{% if vacancy.company.logo.id is not null %}
<img loading=\"lazy\" src=\"{{ media_asset(vacancy.company.logo)|imagine_filter(feature('feature_child_site') ? 'original_parent' : 'original') }}\"
alt=\"{{ vacancy.companyName ? vacancy.companyName : vacancy.company.name }}\">
{% else %}
<img loading=\"lazy\" src=\"{{ apiCompanyLogo.urlForFilter('original') }}\"
alt=\"{{ vacancy.companyName ? vacancy.companyName : vacancy.company.name }}\">
{% endif %}
</figure>
</div>
{% endif %}
<div class=\"col-12 col-sm-12 col-md-10\">
<div class=\"vacancy-title\">
<h1>{{ vacancy.title }}</h1>
</div>
<div class=\"vacancy-options\">
<ul>
{% for optionValue in vacancy.optionValues if optionValue.option.visibleInDetail %}
<li>
<i class=\"{{ optionValue.option.fontAwesomeIcon }}\"></i>{{ optionValue.value }}
</li>
{% endfor %}
{% if config_setting('site_vacancy_city_visible_on_detail') %}
<li>
{% if config_setting('site_vacancy_city_on_detail_icon') %}
<i class=\"{{ config_setting('site_vacancy_city_on_detail_icon') }}\"></i>
{% else %}
<i class=\"fal fa-map-marker-alt\"></i>
{% endif %}
{{ vacancy.city }}
<span class=\"option-sub\">
<a href=\"javascript:void(0)\" title=\"{{ 'Show on map'|trans }}\"
data-component=\"MapModal\"
data-lat=\"{{ vacancy.latitude }}\"
data-long=\"{{ vacancy.longitude }}\" data-zoom=\"9\">
( <i class=\"far fa-fw fa-map\"></i>
{{ 'Show on map'|trans }})
</a>
</span>
</li>
{% endif %}
</ul>
</div>
{% if vacancy.published %}
<div class=\"vacancy-actions\">
{% if vacancy.externalUrl %}
<a target=\"_blank\" href=\"{{ site_master_host_url }}{{ path('redirect_to_apply', {'id': vacancy.id}) }}\"
title=\"{{ 'Apply to vacancy'|trans }}\"
class=\"is-btn is-btn__cta\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
{{ 'Apply'|trans }}
</a>
{% else %}
<a href=\"{{ path('vacancy_apply', {'id': vacancy.id, 'async': true}) }}\"
title=\"Apply to vacancy\"
class=\"is-btn is-btn__cta{% if not is_mobile() %} apply-btn_modal{% endif %}\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
{{ 'Apply'|trans }}
</a>
{% endif %}
{% if feature('feature_vacancy_save_as_favorite') %}
<div class=\"widget widget--favorite\">
<span class=\"d-none\" data-is-favorited=\"true\">
<i class=\"far fa-times icon-before\"></i>
{{ 'Remove'|trans }}
<span class=\"d-none d-md-block\"> {{ 'as favorite'|trans }}</span>
</span>
<span class=\"d-none\" data-is-favorited=\"false\">
<i class=\"far fa-star icon-before\"></i>
{{ 'Save as favorite'|trans }}
</span>
<a href=\"javascript:void(0)\"
class=\"favorite-add favorite-vacancy\">
</a>
</div>
{% endif %}
<div class=\"widget widget--share dropdown show\">
<a class=\"dropdown-toggle\" href=\"#\" role=\"button\" id=\"dropdownMenuLink\"
data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
<i class=\"fal fa-share-alt icon-before is-color-primary\"></i>{{ 'Share vacancy'|trans }}
</a>
<div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuLink\">
{% if 'facebook' in config_setting('site_vacancy_share_on') %}
<a href=\"https://www.facebook.com/sharer/sharer.php?u={{ app.request.uri }}\"
title=\"{{ 'Share'|trans }} {{ vacancy.title }} {{ \"on Facebook\"|trans }}\"
class=\"facebook dropdown-item\" target=\"_blank\"><i
class=\"fab fa-facebook-f fa-fw is-color-primary\"></i> Facebook
</a>
{% endif %}
{% if 'linkedIn' in config_setting('site_vacancy_share_on') %}
<a href=\"https://www.linkedin.com/shareArticle?url={{ app.request.uri }}&title={{ vacancy.title }}&summary={{ vacancy.intro }}&source=LinkedIn\"
title=\"{{ 'Share'|trans }} {{ vacancy.title }} {{ 'on'|trans }} LinkedIn\"
class=\"linkedin dropdown-item\" target=\"_blank\"><i
class=\"fab fa-linkedin-in fa-fw is-color-primary\"></i>
LinkedIn
</a>
{% endif %}
{% if 'twitter' in config_setting('site_vacancy_share_on') %}
<a href=\"https://twitter.com/intent/tweet?text={{ vacancy.title }}&url={{ app.request.uri }}\"
title=\"{{ 'Share'|trans }} {{ vacancy.title }} {{ 'on Twitter'|trans }}\"
class=\"twitter dropdown-item\" target=\"_blank\"><i
class=\"fab fa-x-twitter fa-fw is-color-primary\"></i> Twitter
</a>
{% endif %}
{% if 'email' in config_setting('site_vacancy_share_on') %}
<a href=\"{{ getShareByEmailUrl('', '', vacancy) }}\" title=\"{{ 'Share by mail'|trans }}\"
class=\"mail dropdown-item\" target=\"_blank\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-envelope-open icon-before\"></i>
E-mail
</a>
{% endif %}
{% if 'whatsapp' in config_setting('site_vacancy_share_on') %}
<a href=\"{{ getShareOnWhatsAppUrl(\"Bekijk vacature: \"~url('vacancy_detail', {'id' : vacancy.id, 'slug': vacancy.slug})) }}\"
title=\"{{ 'Share with Whatsapp'|trans }}\"
class=\"whatsapp dropdown-item\" target=\"_blank\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fab fa-whatsapp icon-before\"></i>
Whatsapp
</a>
{% endif %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class=\"row is-border-top-1 is-border-color-tertiary is-padding-top-50\">
<main class=\"col-12 col-lg-8\">
<div class=\"card is-box-shadow-0 animation-element fadeup-element fade-start-section\">
<div class=\"card-body vacancy-content\">
{% include 'pages/blocks/inavailable_message.html.twig' %}
{% if config_setting('site_vacancy_intro_visible_on_detail') %}
{{ vacancy.intro|raw }}
{% endif %}
{{ vacancy|vacancy_description(['company_description'])|raw }}
{% if vacancy.canApply %}
<div class=\"button-set h-align h-align-left\">
{% if vacancy.externalUrl %}
<a target=\"_blank\" href=\"{{ site_master_host_url }}{{ path('redirect_to_apply', {'id': vacancy.id}) }}\" title=\"{{ 'Apply'|trans }}\"
class=\"is-btn is-btn__cta is-margin-bottom-0 is-margin-bottom-mobile-15\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
{{ 'Apply to vacancy'|trans }}
</a>
{% else %}
<a href=\"{{ path('vacancy_apply', {'id': vacancy.id, 'async': true}) }}\"
title=\"{{ 'Apply to vacancy'|trans }}\"
class=\"is-btn is-btn__cta{% if not is_mobile() %} apply-btn_modal{% endif %} is-margin-bottom-0 is-margin-bottom-mobile-15\"
data-settings='{\"class\": \"buttonProps\"}'>
<i class=\"fal fa-pencil icon-before\"></i>
{{ 'Apply to vacancy'|trans }}
</a>
{% endif %}
<a href=\"/vacatures\" class=\"is-color-base is-hover-color-primary\"><i
class=\"fal fa-angle-left icon-before is-color-primary\"></i> {{ 'To vacancy overview'|trans }}
</a>
</div>
{% endif %}
</div>
</div>
{% if vacancy.recruiter %}
<div class=\"widget widget--recruiter card is-box-shadow-0 is-background-color-default animation-element fadeup-element\">
<div class=\"card-body\">
<div class=\"row\">
<div class=\"recruiter-img col-12 col-sm-3 col-lg-12 col-xl-3 is-margin-right-0\">
<img loading=\"lazy\" src=\"{{ vich_uploader_asset(vacancy.recruiter, 'picture') }}\"
alt=\"{{ vacancy.recruiter.firstname }} {{ vacancy.recruiter.lastname }}\">
</div>
<div class=\"recruiter-info col-12 col-sm-9 col-lg-12 col-xl-9\">
<h2>{{ 'For more information'|trans }}</h2>
<p>
<span>{{ vacancy.recruiter.firstname }} {{ vacancy.recruiter.lastname }}</span><br>
<a href=\"mailto:{{ vacancy.recruiter.email }}\">{{ vacancy.recruiter.email }}</a><br>
<a href=\"{{ vacancy.recruiter.phone|formatPhoneRFC3966 }}\">{{ vacancy.recruiter.phone }}</a>
</p>
</div>
</div>
</div>
</div>
{% endif %}
</main>
<aside class=\"col-12 col-lg-4\">
<div class=\"widget widget--office card is-box-shadow-0 is-background-color-default animation-element fadeup-element\">
<div class=\"card-body\">
{% set detailImageFilter = feature('feature_child_site') ? 'w480_thumbnail_parent' : 'w480_thumbnail' %}
{% if vacancy.youtube %}
<div class=\"embed-responsive embed-responsive-16by9\">
<iframe width=\"560\" height=\"315\" class=\"embed-responsive-item\"
src=\"{{ vacancy.youtube|youtube }}\" frameborder=\"0\"
allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\"
allowfullscreen>
</iframe>
</div>
{% elseif vacancy.company.video %}
<div class=\"embed-responsive embed-responsive-16by9\">
<iframe width=\"560\" height=\"315\" class=\"embed-responsive-item\"
src=\"{{ vacancy.company.video|youtube }}\" frameborder=\"0\"
allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\"
allowfullscreen>
</iframe>
</div>
{% elseif vacancy.detailImage is not empty and vacancy.detailImage.fileName or
apiDetailImage.hasImages() and apiDetailImage.hasUrlForFilter('w480_thumbnail') %}
<figure class=\"company-logo\">
{% if vacancy.detailImage.id is not null %}
<img loading=\"lazy\" src=\"{{ media_asset(vacancy.detailImage)|imagine_filter(detailImageFilter) }}\"/>
{% else %}
<img loading=\"lazy\" src=\"{{ apiDetailImage.urlForFilter('w480_thumbnail') }}\"/>
{% endif %}
</figure>
{% elseif vacancy.company.hero is not empty and vacancy.company.hero.fileName or
apiCompanyHero.hasImages() and apiCompanyHero.hasUrlForFilter('w480_thumbnail') %}
<figure class=\"company-logo\">
{% if vacancy.company.hero.id is not null %}
<img loading=\"lazy\" src=\"{{ media_asset(vacancy.company.hero)|imagine_filter(detailImageFilter) }}\"/>
{% else %}
<img loading=\"lazy\" src=\"{{ apiCompanyHero.urlForFilter('w480_thumbnail') }}\"/>
{% endif %}
</figure>
{% endif %}
{% if vacancy.company.hasDetailPage %}
<a href=\"{{ site_url('company_detail', vacancy.company.site ,{'id': vacancy.company.id, 'slug': vacancy.company.slug}) }}\">
<h2 class=\"is-font-size-20\">
{% if vacancy.companyName %}
{{ vacancy.companyName }}
{% else %}
{{ vacancy.company.name }}
{% endif %}
</h2>
</a>
{% else %}
<h2 class=\"is-font-size-20\">
{% if vacancy.companyName %}
{{ vacancy.companyName }}
{% else %}
{{ vacancy.company.name }}
{% endif %}
</h2>
{% endif %}
{% if vacancy|vacancy_description_block('company_description') is not empty %}
<div class=\"office-content\">
<p>{{ vacancy|vacancy_description_block('company_description')|striptags('<p>')|raw }}</p>
</div>
{% else %}
{% if vacancy.company.description is not empty %}
<div class=\"office-content\">
<p>{{ vacancy.company.description|raw }}</p>
</div>
{% endif %}
{% endif %}
<span class=\"toggle-btn\"><i class=\"fal fa-angle-down w-100 text-center is-font-size-40\"></i></span>
</div>
</div>
{% if vacancy.startDate and vacancy.endDate and (config_setting('site_vacancy_show_start_date_detail') or config_setting('site_vacancy_show_end_date_detail')) %}
<div class=\"widget widget--vac-info card is-box-shadow-0 is-background-color-default animation-element fadeup-element\">
<div class=\"card-body\">
<h3>{{ 'Vacancy information'|trans }}</h3>
<ul class=\"is-margin-bottom-0\">
{% if vacancy.startDate and config_setting('site_vacancy_show_start_date_detail') %}
<li>
<i class=\"fal fa-calendar-alt is-color-primary\"></i>{{ 'Open since'|trans }} {{ vacancy.startDate|date('d-m-Y') }}
</li>
{% endif %}
{% if vacancy.endDate and config_setting('site_vacancy_show_end_date_detail') %}
<li>
<i class=\"fal fa-hourglass-start is-color-primary\"></i>{{ 'Closing date'|trans }} {{ vacancy.endDate|date('d-m-Y') }}
</li>
{% endif %}
</ul>
</div>
</div>
{% endif %}
{% if feature('feature_vacancy_related_vacancies') and relatedVacancies is not empty %}
<div class=\"col-12\">
<div class=\"component component--related-vacancies animation-element fadeup-element\">
<h2 class=\"is-font-size-27\">{{ 'Related vacancies'|trans }}</h2>
<div class=\"row\">
{% for vacancy in relatedVacancies[:3] %}
<div class=\"col-12 {% if not loop.first %}{% endif %} flex-same-height-item animation-element fadeup-element\">
<div data-component=\"Favorite\" data-vacancy-id=\"{{ vacancy.id }}\"
class=\"card is-box-shadow-0 is-border-1 is-border-color-tertiary vacancy__first-version\">
<div class=\"card-body\">
<div class=\"vacancy\">
<div class=\"vacancy-top\">
<div class=\"vacancy-title\">
<a title=\"{{ vacancy.title }}\"
href=\"{{ path('vacancy_detail', {'id' : vacancy.id, 'slug' : vacancy.slug}) }}\">
<h3>{{ vacancy.title }}</h3>
</a>
</div>
<div class=\"vacancy-badges\">
{% if vacancy.new %}
<span class=\"badge badge--topvacancy badge__primary\">
<p>{{ 'New'|trans }}</p>
</span>
{% endif %}
{% if vacancy.featured %}
<span class=\"badge badge--topvacancy badge__accent\">
<p>{{ 'Featured vacancy'|trans }}</p>
</span>
{% endif %}
</div>
</div>
<div class=\"vacancy-footer d-block\">
<div data-format=\"FooterFormatter\"
class=\"vacancy-options w-100\">
<ul>
<li>
<i class=\"fal fa-map-marker-alt\"></i> {{ vacancy.city }}
</li>
{% for optionValue in vacancy.optionValues %}
<li>
<i class=\"{{ optionValue.option.fontAwesomeIcon }}\"></i>{{ optionValue.value }}
</li>
{% endfor %}
</ul>
</div>
<a href=\"{{ path('vacancy_detail', {'id' : vacancy.id, 'slug' : vacancy.slug}) }}\"
title=\"{{ vacancy.title }}\">
{{ 'Show vacancy'|trans }} <i
class=\"far fa-angle-right icon-after\"></i>
</a>
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
<div class=\"widget widget--sm widget--sm__default text-center animation-element fadeup-element\">
{% if config_setting('site_social_facebook') %}
<a href=\"{{ config_setting('site_social_facebook') }}\"
title=\"{{ 'Follow %site-company-name% on'|trans({'%site-company-name%': site_company_name|default('Getnoticed')}) }} Facebook\"
target=\"_blank\"><i
class=\"fab fa-fw fa-facebook-f\"></i></a>
{% endif %}
{% if config_setting('site_social_twitter') %}
<a href=\"{{ config_setting('site_social_twitter') }}\"
title=\"{{ 'Follow %site-company-name% on'|trans({'%site-company-name%': site_company_name|default('Getnoticed')}) }} Twitter\"
target=\"_blank\"><i
class=\"fab fa-fw fa-x-twitter\"></i></a>
{% endif %}
{% if config_setting('site_social_linkedin') %}
<a href=\"{{ config_setting('site_social_linkedin') }}\"
title=\"{{ 'Follow %site-company-name% on'|trans({'%site-company-name%': site_company_name|default('Getnoticed')}) }} LinkedIn\"
target=\"_blank\"><i
class=\"fab fa-fw fa-linkedin-in\"></i></a>
{% endif %}
{% if config_setting('site_social_youtube') %}
<a href=\"{{ config_setting('site_social_youtube') }}\"
title=\"{{ 'Follow %site-company-name% on'|trans({'%site-company-name%': site_company_name|default('Getnoticed')}) }} Youtube\"
target=\"_blank\"><i
class=\"fab fa-fw fa-youtube\"></i></a>
{% endif %}
{% if config_setting('site_social_instagram') %}
<a href=\"{{ config_setting('site_social_instagram') }}\"
title=\"{{ 'Follow %site-company-name% on'|trans({'%site-company-name%': site_company_name|default('Getnoticed')}) }} Instagram\"
target=\"_blank\"><i class=\"fab fa-fw fa-instagram\"></i></a>
{% endif %}
</div>
</aside>
</div>
</div>
{% endblock %}
", "Theme/carriereinlimburg/pages/vacancy_detail.html.twig", "/home/mbobanen/domains/mbobanen.staging.03.getnoticed.nl/releases/3/templates/Theme/carriereinlimburg/pages/vacancy_detail.html.twig");
}
}