var/cache/dev/twig/07/073554b998c33e7fcd0f86889dfc8711665a3a0665866feb2d34bb4aa8ec6912.php line 61

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* website/teacher/teacher-profile.html.twig */
  14. class __TwigTemplate_01c5634b2664b9132a76a7313579622ab514e5530dfdbeecc1fa4ed09a1f80fa extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "website/main.template.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/teacher/teacher-profile.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/teacher/teacher-profile.html.twig"));
  38.         // line 2
  39.         $macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"] = $this->macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"] = $this->loadTemplate("utils.html.twig""website/teacher/teacher-profile.html.twig"2)->unwrap();
  40.         // line 1
  41.         $this->parent $this->loadTemplate("website/main.template.html.twig""website/teacher/teacher-profile.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 4
  49.     public function block_body($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  56.         // line 5
  57.         echo "    ";
  58.         $this->loadTemplate("website/includes/search-section.html.twig""website/teacher/teacher-profile.html.twig"5)->display($context);
  59.         // line 6
  60.         echo "
  61.     ";
  62.         // line 7
  63.         $this->loadTemplate("website/teacher/teacher-profile.html.twig""website/teacher/teacher-profile.html.twig"7"1726238772")->display(twig_array_merge($context, ["pageTitle" => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("teacher""teachers")]));
  64.         // line 12
  65.         echo "
  66. \t<div class=\"institucional\">
  67. \t\t<div class=\"container\">
  68. \t    \t<section class=\"box-sobre\">
  69. \t\t\t\t<div class=\"info\">
  70. \t\t\t\t\t<h2>";
  71.         // line 17
  72.         echo twig_escape_filter($this->envtwig_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"falsefalsefalse17), "html"nulltrue);
  73.         echo "</h2>
  74. \t\t\t\t\t<div class=\"desc\">
  75. \t\t\t\t\t\t";
  76.         // line 19
  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.'19$this->source); })()), "biography", [], "any"falsefalsefalse19)) {
  78.             // line 20
  79.             echo "\t\t\t\t\t\t\t";
  80.             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"falsefalsefalse20);
  81.             echo "
  82. \t\t\t\t\t\t";
  83.         } else {
  84.             // line 22
  85.             echo "\t\t\t\t\t\t\t";
  86.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("teacher_biogaphy""teachers"), "html"nulltrue);
  87.             echo "
  88. \t\t\t\t\t\t";
  89.         }
  90.         // line 24
  91.         echo "\t\t\t\t\t</div>
  92. \t\t\t\t\t";
  93.         // line 27
  94.         echo "\t\t\t\t\t";
  95.         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"falsefalsefalse27)) {
  96.             // line 28
  97.             echo "\t\t\t\t\t\t<div class=\"resume\" data-status=\"off\">
  98. \t\t\t\t\t\t\t";
  99.             // line 29
  100.             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"falsefalsefalse29);
  101.             echo "
  102. \t\t\t\t\t\t</div>
  103. \t\t\t\t\t";
  104.         }
  105.         // line 32
  106.         echo "\t\t\t\t</div>
  107. \t\t\t\t<div class=\"teacher-contact\">
  108. \t\t\t\t\t<div class=\"avatar\">
  109. \t\t\t\t\t\t";
  110.         // line 35
  111.         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"falsefalsefalse35)) {
  112.             // line 36
  113.             echo "\t\t\t\t\t\t\t";
  114.             echo twig_call_macro($macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"], "macro_imgUpload", [twig_get_attribute($this->env$this->source,             // line 37
  115. (isset($context["userTeacher"]) || array_key_exists("userTeacher"$context) ? $context["userTeacher"] : (function () { throw new RuntimeError('Variable "userTeacher" does not exist.'37$this->source); })()), "photo", [], "any"falsefalsefalse37), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::PATH_PROFILES"), "user-profile-teacher"$this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::YES")], 36$context$this->getSourceContext());
  116.             // line 41
  117.             echo "
  118.                     \t";
  119.         }
  120.         // line 43
  121.         echo "\t\t\t\t\t</div>
  122. \t\t\t\t\t";
  123.         // line 45
  124.         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"falsefalsefalse45) || 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"falsefalsefalse45)) || 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"falsefalsefalse45)) || 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"falsefalsefalse45)) || 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"falsefalsefalse45)) || 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"falsefalsefalse45))) {
  125.             // line 46
  126.             echo "\t\t\t\t\t\t<nav class=\"social\">
  127. \t\t\t\t\t\t\t";
  128.             // line 47
  129.             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"falsefalsefalse47)) {
  130.                 // line 48
  131.                 echo "\t\t\t\t\t\t\t\t<a href=\"";
  132.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse48), "html"nulltrue);
  133.                 echo "\" title=\"LinkedIn\" target=\"_blank\">
  134. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
  135. \t\t\t\t\t\t\t\t</a>
  136. \t\t\t\t\t\t\t";
  137.             }
  138.             // line 52
  139.             echo "
  140. \t\t\t\t\t\t\t";
  141.             // line 53
  142.             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"falsefalsefalse53)) {
  143.                 // line 54
  144.                 echo "\t\t\t\t\t\t\t\t<a href=\"";
  145.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse54), "html"nulltrue);
  146.                 echo "\" title=\"Website\" target=\"_blank\">
  147. \t\t\t\t\t\t\t\t\t";
  148.                 // line 55
  149.                 echo twig_call_macro($macros["__internal_e1fb4601715593dc92f502c41080b34a7fe30560b3fe91a15d977668201a2cee"], "macro_ico", ["globe"], 55$context$this->getSourceContext());
  150.                 echo "
  151. \t\t\t\t\t\t\t\t</a>
  152. \t\t\t\t\t\t\t";
  153.             }
  154.             // line 58
  155.             echo "
  156. \t\t\t\t\t\t\t";
  157.             // line 59
  158.             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"falsefalsefalse59)) {
  159.                 // line 60
  160.                 echo "\t\t\t\t\t\t\t\t<a href=\"";
  161.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse60), "html"nulltrue);
  162.                 echo "\" title=\"Twitter\" target=\"_blank\">
  163. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  164. \t\t\t\t\t\t\t\t</a>
  165. \t\t\t\t\t\t\t";
  166.             }
  167.             // line 64
  168.             echo "
  169. \t\t\t\t\t\t\t";
  170.             // line 65
  171.             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"falsefalsefalse65)) {
  172.                 // line 66
  173.                 echo "\t\t\t\t\t\t\t\t<a href=\"";
  174.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse66), "html"nulltrue);
  175.                 echo "\" title=\"Facebook\" target=\"_blank\">
  176. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  177. \t\t\t\t\t\t\t\t</a>
  178. \t\t\t\t\t\t\t";
  179.             }
  180.             // line 70
  181.             echo "
  182. \t\t\t\t\t\t\t";
  183.             // line 71
  184.             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"falsefalsefalse71)) {
  185.                 // line 72
  186.                 echo "\t\t\t\t\t\t\t\t<a href=\"";
  187.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse72), "html"nulltrue);
  188.                 echo "\" title=\"Instagram\" target=\"_blank\">
  189. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  190. \t\t\t\t\t\t\t\t</a>
  191. \t\t\t\t\t\t\t";
  192.             }
  193.             // line 76
  194.             echo "
  195. \t\t\t\t\t\t\t";
  196.             // line 77
  197.             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"falsefalsefalse77)) {
  198.                 // line 78
  199.                 echo "\t\t\t\t\t\t\t\t<a href=\"";
  200.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse78), "html"nulltrue);
  201.                 echo "\" title=\"YouTube\" target=\"_blank\">
  202. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-youtube\"></i>
  203. \t\t\t\t\t\t\t\t</a>
  204. \t\t\t\t\t\t\t";
  205.             }
  206.             // line 82
  207.             echo "
  208. \t\t\t\t\t\t\t";
  209.             // line 83
  210.             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"falsefalsefalse83)) {
  211.                 // line 84
  212.                 echo "\t\t\t\t\t\t\t\t<a href=\"";
  213.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse84), "html"nulltrue);
  214.                 echo "\" title=\"Tiktok\" target=\"_blank\">
  215. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-tiktok\"></i>
  216. \t\t\t\t\t\t\t\t</a>
  217. \t\t\t\t\t\t\t";
  218.             }
  219.             // line 88
  220.             echo "\t\t\t\t\t\t</nav>
  221. \t\t\t\t\t";
  222.         }
  223.         // line 90
  224.         echo "\t\t\t\t</div>
  225. \t    \t</section>
  226.     \t</div>
  227.     </div>
  228. ";
  229.         
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  231.         
  232.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  233.     }
  234.     public function getTemplateName()
  235.     {
  236.         return "website/teacher/teacher-profile.html.twig";
  237.     }
  238.     public function isTraitable()
  239.     {
  240.         return false;
  241.     }
  242.     public function getDebugInfo()
  243.     {
  244.         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,);
  245.     }
  246.     public function getSourceContext()
  247.     {
  248.         return new Source("{% extends 'website/main.template.html.twig' %}
  249. {% from 'utils.html.twig' import ico, imgUpload %}
  250. {% block body %}
  251.     {% include 'website/includes/search-section.html.twig' %}
  252.     {% embed 'website/includes/page-title.html.twig' with { pageTitle: getLanguage('teacher', 'teachers') }%}
  253.         {% block migalhas %}
  254. \t\t\t<a href=\"{{ path('home') }}\">{{ getLanguage('home', 'teachers') }}</a>&ensp;/&ensp;<span>{{ getLanguage('teachers', 'teachers') }}</span>
  255.         {% endblock %}
  256.     {% endembed %}
  257. \t<div class=\"institucional\">
  258. \t\t<div class=\"container\">
  259. \t    \t<section class=\"box-sobre\">
  260. \t\t\t\t<div class=\"info\">
  261. \t\t\t\t\t<h2>{{ userTeacher.name }}</h2>
  262. \t\t\t\t\t<div class=\"desc\">
  263. \t\t\t\t\t\t{% if userTeacher.biography %}
  264. \t\t\t\t\t\t\t{{ userTeacher.biography|raw }}
  265. \t\t\t\t\t\t{% else %}
  266. \t\t\t\t\t\t\t{{ getLanguage('teacher_biogaphy', 'teachers') }}
  267. \t\t\t\t\t\t{% endif %}
  268. \t\t\t\t\t</div>
  269. \t\t\t\t\t{# RESUME #}
  270. \t\t\t\t\t{% if userTeacher.resume %}
  271. \t\t\t\t\t\t<div class=\"resume\" data-status=\"off\">
  272. \t\t\t\t\t\t\t{{ userTeacher.resume|raw }}
  273. \t\t\t\t\t\t</div>
  274. \t\t\t\t\t{% endif %}
  275. \t\t\t\t</div>
  276. \t\t\t\t<div class=\"teacher-contact\">
  277. \t\t\t\t\t<div class=\"avatar\">
  278. \t\t\t\t\t\t{% if userTeacher.photo %}
  279. \t\t\t\t\t\t\t{{ imgUpload(
  280. \t\t\t\t\t\t\t\tuserTeacher.photo,
  281. \t\t\t\t\t\t\t\tenum('AbstractEnum::PATH_PROFILES'),
  282. \t\t\t\t\t\t\t\t'user-profile-teacher',
  283. \t\t\t\t\t\t\t\tenum('AbstractEnum::YES'))
  284. \t\t\t\t\t\t\t}}
  285.                     \t{% endif %}
  286. \t\t\t\t\t</div>
  287. \t\t\t\t\t{% if userTeacher.linkedin or userTeacher.twitter or userTeacher.facebook or userTeacher.instagram or userTeacher.youtube or userTeacher.tiktok %}
  288. \t\t\t\t\t\t<nav class=\"social\">
  289. \t\t\t\t\t\t\t{% if userTeacher.linkedin %}
  290. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.linkedin }}\" title=\"LinkedIn\" target=\"_blank\">
  291. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
  292. \t\t\t\t\t\t\t\t</a>
  293. \t\t\t\t\t\t\t{% endif %}
  294. \t\t\t\t\t\t\t{% if userTeacher.website %}
  295. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.website }}\" title=\"Website\" target=\"_blank\">
  296. \t\t\t\t\t\t\t\t\t{{ ico('globe') }}
  297. \t\t\t\t\t\t\t\t</a>
  298. \t\t\t\t\t\t\t{% endif %}
  299. \t\t\t\t\t\t\t{% if userTeacher.twitter %}
  300. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.twitter }}\" title=\"Twitter\" target=\"_blank\">
  301. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  302. \t\t\t\t\t\t\t\t</a>
  303. \t\t\t\t\t\t\t{% endif %}
  304. \t\t\t\t\t\t\t{% if userTeacher.facebook %}
  305. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.facebook }}\" title=\"Facebook\" target=\"_blank\">
  306. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  307. \t\t\t\t\t\t\t\t</a>
  308. \t\t\t\t\t\t\t{% endif %}
  309. \t\t\t\t\t\t\t{% if userTeacher.instagram %}
  310. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.instagram }}\" title=\"Instagram\" target=\"_blank\">
  311. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  312. \t\t\t\t\t\t\t\t</a>
  313. \t\t\t\t\t\t\t{% endif %}
  314. \t\t\t\t\t\t\t{% if userTeacher.youtube %}
  315. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.youtube }}\" title=\"YouTube\" target=\"_blank\">
  316. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-youtube\"></i>
  317. \t\t\t\t\t\t\t\t</a>
  318. \t\t\t\t\t\t\t{% endif %}
  319. \t\t\t\t\t\t\t{% if userTeacher.tiktok %}
  320. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.tiktok }}\" title=\"Tiktok\" target=\"_blank\">
  321. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-tiktok\"></i>
  322. \t\t\t\t\t\t\t\t</a>
  323. \t\t\t\t\t\t\t{% endif %}
  324. \t\t\t\t\t\t</nav>
  325. \t\t\t\t\t{% endif %}
  326. \t\t\t\t</div>
  327. \t    \t</section>
  328.     \t</div>
  329.     </div>
  330. {% endblock %}""website/teacher/teacher-profile.html.twig""/var/www/html/templates/website/teacher/teacher-profile.html.twig");
  331.     }
  332. }
  333. /* website/teacher/teacher-profile.html.twig */
  334. class __TwigTemplate_01c5634b2664b9132a76a7313579622ab514e5530dfdbeecc1fa4ed09a1f80fa___1726238772 extends Template
  335. {
  336.     private $source;
  337.     private $macros = [];
  338.     public function __construct(Environment $env)
  339.     {
  340.         parent::__construct($env);
  341.         $this->source $this->getSourceContext();
  342.         $this->blocks = [
  343.             'migalhas' => [$this'block_migalhas'],
  344.         ];
  345.     }
  346.     protected function doGetParent(array $context)
  347.     {
  348.         // line 7
  349.         return "website/includes/page-title.html.twig";
  350.     }
  351.     protected function doDisplay(array $context, array $blocks = [])
  352.     {
  353.         $macros $this->macros;
  354.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  355.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/teacher/teacher-profile.html.twig"));
  356.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  357.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/teacher/teacher-profile.html.twig"));
  358.         $this->parent $this->loadTemplate("website/includes/page-title.html.twig""website/teacher/teacher-profile.html.twig"7);
  359.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  360.         
  361.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  362.         
  363.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  364.     }
  365.     // line 8
  366.     public function block_migalhas($context, array $blocks = [])
  367.     {
  368.         $macros $this->macros;
  369.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  370.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""migalhas"));
  371.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  372.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""migalhas"));
  373.         // line 9
  374.         echo "\t\t\t<a href=\"";
  375.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  376.         echo "\">";
  377.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("home""teachers"), "html"nulltrue);
  378.         echo "</a>&ensp;/&ensp;<span>";
  379.         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("teachers""teachers"), "html"nulltrue);
  380.         echo "</span>
  381.         ";
  382.         
  383.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  384.         
  385.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  386.     }
  387.     public function getTemplateName()
  388.     {
  389.         return "website/teacher/teacher-profile.html.twig";
  390.     }
  391.     public function isTraitable()
  392.     {
  393.         return false;
  394.     }
  395.     public function getDebugInfo()
  396.     {
  397.         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,);
  398.     }
  399.     public function getSourceContext()
  400.     {
  401.         return new Source("{% extends 'website/main.template.html.twig' %}
  402. {% from 'utils.html.twig' import ico, imgUpload %}
  403. {% block body %}
  404.     {% include 'website/includes/search-section.html.twig' %}
  405.     {% embed 'website/includes/page-title.html.twig' with { pageTitle: getLanguage('teacher', 'teachers') }%}
  406.         {% block migalhas %}
  407. \t\t\t<a href=\"{{ path('home') }}\">{{ getLanguage('home', 'teachers') }}</a>&ensp;/&ensp;<span>{{ getLanguage('teachers', 'teachers') }}</span>
  408.         {% endblock %}
  409.     {% endembed %}
  410. \t<div class=\"institucional\">
  411. \t\t<div class=\"container\">
  412. \t    \t<section class=\"box-sobre\">
  413. \t\t\t\t<div class=\"info\">
  414. \t\t\t\t\t<h2>{{ userTeacher.name }}</h2>
  415. \t\t\t\t\t<div class=\"desc\">
  416. \t\t\t\t\t\t{% if userTeacher.biography %}
  417. \t\t\t\t\t\t\t{{ userTeacher.biography|raw }}
  418. \t\t\t\t\t\t{% else %}
  419. \t\t\t\t\t\t\t{{ getLanguage('teacher_biogaphy', 'teachers') }}
  420. \t\t\t\t\t\t{% endif %}
  421. \t\t\t\t\t</div>
  422. \t\t\t\t\t{# RESUME #}
  423. \t\t\t\t\t{% if userTeacher.resume %}
  424. \t\t\t\t\t\t<div class=\"resume\" data-status=\"off\">
  425. \t\t\t\t\t\t\t{{ userTeacher.resume|raw }}
  426. \t\t\t\t\t\t</div>
  427. \t\t\t\t\t{% endif %}
  428. \t\t\t\t</div>
  429. \t\t\t\t<div class=\"teacher-contact\">
  430. \t\t\t\t\t<div class=\"avatar\">
  431. \t\t\t\t\t\t{% if userTeacher.photo %}
  432. \t\t\t\t\t\t\t{{ imgUpload(
  433. \t\t\t\t\t\t\t\tuserTeacher.photo,
  434. \t\t\t\t\t\t\t\tenum('AbstractEnum::PATH_PROFILES'),
  435. \t\t\t\t\t\t\t\t'user-profile-teacher',
  436. \t\t\t\t\t\t\t\tenum('AbstractEnum::YES'))
  437. \t\t\t\t\t\t\t}}
  438.                     \t{% endif %}
  439. \t\t\t\t\t</div>
  440. \t\t\t\t\t{% if userTeacher.linkedin or userTeacher.twitter or userTeacher.facebook or userTeacher.instagram or userTeacher.youtube or userTeacher.tiktok %}
  441. \t\t\t\t\t\t<nav class=\"social\">
  442. \t\t\t\t\t\t\t{% if userTeacher.linkedin %}
  443. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.linkedin }}\" title=\"LinkedIn\" target=\"_blank\">
  444. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-linkedin-in\"></i>
  445. \t\t\t\t\t\t\t\t</a>
  446. \t\t\t\t\t\t\t{% endif %}
  447. \t\t\t\t\t\t\t{% if userTeacher.website %}
  448. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.website }}\" title=\"Website\" target=\"_blank\">
  449. \t\t\t\t\t\t\t\t\t{{ ico('globe') }}
  450. \t\t\t\t\t\t\t\t</a>
  451. \t\t\t\t\t\t\t{% endif %}
  452. \t\t\t\t\t\t\t{% if userTeacher.twitter %}
  453. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.twitter }}\" title=\"Twitter\" target=\"_blank\">
  454. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-twitter\"></i>
  455. \t\t\t\t\t\t\t\t</a>
  456. \t\t\t\t\t\t\t{% endif %}
  457. \t\t\t\t\t\t\t{% if userTeacher.facebook %}
  458. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.facebook }}\" title=\"Facebook\" target=\"_blank\">
  459. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-facebook-f\"></i>
  460. \t\t\t\t\t\t\t\t</a>
  461. \t\t\t\t\t\t\t{% endif %}
  462. \t\t\t\t\t\t\t{% if userTeacher.instagram %}
  463. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.instagram }}\" title=\"Instagram\" target=\"_blank\">
  464. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-instagram\"></i>
  465. \t\t\t\t\t\t\t\t</a>
  466. \t\t\t\t\t\t\t{% endif %}
  467. \t\t\t\t\t\t\t{% if userTeacher.youtube %}
  468. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.youtube }}\" title=\"YouTube\" target=\"_blank\">
  469. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-youtube\"></i>
  470. \t\t\t\t\t\t\t\t</a>
  471. \t\t\t\t\t\t\t{% endif %}
  472. \t\t\t\t\t\t\t{% if userTeacher.tiktok %}
  473. \t\t\t\t\t\t\t\t<a href=\"{{ userTeacher.tiktok }}\" title=\"Tiktok\" target=\"_blank\">
  474. \t\t\t\t\t\t\t\t\t<i class=\"fab fa-tiktok\"></i>
  475. \t\t\t\t\t\t\t\t</a>
  476. \t\t\t\t\t\t\t{% endif %}
  477. \t\t\t\t\t\t</nav>
  478. \t\t\t\t\t{% endif %}
  479. \t\t\t\t</div>
  480. \t    \t</section>
  481.     \t</div>
  482.     </div>
  483. {% endblock %}""website/teacher/teacher-profile.html.twig""/var/www/html/templates/website/teacher/teacher-profile.html.twig");
  484.     }
  485. }