var/cache/dev/twig/5e/5e61a2d131b0d4f617e07c62d74e2053863e64b9e84c6cb49a0d015d477aee9b.php line 135

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/product/product-detail-course-content-section.html.twig */
  14. class __TwigTemplate_6bc207429904ec0ec0dc28841b1ec5f9abf9ce8d49ad186b270f34fac39712ab 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail-course-content-section.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""website/product/product-detail-course-content-section.html.twig"));
  33.         // line 1
  34.         $macros["__internal_06b080d2ecb8fcfe99c23c273f4ebb35c3210a36a908f5d1e92282af8265640b"] = $this->macros["__internal_06b080d2ecb8fcfe99c23c273f4ebb35c3210a36a908f5d1e92282af8265640b"] = $this->loadTemplate("utils.html.twig""website/product/product-detail-course-content-section.html.twig"1)->unwrap();
  35.         // line 2
  36.         echo "
  37. ";
  38.         // line 3
  39.         $context["icosLibrary"] = [=> "globe"=> "file-text"=> "sound"=> "file-text"=> "video"=> "video"=> "video"=> "video"=> "video"];
  40.         // line 14
  41.         echo "
  42. ";
  43.         // line 15
  44.         $context["libEnum"] = [=> "CONTENT_EMBED"=> "CONTENT_FILES"=> "CONTENT_AUDIO"=> "CONTENT_TEXT"=> "CONTENT_VIDEO"=> "CONTENT_LIVE"=> "CONTENT_CONFERENCE"=> "CONTENT_VIDEO_FILE"=> "CONTENT_EXTERNAL_LIVE"];
  45.         // line 26
  46.         echo "
  47. ";
  48.         // line 27
  49.         if ((=== twig_compare(twig_length_filter($this->env, (isset($context["lessonModules"]) || array_key_exists("lessonModules"$context) ? $context["lessonModules"] : (function () { throw new RuntimeError('Variable "lessonModules" does not exist.'27$this->source); })())), 0))) {
  50.             // line 28
  51.             echo "    ";
  52.             $context["total"] = twig_length_filter($this->env, (isset($context["lessonModules"]) || array_key_exists("lessonModules"$context) ? $context["lessonModules"] : (function () { throw new RuntimeError('Variable "lessonModules" does not exist.'28$this->source); })()));
  53.             // line 29
  54.             echo "    ";
  55.             $context["resta"] = ((isset($context["total"]) || array_key_exists("total"$context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.'29$this->source); })()) - (isset($context["show"]) || array_key_exists("show"$context) ? $context["show"] : (function () { throw new RuntimeError('Variable "show" does not exist.'29$this->source); })()));
  56.             // line 30
  57.             echo "    <h3 class=\"tit-sec\">";
  58.             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("content""product"), "html"nulltrue);
  59.             echo "</h3>
  60.     <div id=\"contem-modulos\" class=\"perguntas\">
  61.         ";
  62.             // line 32
  63.             $context['_parent'] = $context;
  64.             $context['_seq'] = twig_ensure_traversable((isset($context["lessonModules"]) || array_key_exists("lessonModules"$context) ? $context["lessonModules"] : (function () { throw new RuntimeError('Variable "lessonModules" does not exist.'32$this->source); })()));
  65.             foreach ($context['_seq'] as $context["i"] => $context["lessonModule"]) {
  66.                 // line 33
  67.                 echo "            ";
  68.                 $context["n"] = ($context["i"] + 1);
  69.                 // line 34
  70.                 echo "            ";
  71.                 if ((=== twig_compare((isset($context["n"]) || array_key_exists("n"$context) ? $context["n"] : (function () { throw new RuntimeError('Variable "n" does not exist.'34$this->source); })()), ((isset($context["show"]) || array_key_exists("show"$context) ? $context["show"] : (function () { throw new RuntimeError('Variable "show" does not exist.'34$this->source); })()) + 1)))) {
  72.                     echo "<div class=\"js--hidden\">";
  73.                 }
  74.                 // line 35
  75.                 echo "                <div class=\"questao";
  76.                 echo (((>= twig_compare((isset($context["n"]) || array_key_exists("n"$context) ? $context["n"] : (function () { throw new RuntimeError('Variable "n" does not exist.'35$this->source); })()), (isset($context["open"]) || array_key_exists("open"$context) ? $context["open"] : (function () { throw new RuntimeError('Variable "open" does not exist.'35$this->source); })())))) ? (" status--aberto") : (""));
  77.                 echo "\">
  78.                     <div class=\"pergunta js--abre\">
  79.                         <p>
  80.                             <span class=\"question-number\">";
  81.                 // line 38
  82.                 echo twig_escape_filter($this->env, (isset($context["n"]) || array_key_exists("n"$context) ? $context["n"] : (function () { throw new RuntimeError('Variable "n" does not exist.'38$this->source); })()), "html"nulltrue);
  83.                 echo "</span>";
  84.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["lessonModule"], "title", [], "any"falsefalsefalse38), "html"nulltrue);
  85.                 echo "
  86.                             ";
  87.                 // line 39
  88.                 $context['_parent'] = $context;
  89.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["lessonModule"], "workload", [], "any"falsefalsefalse39));
  90.                 foreach ($context['_seq'] as $context["k"] => $context["workload"]) {
  91.                     // line 40
  92.                     echo "                                ";
  93.                     if ((=== twig_compare($context["workload"], 0))) {
  94.                         // line 41
  95.                         echo "                                    <span class=\"workload\">
  96.                                         <span class=\"ico-clock\">";
  97.                         // line 42
  98.                         echo twig_call_macro($macros["__internal_06b080d2ecb8fcfe99c23c273f4ebb35c3210a36a908f5d1e92282af8265640b"], "macro_ico", ["clock"], 42$context$this->getSourceContext());
  99.                         echo "</span>";
  100.                         echo twig_escape_filter($this->env$context["workload"], "html"nulltrue);
  101.                         echo "
  102.                                         ";
  103.                         // line 43
  104.                         echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->plural($context["workload"], $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("workload_hour""product"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("workload_hours""product")), "html"nulltrue);
  105.                         // line 46
  106.                         echo "
  107.                                     </span>
  108.                                 ";
  109.                     }
  110.                     // line 49
  111.                     echo "                            ";
  112.                 }
  113.                 $_parent $context['_parent'];
  114.                 unset($context['_seq'], $context['_iterated'], $context['k'], $context['workload'], $context['_parent'], $context['loop']);
  115.                 $context array_intersect_key($context$_parent) + $_parent;
  116.                 // line 50
  117.                 echo "                        </p>
  118.                         <span class=\"ico seta\">";
  119.                 // line 51
  120.                 echo twig_call_macro($macros["__internal_06b080d2ecb8fcfe99c23c273f4ebb35c3210a36a908f5d1e92282af8265640b"], "macro_ico", ["chevron-down"], 51$context$this->getSourceContext());
  121.                 echo "</span>
  122.                     </div>
  123.                     <div class=\"resposta product-content js--sub\">
  124.                         ";
  125.                 // line 54
  126.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["lessonModule"], "description", [], "any"falsefalsefalse54))) {
  127.                     // line 55
  128.                     echo "                            ";
  129.                     if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["lessonModule"], "description", [], "any"falsefalsefalse55), "null"))) {
  130.                         // line 56
  131.                         echo "                                <div class=\"desc\">";
  132.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["lessonModule"], "description", [], "any"falsefalsefalse56), "html"nulltrue);
  133.                         echo "</div>
  134.                             ";
  135.                     }
  136.                     // line 58
  137.                     echo "                        ";
  138.                 }
  139.                 // line 59
  140.                 echo "                        <ul class=\"lessons\">
  141.                             ";
  142.                 // line 60
  143.                 $context["paged"] = [=> $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("LibraryEnum::CONTENT_FILES"), => $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("LibraryEnum::CONTENT_TEXT")];
  144.                 // line 61
  145.                 echo "                            ";
  146.                 $context["isPaged"] = false;
  147.                 // line 62
  148.                 echo "
  149.                             ";
  150.                 // line 63
  151.                 $context['_parent'] = $context;
  152.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["lessonModule"], "lessons", [], "any"falsefalsefalse63));
  153.                 foreach ($context['_seq'] as $context["j"] => $context["lesson"]) {
  154.                     // line 64
  155.                     echo "                                ";
  156.                     if (twig_get_attribute($this->env$this->source$context["lesson"], "library", [], "any"falsefalsefalse64)) {
  157.                         // line 65
  158.                         echo "                                    <li class=\"lesson\">
  159.                                         ";
  160.                         // line 66
  161.                         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["lesson"], "library", [], "any"falsetruefalse66), "type", [], "any"truetruefalse66)) {
  162.                             // line 67
  163.                             echo "                                            ";
  164.                             if (((=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["lesson"], "library", [], "any"falsefalsefalse67), "type", [], "any"falsefalsefalse67), 0)) && (-=== twig_compare(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["lesson"], "library", [], "any"falsefalsefalse67), "type", [], "any"falsefalsefalse67), 10)))) {
  165.                                 // line 68
  166.                                 echo "                                                <i class=\"ico\">";
  167.                                 echo twig_call_macro($macros["__internal_06b080d2ecb8fcfe99c23c273f4ebb35c3210a36a908f5d1e92282af8265640b"], "macro_ico", [twig_get_attribute($this->env$this->source, (isset($context["icosLibrary"]) || array_key_exists("icosLibrary"$context) ? $context["icosLibrary"] : (function () { throw new RuntimeError('Variable "icosLibrary" does not exist.'68$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["lesson"], "library", [], "any"falsefalsefalse68), "type", [], "any"falsefalsefalse68), [], "array"falsefalsefalse68)], 68$context$this->getSourceContext());
  168.                                 echo "</i>
  169.                                             ";
  170.                             }
  171.                             // line 70
  172.                             echo "                                        ";
  173.                         }
  174.                         // line 71
  175.                         echo "
  176.                                         <p class=\"title\">";
  177.                         // line 72
  178.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["lesson"], "title", [], "any"falsefalsefalse72), "html"nulltrue);
  179.                         echo "</p>
  180.                                         ";
  181.                         // line 74
  182.                         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["lesson"], "library", [], "any"falsetruefalse74), "type", [], "any"truetruefalse74)) {
  183.                             // line 75
  184.                             echo "                                            ";
  185.                             $context["isPaged"] = ((twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["lesson"], "library", [], "any"falsefalsefalse75), "type", [], "any"falsefalsefalse75), (isset($context["paged"]) || array_key_exists("paged"$context) ? $context["paged"] : (function () { throw new RuntimeError('Variable "paged" does not exist.'75$this->source); })()))) ? (true) : (false));
  186.                             // line 76
  187.                             echo "                                        ";
  188.                         }
  189.                         // line 77
  190.                         echo "
  191.                                         ";
  192.                         // line 78
  193.                         if ( !(isset($context["isPaged"]) || array_key_exists("isPaged"$context) ? $context["isPaged"] : (function () { throw new RuntimeError('Variable "isPaged" does not exist.'78$this->source); })())) {
  194.                             // line 79
  195.                             echo "                                            <span class=\"ico\">";
  196.                             echo twig_call_macro($macros["__internal_06b080d2ecb8fcfe99c23c273f4ebb35c3210a36a908f5d1e92282af8265640b"], "macro_ico", ["clock"], 79$context$this->getSourceContext());
  197.                             echo "</span>
  198.                                         ";
  199.                         }
  200.                         // line 81
  201.                         echo "
  202.                                         <p class=\"size\">
  203.                                             ";
  204.                         // line 83
  205.                         echo twig_call_macro($macros["__internal_06b080d2ecb8fcfe99c23c273f4ebb35c3210a36a908f5d1e92282af8265640b"], "macro_libraryDuration", [$context["lesson"]], 83$context$this->getSourceContext());
  206.                         echo "
  207.                                         </p>
  208.                                         ";
  209.                         // line 85
  210.                         if ((=== twig_compare(twig_get_attribute($this->env$this->source$context["lesson"], "demonstration", [], "any"falsefalsefalse85), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("LessonEnum::YES")))) {
  211.                             // line 86
  212.                             echo "                                            <p class=\"acao\">
  213.                                                 <a class=\"btn-watch\" href=\"";
  214.                             // line 87
  215.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("lessonDemoPage", ["lessonId" => twig_get_attribute($this->env$this->source$context["lesson"], "id", [], "any"falsefalsefalse87), "productOfferId" => twig_get_attribute($this->env$this->source, (isset($context["productOffer"]) || array_key_exists("productOffer"$context) ? $context["productOffer"] : (function () { throw new RuntimeError('Variable "productOffer" does not exist.'87$this->source); })()), "id", [], "any"falsefalsefalse87)]), "html"nulltrue);
  216.                             echo "\">";
  217.                             echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("watch""product"), "html"nulltrue);
  218.                             echo "</a>
  219.                                             </p>
  220.                                         ";
  221.                         }
  222.                         // line 90
  223.                         echo "                                    </li>
  224.                                 ";
  225.                     }
  226.                     // line 92
  227.                     echo "                            ";
  228.                 }
  229.                 $_parent $context['_parent'];
  230.                 unset($context['_seq'], $context['_iterated'], $context['j'], $context['lesson'], $context['_parent'], $context['loop']);
  231.                 $context array_intersect_key($context$_parent) + $_parent;
  232.                 // line 93
  233.                 echo "                        </ul>
  234.                     </div>
  235.                 </div>
  236.             ";
  237.                 // line 96
  238.                 if ((=== twig_compare((isset($context["n"]) || array_key_exists("n"$context) ? $context["n"] : (function () { throw new RuntimeError('Variable "n" does not exist.'96$this->source); })()), (isset($context["total"]) || array_key_exists("total"$context) ? $context["total"] : (function () { throw new RuntimeError('Variable "total" does not exist.'96$this->source); })())))) {
  239.                     echo "</div>";
  240.                 }
  241.                 // line 97
  242.                 echo "            ";
  243.                 // line 98
  244.                 echo "        ";
  245.             }
  246.             $_parent $context['_parent'];
  247.             unset($context['_seq'], $context['_iterated'], $context['i'], $context['lessonModule'], $context['_parent'], $context['loop']);
  248.             $context array_intersect_key($context$_parent) + $_parent;
  249.             // line 99
  250.             echo "
  251.         ";
  252.             // line 101
  253.             echo "        ";
  254.             if ((=== twig_compare((isset($context["resta"]) || array_key_exists("resta"$context) ? $context["resta"] : (function () { throw new RuntimeError('Variable "resta" does not exist.'101$this->source); })()), 0))) {
  255.                 // line 102
  256.                 echo "            ";
  257.                 $context["label"] = (((=== twig_compare((isset($context["resta"]) || array_key_exists("resta"$context) ? $context["resta"] : (function () { throw new RuntimeError('Variable "resta" does not exist.'102$this->source); })()), 1))) ? ("module") : ("modules"));
  258.                 // line 103
  259.                 echo "            <div class=\"modulos-mais\">
  260.                 <a id=\"btn-modulos-mostrar\" class=\"btn-mais\">
  261.                     <span class=\"js--shown\">";
  262.                 // line 105
  263.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("more""product"), "html"nulltrue);
  264.                 echo " ";
  265.                 echo twig_escape_filter($this->env, (isset($context["resta"]) || array_key_exists("resta"$context) ? $context["resta"] : (function () { throw new RuntimeError('Variable "resta" does not exist.'105$this->source); })()), "html"nulltrue);
  266.                 echo " ";
  267.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage((isset($context["label"]) || array_key_exists("label"$context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.'105$this->source); })()), "product"), "html"nulltrue);
  268.                 echo "</span>
  269.                     <span class=\"js--hidden\">";
  270.                 // line 106
  271.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("hide""product"), "html"nulltrue);
  272.                 echo " ";
  273.                 echo twig_escape_filter($this->env, (isset($context["resta"]) || array_key_exists("resta"$context) ? $context["resta"] : (function () { throw new RuntimeError('Variable "resta" does not exist.'106$this->source); })()), "html"nulltrue);
  274.                 echo " ";
  275.                 echo twig_escape_filter($this->env$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage((isset($context["label"]) || array_key_exists("label"$context) ? $context["label"] : (function () { throw new RuntimeError('Variable "label" does not exist.'106$this->source); })()), "product"), "html"nulltrue);
  276.                 echo "</span>
  277.                 </a>
  278.             </div>
  279.         ";
  280.             }
  281.             // line 110
  282.             echo "    </div>
  283. ";
  284.         }
  285.         
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  287.         
  288.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  289.     }
  290.     public function getTemplateName()
  291.     {
  292.         return "website/product/product-detail-course-content-section.html.twig";
  293.     }
  294.     public function isTraitable()
  295.     {
  296.         return false;
  297.     }
  298.     public function getDebugInfo()
  299.     {
  300.         return array (  292 => 110,  281 => 106,  273 => 105,  269 => 103,  266 => 102,  263 => 101,  260 => 99,  254 => 98,  252 => 97,  248 => 96,  243 => 93,  237 => 92,  233 => 90,  225 => 87,  222 => 86,  220 => 85,  215 => 83,  211 => 81,  205 => 79,  203 => 78,  200 => 77,  197 => 76,  194 => 75,  192 => 74,  187 => 72,  184 => 71,  181 => 70,  175 => 68,  172 => 67,  170 => 66,  167 => 65,  164 => 64,  160 => 63,  157 => 62,  154 => 61,  152 => 60,  149 => 59,  146 => 58,  140 => 56,  137 => 55,  135 => 54,  129 => 51,  126 => 50,  120 => 49,  115 => 46,  113 => 43,  107 => 42,  104 => 41,  101 => 40,  97 => 39,  91 => 38,  84 => 35,  79 => 34,  76 => 33,  72 => 32,  66 => 30,  63 => 29,  60 => 28,  58 => 27,  55 => 26,  53 => 15,  50 => 14,  48 => 3,  45 => 2,  43 => 1,);
  301.     }
  302.     public function getSourceContext()
  303.     {
  304.         return new Source("{% from 'utils.html.twig' import ico, libraryDuration %}
  305. {% set icosLibrary = {
  306.     1: 'globe',
  307.     2: 'file-text',
  308.     3: 'sound',
  309.     4: 'file-text',
  310.     5: 'video',
  311.     6: 'video',
  312.     7: 'video',
  313.     8: 'video',
  314.     9: 'video'
  315. } %}
  316. {% set libEnum = {
  317. 1: 'CONTENT_EMBED',
  318. 2: 'CONTENT_FILES',
  319. 3: 'CONTENT_AUDIO',
  320. 4: 'CONTENT_TEXT',
  321. 5: 'CONTENT_VIDEO',
  322. 6: 'CONTENT_LIVE',
  323. 7: 'CONTENT_CONFERENCE',
  324. 8: 'CONTENT_VIDEO_FILE',
  325. 9: 'CONTENT_EXTERNAL_LIVE',
  326. } %}
  327. {% if lessonModules|length > 0 %}
  328.     {% set total = lessonModules|length %}
  329.     {% set resta = total-show %}
  330.     <h3 class=\"tit-sec\">{{ getLanguage('content', 'product') }}</h3>
  331.     <div id=\"contem-modulos\" class=\"perguntas\">
  332.         {% for i, lessonModule in lessonModules %}
  333.             {% set n = i+1 %}
  334.             {% if (n == show + 1) %}<div class=\"js--hidden\">{% endif %}
  335.                 <div class=\"questao{{ n <= open ? ' status--aberto' }}\">
  336.                     <div class=\"pergunta js--abre\">
  337.                         <p>
  338.                             <span class=\"question-number\">{{ n }}</span>{{ lessonModule.title }}
  339.                             {% for k, workload in lessonModule.workload %}
  340.                                 {% if workload > 0 %}
  341.                                     <span class=\"workload\">
  342.                                         <span class=\"ico-clock\">{{ ico('clock') }}</span>{{ workload }}
  343.                                         {{ plural(workload, 
  344.                                             getLanguage('workload_hour', 'product'), 
  345.                                             getLanguage('workload_hours', 'product')
  346.                                         )}}
  347.                                     </span>
  348.                                 {% endif %}
  349.                             {% endfor %}
  350.                         </p>
  351.                         <span class=\"ico seta\">{{ ico('chevron-down') }}</span>
  352.                     </div>
  353.                     <div class=\"resposta product-content js--sub\">
  354.                         {% if lessonModule.description is not empty %}
  355.                             {% if lessonModule.description != \"null\" %}
  356.                                 <div class=\"desc\">{{ lessonModule.description }}</div>
  357.                             {% endif %}
  358.                         {% endif %}
  359.                         <ul class=\"lessons\">
  360.                             {% set paged = [enum('LibraryEnum::CONTENT_FILES'), enum('LibraryEnum::CONTENT_TEXT')] %}
  361.                             {% set isPaged = false %}
  362.                             {% for j, lesson in lessonModule.lessons %}
  363.                                 {% if lesson.library %}
  364.                                     <li class=\"lesson\">
  365.                                         {% if lesson.library.type is defined %}
  366.                                             {% if lesson.library.type > 0 and lesson.library.type < 10 %}
  367.                                                 <i class=\"ico\">{{ ico(icosLibrary[lesson.library.type]) }}</i>
  368.                                             {% endif %}
  369.                                         {% endif %}
  370.                                         <p class=\"title\">{{ lesson.title }}</p>
  371.                                         {% if lesson.library.type is defined %}
  372.                                             {% set isPaged = (lesson.library.type in paged ? true : false) %}
  373.                                         {% endif %}
  374.                                         {% if not isPaged %}
  375.                                             <span class=\"ico\">{{ ico('clock') }}</span>
  376.                                         {% endif %}
  377.                                         <p class=\"size\">
  378.                                             {{ libraryDuration(lesson) }}
  379.                                         </p>
  380.                                         {% if lesson.demonstration == enum('LessonEnum::YES') %}
  381.                                             <p class=\"acao\">
  382.                                                 <a class=\"btn-watch\" href=\"{{ path('lessonDemoPage', { lessonId: lesson.id, productOfferId: productOffer.id }) }}\">{{ getLanguage('watch', 'product') }}</a>
  383.                                             </p>
  384.                                         {% endif %}
  385.                                     </li>
  386.                                 {% endif %}
  387.                             {% endfor %}
  388.                         </ul>
  389.                     </div>
  390.                 </div>
  391.             {% if (n == total) %}</div>{% endif %}
  392.             {# -/ .js--hidden #}
  393.         {% endfor %}
  394.         {# MOSTRAR MAIS #}
  395.         {% if resta > 0 %}
  396.             {% set label = (resta == 1)?'module':'modules' %}
  397.             <div class=\"modulos-mais\">
  398.                 <a id=\"btn-modulos-mostrar\" class=\"btn-mais\">
  399.                     <span class=\"js--shown\">{{ getLanguage('more', 'product') }} {{ resta }} {{ getLanguage(label, 'product') }}</span>
  400.                     <span class=\"js--hidden\">{{ getLanguage('hide', 'product') }} {{ resta }} {{ getLanguage(label, 'product') }}</span>
  401.                 </a>
  402.             </div>
  403.         {% endif %}
  404.     </div>
  405. {% endif %}
  406. ""website/product/product-detail-course-content-section.html.twig""/var/www/html/templates/website/product/product-detail-course-content-section.html.twig");
  407.     }
  408. }