<?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;
/* @VisualMediaEmployee/EmployeeLayout/view.html.twig */
class __TwigTemplate_9249c46b62eb5c11536fa2a16dda7853 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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@VisualMediaEmployee/EmployeeLayout/view.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@VisualMediaEmployee/EmployeeLayout/view.html.twig"));
$this->parent = $this->loadTemplate("Layout/base.html.twig", "@VisualMediaEmployee/EmployeeLayout/view.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 4
public function block_main($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", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 5
echo "<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
";
// line 8
$context["breadcrumbs"] = [0 => ["path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("employee_index"), "title" => "Medewerkers"], 1 => ["title" => twig_get_attribute($this->env, $this->source, // line 10
(isset($context["employee"]) || array_key_exists("employee", $context) ? $context["employee"] : (function () { throw new RuntimeError('Variable "employee" does not exist.', 10, $this->source); })()), "name", [], "any", false, false, false, 10)]];
// line 12
echo " ";
$this->loadTemplate("@VisualMediaBreadcrumb/Breadcrumb/breadcrumb_static.html.twig", "@VisualMediaEmployee/EmployeeLayout/view.html.twig", 12)->display(twig_array_merge($context, ["breadcrumbs" => (isset($context["breadcrumbs"]) || array_key_exists("breadcrumbs", $context) ? $context["breadcrumbs"] : (function () { throw new RuntimeError('Variable "breadcrumbs" does not exist.', 12, $this->source); })())]));
// line 13
echo " </div>
</div>
</div>
<section class=\"employee-view\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
<div class=\"employee-view_image\">
<img src=\"";
// line 21
echo twig_escape_filter($this->env, $this->extensions['VisualMedia\LisaBundle\Twig\TwigUploadUrl']->url(twig_get_attribute($this->env, $this->source, (isset($context["employee"]) || array_key_exists("employee", $context) ? $context["employee"] : (function () { throw new RuntimeError('Variable "employee" does not exist.', 21, $this->source); })()), "upload", [], "any", false, false, false, 21)), "html", null, true);
echo "\" alt=\"\" class=\"img-fluid\" />
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"employee-view_name\">
<h3>";
// line 26
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["employee"]) || array_key_exists("employee", $context) ? $context["employee"] : (function () { throw new RuntimeError('Variable "employee" does not exist.', 26, $this->source); })()), "firstName", [], "any", false, false, false, 26), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["employee"]) || array_key_exists("employee", $context) ? $context["employee"] : (function () { throw new RuntimeError('Variable "employee" does not exist.', 26, $this->source); })()), "lastName", [], "any", false, false, false, 26), "html", null, true);
echo "</h3>
</div>
<div class=\"employee-view_content\">
";
// line 29
echo twig_get_attribute($this->env, $this->source, (isset($context["employee"]) || array_key_exists("employee", $context) ? $context["employee"] : (function () { throw new RuntimeError('Variable "employee" does not exist.', 29, $this->source); })()), "htmlContent", [], "any", false, false, false, 29);
echo "
</div>
</div>
<div class=\"col-12 mt-5\">
<a href=\"";
// line 33
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("employee_index");
echo "\" class=\"btn btn-primary\" ><i class=\"fas fa-chevron-left\"></i> ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("employee.view.back_to_index", [], "frontend"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@VisualMediaEmployee/EmployeeLayout/view.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 112 => 33, 105 => 29, 97 => 26, 89 => 21, 79 => 13, 76 => 12, 74 => 10, 73 => 8, 68 => 5, 58 => 4, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'Layout/base.html.twig' %}
{% block main %}
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12\">
{% set breadcrumbs = [
{ path: path('employee_index'), title: 'Medewerkers' },
{ title: employee.name }
] %}
{% include '@VisualMediaBreadcrumb/Breadcrumb/breadcrumb_static.html.twig' with { 'breadcrumbs': breadcrumbs } %}
</div>
</div>
</div>
<section class=\"employee-view\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 col-lg-6\">
<div class=\"employee-view_image\">
<img src=\"{{ employee.upload|url() }}\" alt=\"\" class=\"img-fluid\" />
</div>
</div>
<div class=\"col-12 col-lg-6\">
<div class=\"employee-view_name\">
<h3>{{ employee.firstName }} {{ employee.lastName }}</h3>
</div>
<div class=\"employee-view_content\">
{{ employee.htmlContent|raw }}
</div>
</div>
<div class=\"col-12 mt-5\">
<a href=\"{{ path('employee_index') }}\" class=\"btn btn-primary\" ><i class=\"fas fa-chevron-left\"></i> {{ 'employee.view.back_to_index'|trans({}, 'frontend') }}</a>
</div>
</div>
</div>
</section>
{% endblock %}
", "@VisualMediaEmployee/EmployeeLayout/view.html.twig", "/var/www/public_html/lib/composer/EmployeeBundle/src/VisualMedia/EmployeeBundle/Resources/views/EmployeeLayout/view.html.twig");
}
}