<?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;
/* @VisualMediaPage/Page/pagina.html.twig */
class __TwigTemplate_22f99e830a1d7f758ab00ea2341ece8cd76f7f1eb58fa618ef17e4cff638fc2a extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "Layout/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@VisualMediaPage/Page/pagina.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@VisualMediaPage/Page/pagina.html.twig"));
$this->parent = $this->loadTemplate("Layout/base.html.twig", "@VisualMediaPage/Page/pagina.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 4
echo " ";
$this->loadTemplate("@VisualMediaVisual/Visual/pagevisual.html.twig", "@VisualMediaPage/Page/pagina.html.twig", 4)->display(twig_array_merge($context, ["visuals" => twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 4, $this->source); })()), "visuals", [], "any", false, false, false, 4)]));
// line 5
echo "
<section class=\"section section-page\">
<div class=\"page-stripes\"></div>
<div class=\"breadcrumb\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 13
$this->loadTemplate("@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig", "@VisualMediaPage/Page/pagina.html.twig", 13)->display($context);
// line 14
echo " </div>
</div>
</div>
</div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-8 offset-lg-2\">
";
// line 22
if ((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 22, $this->source); })()), "htmlContent", [], "any", false, false, false, 22) != "")) {
// line 23
echo " <div class=\"plain-content\">
";
// line 24
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigContentScan']->scan(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 24, $this->source); })()), "htmlContent", [], "any", false, false, false, 24)), "html", null, true);
echo "
</div>
";
}
// line 27
echo " </div>
</div>
<div class=\"standard-alinea alinea1\">
<div class=\"container\">
";
// line 32
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 32, $this->source); })()), "alinea1", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea2\">
<div class=\"container\">
";
// line 37
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 37, $this->source); })()), "alinea2", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea3\">
<div class=\"container\">
";
// line 42
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 42, $this->source); })()), "alinea3", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea4\">
<div class=\"container\">
";
// line 47
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 47, $this->source); })()), "alinea4", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea5\">
<div class=\"container\">
";
// line 52
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 52, $this->source); })()), "alinea5", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea6\">
<div class=\"container\">
";
// line 57
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 57, $this->source); })()), "alinea6", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea7\">
<div class=\"container\">
";
// line 62
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 62, $this->source); })()), "alinea7", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea8\">
<div class=\"container\">
";
// line 67
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 67, $this->source); })()), "alinea8", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea9\">
<div class=\"container\">
";
// line 72
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 72, $this->source); })()), "alinea9", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
<div class=\"standard-alinea alinea10\">
<div class=\"container\">
";
// line 77
echo $this->extensions['VisualMedia\BlockTemplateBundle\Twig\TwigScanBlock']->blockScan((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 77, $this->source); })()), "alinea10", "Blocks/contentblock.html.twig");
echo "
</div>
</div>
";
// line 81
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 81, $this->source); })()), "employee", [], "any", false, false, false, 81))) {
// line 82
echo " ";
$this->loadTemplate("Employee/view.html.twig", "@VisualMediaPage/Page/pagina.html.twig", 82)->display(twig_array_merge($context, ["employee" => twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 82, $this->source); })()), "employee", [], "any", false, false, false, 82)]));
// line 83
echo " ";
}
// line 84
echo " </div>
</section>
<section class=\"extra-contentblokken\">
";
// line 88
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 88, $this->source); })()), "kamReference", [], "any", false, false, false, 88))) {
// line 89
echo " ";
$this->loadTemplate("Layout/Include/kam.html.twig", "@VisualMediaPage/Page/pagina.html.twig", 89)->display($context);
// line 90
echo " ";
}
// line 91
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 91, $this->source); })()), "mvoReference", [], "any", false, false, false, 91))) {
// line 92
echo " ";
$this->loadTemplate("Layout/Include/mvo.html.twig", "@VisualMediaPage/Page/pagina.html.twig", 92)->display($context);
// line 93
echo " ";
}
// line 94
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 94, $this->source); })()), "sponsorReference", [], "any", false, false, false, 94))) {
// line 95
echo " ";
$this->loadTemplate("Layout/Include/sponsor.html.twig", "@VisualMediaPage/Page/pagina.html.twig", 95)->display($context);
// line 96
echo " ";
}
// line 97
echo " </section>
";
// line 106
echo " ";
if ( !(null === twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 106, $this->source); })()), "photosAlbum", [], "any", false, false, false, 106))) {
// line 107
echo " <div class=\"container-fluid p-0\">
<div class=\"gallery row\">
";
// line 109
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 109, $this->source); })()), "photosAlbum", [], "any", false, false, false, 109), "photos", [], "any", false, false, false, 109));
foreach ($context['_seq'] as $context["_key"] => $context["photo"]) {
// line 110
echo " ";
$context["src"] = $this->extensions['VisualMedia\LisaBundle\Twig\TwigUploadUrl']->url(twig_get_attribute($this->env, $this->source, $context["photo"], "upload", [], "any", false, false, false, 110), ["width" => 720]);
// line 111
echo " ";
$context["alt"] = twig_get_attribute($this->env, $this->source, $context["photo"], "imageAlt", [], "any", false, false, false, 111);
// line 112
echo " ";
$context["title"] = twig_get_attribute($this->env, $this->source, $context["photo"], "imageTitle", [], "any", false, false, false, 112);
// line 113
echo " <div class=\"photo col-6 col-md-6 col-lg-3 p-0\">
<figure>
<img data-src=\"";
// line 115
echo twig_escape_filter($this->env, (isset($context["src"]) || array_key_exists("src", $context) ? $context["src"] : (function () { throw new RuntimeError('Variable "src" does not exist.', 115, $this->source); })()), "html", null, true);
echo "\" src=\"";
echo twig_escape_filter($this->env, (isset($context["src"]) || array_key_exists("src", $context) ? $context["src"] : (function () { throw new RuntimeError('Variable "src" does not exist.', 115, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 115, $this->source); })()), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, (isset($context["alt"]) || array_key_exists("alt", $context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.', 115, $this->source); })()), "html", null, true);
echo "\" class=\"img-fluid lazy\" />
</figure>
<i class=\"far fa-search-plus\"></i>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['photo'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 120
echo " </div>
</div>
";
}
// line 123
echo " ";
// line 124
echo " <!-- <section class=\"section section-page-expertise\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 129
echo "
<h2 class=\"text-center\">";
// line 130
echo "</h2>
<div class=\"project-list\">
";
// line 133
echo " ";
// line 134
echo " ";
// line 135
echo " <p>Geen projecten gevonden</p>
";
// line 137
echo " </div>
</div>
</div>
</div>
</section> -->
";
// line 143
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@VisualMediaPage/Page/pagina.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 313 => 143, 306 => 137, 303 => 135, 301 => 134, 299 => 133, 295 => 130, 292 => 129, 286 => 124, 284 => 123, 279 => 120, 262 => 115, 258 => 113, 255 => 112, 252 => 111, 249 => 110, 245 => 109, 241 => 107, 238 => 106, 230 => 97, 227 => 96, 224 => 95, 221 => 94, 218 => 93, 215 => 92, 212 => 91, 209 => 90, 206 => 89, 204 => 88, 198 => 84, 195 => 83, 192 => 82, 190 => 81, 183 => 77, 175 => 72, 167 => 67, 159 => 62, 151 => 57, 143 => 52, 135 => 47, 127 => 42, 119 => 37, 111 => 32, 104 => 27, 98 => 24, 95 => 23, 93 => 22, 83 => 14, 81 => 13, 71 => 5, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'Layout/base.html.twig' %}
{% block main %}
{% include '@VisualMediaVisual/Visual/pagevisual.html.twig' with { visuals: page.visuals } %}
<section class=\"section section-page\">
<div class=\"page-stripes\"></div>
<div class=\"breadcrumb\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
{% include '@VisualMediaBreadcrumb/Breadcrumb/breadcrumb.html.twig' %}
</div>
</div>
</div>
</div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-8 offset-lg-2\">
{% if (page.htmlContent != '' )%}
<div class=\"plain-content\">
{{ page.htmlContent|scan }}
</div>
{% endif %}
</div>
</div>
<div class=\"standard-alinea alinea1\">
<div class=\"container\">
{{blockscan(page,'alinea1','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea2\">
<div class=\"container\">
{{blockscan(page,'alinea2','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea3\">
<div class=\"container\">
{{blockscan(page,'alinea3','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea4\">
<div class=\"container\">
{{blockscan(page,'alinea4','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea5\">
<div class=\"container\">
{{blockscan(page,'alinea5','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea6\">
<div class=\"container\">
{{blockscan(page,'alinea6','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea7\">
<div class=\"container\">
{{blockscan(page,'alinea7','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea8\">
<div class=\"container\">
{{blockscan(page,'alinea8','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea9\">
<div class=\"container\">
{{blockscan(page,'alinea9','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
<div class=\"standard-alinea alinea10\">
<div class=\"container\">
{{blockscan(page,'alinea10','Blocks/contentblock.html.twig')|raw}}
</div>
</div>
{% if page.employee is not null %}
{% include 'Employee/view.html.twig' with { 'employee': page.employee } %}
{% endif %}
</div>
</section>
<section class=\"extra-contentblokken\">
{% if page.kamReference is not null %}
{% include 'Layout/Include/kam.html.twig' %}
{% endif %}
{% if page.mvoReference is not null %}
{% include 'Layout/Include/mvo.html.twig' %}
{% endif %}
{% if page.sponsorReference is not null %}
{% include 'Layout/Include/sponsor.html.twig' %}
{% endif %}
</section>
{# <section class=\"section cta-container\">
{% include 'Layout/Include/cta.html.twig' %}
</section> #}
{% if page.photosAlbum is not null %}
<div class=\"container-fluid p-0\">
<div class=\"gallery row\">
{% for photo in page.photosAlbum.photos %}
{% set src = photo.upload|url({ width: 720 }) %}
{% set alt = photo.imageAlt %}
{% set title = photo.imageTitle %}
<div class=\"photo col-6 col-md-6 col-lg-3 p-0\">
<figure>
<img data-src=\"{{ src }}\" src=\"{{src}}\" title=\"{{ title }}\" alt=\"{{ alt }}\" class=\"img-fluid lazy\" />
</figure>
<i class=\"far fa-search-plus\"></i>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{#{% if page is defined and page.expertise %}#}
<!-- <section class=\"section section-page-expertise\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
{#{% set project_category = page.projectCategory|default(null) %}#}
<h2 class=\"text-center\">{#{ (project_category.title ~ ' Projecten')|upper }#}</h2>
<div class=\"project-list\">
{#{% for project in project_category.limitedProjects %}#}
{#{% include 'Layout/Include/project-card.html.twig' with {project: project} only %}#}
{#{% else %}#}
<p>Geen projecten gevonden</p>
{#{% endfor %}#}
</div>
</div>
</div>
</div>
</section> -->
{#{% endif %} #}
{% endblock %}", "@VisualMediaPage/Page/pagina.html.twig", "/var/www/vhosts/localhost/html/templates/VisualMediaPageBundle/views/Page/pagina.html.twig");
}
}