<?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;
/* pages/vacancy_detail.html.twig */
class __TwigTemplate_e6cd3a14a1f58a0356245077f8e3aba9 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
];
}
protected function doGetParent(array $context)
{
// line 1
return "pages/vacancy_detail_layout_base.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", "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", "pages/vacancy_detail.html.twig"));
$this->parent = $this->loadTemplate("pages/vacancy_detail_layout_base.html.twig", "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);
}
public function getTemplateName()
{
return "pages/vacancy_detail.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 34 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"pages/vacancy_detail_layout_base.html.twig\" %}
{#{% block content %}#}
{#<!-- Modal -->#}
{#{{ render(controller(#}
{#'App\\\\Controller\\\\Page\\\\ApplicantController::formModalAction',#}
{#{ 'id': vacancy.id }#}
{#)) }}#}
{#<!-- 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\">#}
{#<a href=\"{{ path('vacancies') }}\" title=\"{{ 'To vacancy overview'|trans }}\"#}
{#class=\"is-btn is-btn--link is-btn--vacancy-overview pl-0 float-left\"#}
{#data-settings='{\"class\": \"buttonProps\"}'>#}
{#<i class=\"far fa-angle-left icon-before\"></i>#}
{#{{ 'To vacancy overview'|trans }}#}
{#</a>#}
{#<div class=\"card\">#}
{#<div class=\"vacancy-intro\">#}
{#<div class=\"card-body\">#}
{#<div class=\"row\">#}
{#{% if vacancy.company.logo is defined and vacancy.company.logo %}#}
{#<div class=\"col-12 col-md-2\">#}
{#<figure class=\"logo logo-left\">#}
{#<img loading=\"lazy\" src=\"{{ media_asset(vacancy.company.logo) }}\"#}
{#alt=\"{{ vacancy.company.name }}\">#}
{#</figure>#}
{#</div>#}
{#{% endif %}#}
{#<div class=\"col-12 col-md-10\">#}
{#<div class=\"vacancy-title\">#}
{#<h1>{{ vacancy.title }}</h1>#}
{#</div>#}
{#<div class=\"vacancy-options\">#}
{#<ul>#}
{#{% if config_setting('site_vacancy_city_visible_on_detail') %}#}
{#{% if vacancy.city %}#}
{#<li>#}
{#{% if config_setting('site_vacancy_city_on_detail_icon') %}#}
{#<i class=\"{{ config_setting('site_vacancy_city_on_detail_icon') }}\"></i>#}
{#{% else %}#}
{#<i class=\"fas fa-fw fa-map-marker\"></i>#}
{#{% endif %}#}
{#{{ vacancy.city }}#}
{#</li>#}
{#{% endif %}#}
{#{% endif %}#}
{#{% for optionValue in vacancy.optionValues if optionValue.option.visibleInDetail %}#}
{#<li>#}
{#<i class=\"{{ optionValue.option.fontAwesomeIcon }}\"></i>{{ optionValue.value }}#}
{#</li>#}
{#{% endfor %}#}
{#{% if feature('feature_vacancy_map') %}#}
{#<li class=\"on-map\">#}
{#<span class=\"option-sub\">(#}
{#<a href=\"#\" title=\"{{ 'Show on map'|trans }}\"><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=\"{{ vacancy.externalUrl }}\" title=\"{{ 'Apply'|trans }}\"#}
{#class=\"is-btn is-background-color-accent\" data-settings='{\"class\": \"buttonProps\"}'>#}
{#<i class=\"fal fa-pencil icon-before\"></i>#}
{#{{ 'Apply'|trans }}#}
{#</a>#}
{#{% else %}#}
{#<a href=\"{{ path('vacancy_apply', {'id': vacancy.id }) }}\"#}
{#title=\"{{ 'Apply'|trans }}\" class=\"is-btn is-background-color-accent{% 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') %}#}
{#<span class=\"d-none\" data-is-favorited=\"true\">#}
{#<i class=\"fal fa-times icon-before\"></i>#}
{#<span>{{ 'Delete'|trans }} {{ 'as favorite'|trans }}</span>#}
{#</span>#}
{#<span class=\"d-none\" data-is-favorited=\"false\">#}
{#<i class=\"fal fa-star icon-before\"></i>#}
{#<span>{{ 'Save as favorite'|trans }}</span>#}
{#</span>#}
{#<a href=\"javascript:void(0)\" class=\"is-btn is-btn--link favourite favorite-add favorite-vacancy\"></a>#}
{#{% endif %}#}
{#{% include 'pages/partials/vacancy_detail_sharing.html.twig' %}#}
{#</div>#}
{#{% endif %}#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#<div class=\"row\">#}
{#<main class=\"col-12 col-lg-8\">#}
{#<div class=\"card\">#}
{#<div class=\"card-body\">#}
{#{% include 'pages/blocks/inavailable_message.html.twig' %}#}
{#{% if config_setting('site_vacancy_intro_visible_on_detail') %}#}
{#{{ vacancy.intro|raw }}#}
{#{% endif %}#}
{#{{ vacancy|vacancy_description|raw }}#}
{#{% if vacancy.canApply %}#}
{#<div class=\"button-set h-align h-align-left\">#}
{#{% if vacancy.externalUrl %}#}
{#<a target=\"_blank\" href=\"{{ vacancy.externalUrl }}\" title=\"{{ 'Apply'|trans }}\"#}
{#class=\"is-btn is-background-color-accent\" data-settings='{\"class\": \"buttonProps\"}'>#}
{#<i class=\"fal fa-pencil icon-before\"></i>#}
{#{{ 'Apply'|trans }}#}
{#</a>#}
{#{% else %}#}
{#<a href=\"{{ path('vacancy_apply', {'id': vacancy.id }) }}\" title=\"{{ 'Apply'|trans }}\"#}
{#class=\"is-btn is-background-color-accent{% if not is_mobile() %} apply-btn_modal{% endif %}\" data-settings='{\"class\": \"buttonProps\"}'>#}
{#<i class=\"fal fa-pencil icon-before\"></i>#}
{#{{ 'Apply'|trans }}#}
{#</a>#}
{#{% endif %}#}
{#</div>#}
{#{% endif %}#}
{#</div>#}
{#</div>#}
{#</main>#}
{#<aside class=\"col-12 col-lg-4\">#}
{#{% if vacancy.startDate and vacancy.endDate or vacancy.youtube %}#}
{#<div class=\"widget widget--vac-info card\">#}
{#<div class=\"card-body\">#}
{#<h3>{{ 'Vacancy information'|trans }}</h3>#}
{#{% if vacancy.startDate and vacancy.endDate %}#}
{#<ul>#}
{#{% if vacancy.startDate %}#}
{#<li><i class=\"far fa-calendar-alt\"></i>{{ 'Open since'|trans }} {{ vacancy.startDate|date('d-m-Y') }}</li>#}
{#{% endif %}#}
{#{% if vacancy.endDate %}#}
{#<li>#}
{#<i class=\"far fa-hourglass-start\"></i>{{ 'Closing date'|trans }} {{ vacancy.endDate|date('d-m-Y') }}#}
{#</li>#}
{#{% endif %}#}
{#</ul>#}
{#{% endif %}#}
{#{% if vacancy.youtube is not empty %}#}
{#<div class=\"embed-responsive embed-responsive-16by9\">#}
{#<iframe class=\"embed-responsive-item\" src=\"{{ vacancy.youtube|youtube }}\"#}
{#allowfullscreen></iframe>#}
{#</div>#}
{#{% endif %}#}
{#</div>#}
{#</div>#}
{#{% endif %}#}
{#<div class=\"widget widget--office card\">#}
{#<div class=\"card-body\">#}
{#<h3>{{ vacancy.company.name }}</h3>#}
{#{% if vacancy.address and vacancy.zipcode and vacancy.city %}#}
{#<p>#}
{#{{ vacancy.address }} <br>#}
{#{{ vacancy.zipcode }}, {{ vacancy.city }}#}
{#</p>#}
{#{% else %}#}
{#{% if vacancy.company.address and vacancy.company.zipcode and vacancy.company.city %}#}
{#<p>#}
{#{{ vacancy.company.address }} <br>#}
{#{{ vacancy.company.zipcode }}, {{ vacancy.company.city }}#}
{#</p>#}
{#{% endif %}#}
{#{% endif %}#}
{#{% if feature('feature_vacancy_more_info') %}#}
{#<ul>#}
{#<li>#}
{#<a href=\"#\" title=\"{{ 'More vacancies of'|trans }} {{ vacancy.company.name }}\">#}
{#<i class=\"far fa-list\"></i>{{ 'More vacancies of establishment / office'|trans }}#}
{#</a>#}
{#</li>#}
{#<li>#}
{#<a href=\"#\" title=\"{{ 'Employees speaking'|trans }}\">#}
{#<i class=\"fal fa-users\"></i>{{ 'Employees speaking'|trans }}#}
{#</a>#}
{#</li>#}
{#<li>#}
{#<a href=\"{{ getCompanyDetailPath(vacancy.company) }}\"#}
{#title=\"{{ 'More information'|trans }}\">#}
{#<i class=\"fal fa-info-circle\"></i>{{ 'More information'|trans }}#}
{#</a>#}
{#</li>#}
{#</ul>#}
{#{% endif %}#}
{#</div>#}
{#</div>#}
{#{% if vacancy.recruiter %}#}
{#<div class=\"widget widget--recruiter card\">#}
{#<div class=\"card-body\">#}
{#<div class=\"row\">#}
{#<div class=\"recruiter-img col-12 col-sm-3 col-lg-12 col-xl-4\">#}
{#<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-8\">#}
{#<h3>{{ 'For more information'|trans }}</h3>#}
{#<p>#}
{#<span>{{ vacancy.recruiter.firstname }} {{ vacancy.recruiter.lastname }}</span><br>#}
{#{{ vacancy.recruiter.email }}<br>#}
{#{{ vacancy.recruiter.phone }}#}
{#{% if config_setting('site_vacancy_show_whatsapp_button_recruiters') %}#}
{#{% if is_mobile() %}#}
{#<a href=\"https://api.whatsapp.com/send?phone={{ vacancy.recruiter.phone|formatPhoneE164 }}\" title=\"{{ \"App %s\"|trans|format(vacancy.recruiter.firstName) }}\">{{ \"App %s\"|trans|format(vacancy.recruiter.firstName) }}</a>#}
{#{% else %}#}
{#<a href=\"https://web.whatsapp.com/send?phone={{ vacancy.recruiter.phone|formatPhoneE164 }}\" title=\"{{ \"App %s\"|trans|format(vacancy.recruiter.firstName) }}\">{{ \"App %s\"|trans|format(vacancy.recruiter.firstName) }}</a>#}
{#{% endif %}#}
{#{% endif %}#}
{#</p>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#{% endif %}#}
{#<div class=\"widget widget--sm widget--sm__default text-center\">#}
{#{% 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>#}
{#{% if feature('feature_vacancy_related_vacancies') and relatedVacancies is not empty %}#}
{#<div class=\"col-12\">#}
{#<div class=\"component component--related-vacancies\">#}
{#<h2>{{ 'Related vacancies'|trans }}</h2>#}
{#<div class=\"row\">#}
{#{% for vacancy in relatedVacancies[:3] %}#}
{#<div class=\"col-12 {% if not loop.first %}col-md-6 {% endif %}col-lg-4 flex-same-height-item\">#}
{#<div data-component=\"Favorite\" data-vacancy-id=\"{{ vacancy.id }}\"#}
{#class=\"card 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--new\">#}
{#<p>{{ 'New'|trans }}</p>#}
{#</span>#}
{#{% endif %}#}
{#{% if vacancy.featured %}#}
{#<span class=\"badge badge--topvacancy\">#}
{#<p>{{ 'Featured vacancy'|trans }}</p>#}
{#</span>#}
{#{% endif %}#}
{#</div>#}
{#</div>#}
{#<div class=\"vacancy-body\" data-format=\"IntroFormatter\">#}
{#{{ vacancy.intro[:config_setting('site_vacancy_intro_character_limit')|default(200)]|raw }}{{ vacancy.intro|length > config_setting('site_vacancy_intro_character_limit')|default(200) ? '...' : '' }}#}
{#</div>#}
{#<div class=\"vacancy-footer\">#}
{#<div data-format=\"FooterFormatter\" class=\"vacancy-options\">#}
{#<ul>#}
{#{% if config_setting('site_vacancy_show_location') %}#}
{#<li><i class=\"fas fa-map-marker\"></i> {{ vacancy.city }}</li>#}
{#{% endif %}#}
{#{% 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 }}\"#}
{#class=\"is-btn is-btn-small show-vacancy-btn\">#}
{#{{ 'Show vacancy'|trans }}<i class=\"far fa-angle-right icon-after\"></i>#}
{#</a>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#{% endfor %}#}
{#</div>#}
{#</div>#}
{#</div>#}
{#{% endif %}#}
{#</div>#}
{#</div>#}
{#{% endblock %}#}", "pages/vacancy_detail.html.twig", "/home/mbobanen/domains/mbobanen.staging.03.getnoticed.nl/releases/3/templates/pages/vacancy_detail.html.twig");
}
}