<?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;
/* website/teacher/teacher-profile.html.twig */
class __TwigTemplate_01c5634b2664b9132a76a7313579622ab514e5530dfdbeecc1fa4ed09a1f80fa extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "website/main.template.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", "website/teacher/teacher-profile.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/teacher/teacher-profile.html.twig"));
// line 2
$macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"] = $this->macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"] = $this->loadTemplate("utils.html.twig", "website/teacher/teacher-profile.html.twig", 2)->unwrap();
// line 1
$this->parent = $this->loadTemplate("website/main.template.html.twig", "website/teacher/teacher-profile.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 4
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 5
echo " ";
$this->loadTemplate("website/includes/search-section.html.twig", "website/teacher/teacher-profile.html.twig", 5)->display($context);
// line 6
echo "
";
// line 7
$this->loadTemplate("website/teacher/teacher-profile.html.twig", "website/teacher/teacher-profile.html.twig", 7, "1720984970")->display(twig_array_merge($context, ["pageTitle" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("teacher", "teachers")]));
// line 12
echo "
\t<div class=\"institucional\">
\t\t<div class=\"container\">
\t \t<section class=\"box-sobre\">
\t\t\t\t<div class=\"info\">
\t\t\t\t\t<h2>";
// line 17
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 17, $this->source); })()), "name", [], "any", false, false, false, 17), "html", null, true);
echo "</h2>
\t\t\t\t\t<div class=\"desc\">
\t\t\t\t\t\t";
// line 19
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 19, $this->source); })()), "biography", [], "any", false, false, false, 19)) {
// line 20
echo "\t\t\t\t\t\t\t";
echo twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 20, $this->source); })()), "biography", [], "any", false, false, false, 20);
echo "
\t\t\t\t\t\t";
} else {
// line 22
echo "\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("teacher_biogaphy", "teachers"), "html", null, true);
echo "
\t\t\t\t\t\t";
}
// line 24
echo "\t\t\t\t\t</div>
\t\t\t\t\t";
// line 27
echo "\t\t\t\t\t";
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 27, $this->source); })()), "resume", [], "any", false, false, false, 27)) {
// line 28
echo "\t\t\t\t\t\t<div class=\"resume\" data-status=\"off\">
\t\t\t\t\t\t\t";
// line 29
echo twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 29, $this->source); })()), "resume", [], "any", false, false, false, 29);
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 32
echo "\t\t\t\t</div>
\t\t\t\t<div class=\"teacher-contact\">
\t\t\t\t\t<div class=\"avatar\">
\t\t\t\t\t\t";
// line 35
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 35, $this->source); })()), "photo", [], "any", false, false, false, 35)) {
// line 36
echo "\t\t\t\t\t\t\t";
echo twig_call_macro($macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"], "macro_imgUpload", [twig_get_attribute($this->env, $this->source, // line 37
(isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 37, $this->source); })()), "photo", [], "any", false, false, false, 37), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::PATH_PROFILES"), "user-profile-teacher", $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::YES")], 36, $context, $this->getSourceContext());
// line 41
echo "
\t";
}
// line 43
echo "\t\t\t\t\t</div>
\t\t\t\t\t";
// line 45
if ((((((twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 45, $this->source); })()), "linkedin", [], "any", false, false, false, 45) || twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 45, $this->source); })()), "twitter", [], "any", false, false, false, 45)) || twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 45, $this->source); })()), "facebook", [], "any", false, false, false, 45)) || twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 45, $this->source); })()), "instagram", [], "any", false, false, false, 45)) || twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 45, $this->source); })()), "youtube", [], "any", false, false, false, 45)) || twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 45, $this->source); })()), "tiktok", [], "any", false, false, false, 45))) {
// line 46
echo "\t\t\t\t\t\t<nav class=\"social\">
\t\t\t\t\t\t\t";
// line 47
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 47, $this->source); })()), "linkedin", [], "any", false, false, false, 47)) {
// line 48
echo "\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 48, $this->source); })()), "linkedin", [], "any", false, false, false, 48), "html", null, true);
echo "\" title=\"LinkedIn\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 52
echo "
\t\t\t\t\t\t\t";
// line 53
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 53, $this->source); })()), "website", [], "any", false, false, false, 53)) {
// line 54
echo "\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 54, $this->source); })()), "website", [], "any", false, false, false, 54), "html", null, true);
echo "\" title=\"Website\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t";
// line 55
echo twig_call_macro($macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"], "macro_ico", ["globe"], 55, $context, $this->getSourceContext());
echo "
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 58
echo "
\t\t\t\t\t\t\t";
// line 59
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 59, $this->source); })()), "twitter", [], "any", false, false, false, 59)) {
// line 60
echo "\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 60, $this->source); })()), "twitter", [], "any", false, false, false, 60), "html", null, true);
echo "\" title=\"Twitter\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 64
echo "
\t\t\t\t\t\t\t";
// line 65
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 65, $this->source); })()), "facebook", [], "any", false, false, false, 65)) {
// line 66
echo "\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 66, $this->source); })()), "facebook", [], "any", false, false, false, 66), "html", null, true);
echo "\" title=\"Facebook\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 70
echo "
\t\t\t\t\t\t\t";
// line 71
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 71, $this->source); })()), "instagram", [], "any", false, false, false, 71)) {
// line 72
echo "\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 72, $this->source); })()), "instagram", [], "any", false, false, false, 72), "html", null, true);
echo "\" title=\"Instagram\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 76
echo "
\t\t\t\t\t\t\t";
// line 77
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 77, $this->source); })()), "youtube", [], "any", false, false, false, 77)) {
// line 78
echo "\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 78, $this->source); })()), "youtube", [], "any", false, false, false, 78), "html", null, true);
echo "\" title=\"YouTube\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-youtube\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 82
echo "
\t\t\t\t\t\t\t";
// line 83
if (twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 83, $this->source); })()), "tiktok", [], "any", false, false, false, 83)) {
// line 84
echo "\t\t\t\t\t\t\t\t<a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userTeacher"]) || array_key_exists("userTeacher", $context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.', 84, $this->source); })()), "tiktok", [], "any", false, false, false, 84), "html", null, true);
echo "\" title=\"Tiktok\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-tiktok\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
}
// line 88
echo "\t\t\t\t\t\t</nav>
\t\t\t\t\t";
}
// line 90
echo "\t\t\t\t</div>
\t \t</section>
\t</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "website/teacher/teacher-profile.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 240 => 90, 236 => 88, 228 => 84, 226 => 83, 223 => 82, 215 => 78, 213 => 77, 210 => 76, 202 => 72, 200 => 71, 197 => 70, 189 => 66, 187 => 65, 184 => 64, 176 => 60, 174 => 59, 171 => 58, 165 => 55, 160 => 54, 158 => 53, 155 => 52, 147 => 48, 145 => 47, 142 => 46, 140 => 45, 136 => 43, 132 => 41, 130 => 37, 128 => 36, 126 => 35, 121 => 32, 115 => 29, 112 => 28, 109 => 27, 105 => 24, 99 => 22, 93 => 20, 91 => 19, 86 => 17, 79 => 12, 77 => 7, 74 => 6, 71 => 5, 61 => 4, 50 => 1, 48 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'website/main.template.html.twig' %}
{% from 'utils.html.twig' import ico, imgUpload %}
{% block body %}
{% include 'website/includes/search-section.html.twig' %}
{% embed 'website/includes/page-title.html.twig' with { pageTitle: getLanguage('teacher', 'teachers') }%}
{% block migalhas %}
\t\t\t<a href=\"{{ path('home') }}\">{{ getLanguage('home', 'teachers') }}</a> / <span>{{ getLanguage('teachers', 'teachers') }}</span>
{% endblock %}
{% endembed %}
\t<div class=\"institucional\">
\t\t<div class=\"container\">
\t \t<section class=\"box-sobre\">
\t\t\t\t<div class=\"info\">
\t\t\t\t\t<h2>{{ userTeacher.name }}</h2>
\t\t\t\t\t<div class=\"desc\">
\t\t\t\t\t\t{% if userTeacher.biography %}
\t\t\t\t\t\t\t{{ userTeacher.biography|raw }}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{{ getLanguage('teacher_biogaphy', 'teachers') }}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t{# RESUME #}
\t\t\t\t\t{% if userTeacher.resume %}
\t\t\t\t\t\t<div class=\"resume\" data-status=\"off\">
\t\t\t\t\t\t\t{{ userTeacher.resume|raw }}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t\t<div class=\"teacher-contact\">
\t\t\t\t\t<div class=\"avatar\">
\t\t\t\t\t\t{% if userTeacher.photo %}
\t\t\t\t\t\t\t{{ imgUpload(
\t\t\t\t\t\t\t\tuserTeacher.photo,
\t\t\t\t\t\t\t\tenum('AbstractEnum::PATH_PROFILES'),
\t\t\t\t\t\t\t\t'user-profile-teacher',
\t\t\t\t\t\t\t\tenum('AbstractEnum::YES'))
\t\t\t\t\t\t\t}}
\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t{% if userTeacher.linkedin or userTeacher.twitter or userTeacher.facebook or userTeacher.instagram or userTeacher.youtube or userTeacher.tiktok %}
\t\t\t\t\t\t<nav class=\"social\">
\t\t\t\t\t\t\t{% if userTeacher.linkedin %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.linkedin }}\" title=\"LinkedIn\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.website %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.website }}\" title=\"Website\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t{{ ico('globe') }}
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.twitter %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.twitter }}\" title=\"Twitter\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.facebook %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.facebook }}\" title=\"Facebook\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.instagram %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.instagram }}\" title=\"Instagram\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.youtube %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.youtube }}\" title=\"YouTube\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-youtube\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.tiktok %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.tiktok }}\" title=\"Tiktok\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-tiktok\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</nav>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t \t</section>
\t</div>
</div>
{% endblock %}", "website/teacher/teacher-profile.html.twig", "/var/www/html/templates/website/teacher/teacher-profile.html.twig");
}
}
/* website/teacher/teacher-profile.html.twig */
class __TwigTemplate_01c5634b2664b9132a76a7313579622ab514e5530dfdbeecc1fa4ed09a1f80fa___1720984970 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'migalhas' => [$this, 'block_migalhas'],
];
}
protected function doGetParent(array $context)
{
// line 7
return "website/includes/page-title.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", "website/teacher/teacher-profile.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/teacher/teacher-profile.html.twig"));
$this->parent = $this->loadTemplate("website/includes/page-title.html.twig", "website/teacher/teacher-profile.html.twig", 7);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 8
public function block_migalhas($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", "migalhas"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "migalhas"));
// line 9
echo "\t\t\t<a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("home", "teachers"), "html", null, true);
echo "</a> / <span>";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("teachers", "teachers"), "html", null, true);
echo "</span>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "website/teacher/teacher-profile.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 421 => 9, 411 => 8, 388 => 7, 240 => 90, 236 => 88, 228 => 84, 226 => 83, 223 => 82, 215 => 78, 213 => 77, 210 => 76, 202 => 72, 200 => 71, 197 => 70, 189 => 66, 187 => 65, 184 => 64, 176 => 60, 174 => 59, 171 => 58, 165 => 55, 160 => 54, 158 => 53, 155 => 52, 147 => 48, 145 => 47, 142 => 46, 140 => 45, 136 => 43, 132 => 41, 130 => 37, 128 => 36, 126 => 35, 121 => 32, 115 => 29, 112 => 28, 109 => 27, 105 => 24, 99 => 22, 93 => 20, 91 => 19, 86 => 17, 79 => 12, 77 => 7, 74 => 6, 71 => 5, 61 => 4, 50 => 1, 48 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'website/main.template.html.twig' %}
{% from 'utils.html.twig' import ico, imgUpload %}
{% block body %}
{% include 'website/includes/search-section.html.twig' %}
{% embed 'website/includes/page-title.html.twig' with { pageTitle: getLanguage('teacher', 'teachers') }%}
{% block migalhas %}
\t\t\t<a href=\"{{ path('home') }}\">{{ getLanguage('home', 'teachers') }}</a> / <span>{{ getLanguage('teachers', 'teachers') }}</span>
{% endblock %}
{% endembed %}
\t<div class=\"institucional\">
\t\t<div class=\"container\">
\t \t<section class=\"box-sobre\">
\t\t\t\t<div class=\"info\">
\t\t\t\t\t<h2>{{ userTeacher.name }}</h2>
\t\t\t\t\t<div class=\"desc\">
\t\t\t\t\t\t{% if userTeacher.biography %}
\t\t\t\t\t\t\t{{ userTeacher.biography|raw }}
\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t{{ getLanguage('teacher_biogaphy', 'teachers') }}
\t\t\t\t\t\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t{# RESUME #}
\t\t\t\t\t{% if userTeacher.resume %}
\t\t\t\t\t\t<div class=\"resume\" data-status=\"off\">
\t\t\t\t\t\t\t{{ userTeacher.resume|raw }}
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t\t<div class=\"teacher-contact\">
\t\t\t\t\t<div class=\"avatar\">
\t\t\t\t\t\t{% if userTeacher.photo %}
\t\t\t\t\t\t\t{{ imgUpload(
\t\t\t\t\t\t\t\tuserTeacher.photo,
\t\t\t\t\t\t\t\tenum('AbstractEnum::PATH_PROFILES'),
\t\t\t\t\t\t\t\t'user-profile-teacher',
\t\t\t\t\t\t\t\tenum('AbstractEnum::YES'))
\t\t\t\t\t\t\t}}
\t{% endif %}
\t\t\t\t\t</div>
\t\t\t\t\t{% if userTeacher.linkedin or userTeacher.twitter or userTeacher.facebook or userTeacher.instagram or userTeacher.youtube or userTeacher.tiktok %}
\t\t\t\t\t\t<nav class=\"social\">
\t\t\t\t\t\t\t{% if userTeacher.linkedin %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.linkedin }}\" title=\"LinkedIn\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.website %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.website }}\" title=\"Website\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t{{ ico('globe') }}
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.twitter %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.twitter }}\" title=\"Twitter\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.facebook %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.facebook }}\" title=\"Facebook\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.instagram %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.instagram }}\" title=\"Instagram\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.youtube %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.youtube }}\" title=\"YouTube\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-youtube\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t{% if userTeacher.tiktok %}
\t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.tiktok }}\" title=\"Tiktok\" target=\"_blank\">
\t\t\t\t\t\t\t\t\t<i class=\"fab fa-tiktok\"></i>
\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</nav>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t \t</section>
\t</div>
</div>
{% endblock %}", "website/teacher/teacher-profile.html.twig", "/var/www/html/templates/website/teacher/teacher-profile.html.twig");
}
}