var/cache/dev/twig/eb/eba5a45f5b6df5e1a9320838bb07c89d.php line 222

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @PumukitWebTV/Resources/template_video.html.twig */
  16. class __TwigTemplate_661d909865ce00f53b3f5e6eb7f8e6e0 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->parent false;
  28.         $this->blocks = [
  29.         ];
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = []): iterable
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PumukitWebTV/Resources/template_video.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@PumukitWebTV/Resources/template_video.html.twig"));
  38.         // line 1
  39.         if ((($tmp =  !array_key_exists("videoPath"$context)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  40.             // line 2
  41.             yield "    ";
  42.             if ((($tmp CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'2$this->source); })()), "isPublished", [], "any"falsefalsefalse2)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  43.                 // line 3
  44.                 yield "        ";
  45.                 $context["videoPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pumukit_webtv_multimediaobject_index", ["id" => CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'3$this->source); })()), "id", [], "any"falsefalsefalse3)]);
  46.                 // line 4
  47.                 yield "    ";
  48.             } else {
  49.                 // line 5
  50.                 yield "        ";
  51.                 $context["videoPath"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pumukit_webtv_multimediaobject_magicindex", ["secret" => CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'5$this->source); })()), "secret", [], "any"falsefalsefalse5)]);
  52.                 // line 6
  53.                 yield "    ";
  54.             }
  55.         }
  56.         // line 8
  57.         $context["videoTitle"] = ((CoreExtension::getAttribute($this->env$this->source, ($context["object"] ?? null), "title", [], "any"truetruefalse8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'8$this->source); })()), "title", [], "any"falsefalsefalse8), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No title"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("No title")));
  58.         // line 9
  59.         $context["seriesTitle"] = ((CoreExtension::getAttribute($this->env$this->source, ($context["object"] ?? null), "getSeriesTitle", [], "method"truetruefalse9)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'9$this->source); })()), "getSeriesTitle", [], "method"falsefalsefalse9), "")) : (""));
  60.         // line 10
  61.         yield "
  62. <div class=\"";
  63.         // line 11
  64.         if ((($tmp $this->extensions['Pumukit\NewAdminBundle\Twig\PumukitAdminExtension']->isNaked($this->env)) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  65.             yield "col-xs-6";
  66.         } else {
  67.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Pumukit\WebTVBundle\Twig\BootstrapExtension']->getCols(((array_key_exists("objectByCol"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["objectByCol"]) || array_key_exists("objectByCol"$context) ? $context["objectByCol"] : (function () { throw new RuntimeError('Variable "objectByCol" does not exist.'11$this->source); })()), 1)) : (1))), "html"nulltrue);
  68.         }
  69.         yield " image_representation\">
  70.     <div class=\"thumbnail\">
  71.         <a class=\"multimediaobject ";
  72.         // line 13
  73.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'13$this->source); })()), "getStringType", [CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'13$this->source); })()), "getType", [], "method"falsefalsefalse13)], "method"falsefalsefalse13)), "html"nulltrue);
  74.         yield "\" href=\"";
  75.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["videoPath"]) || array_key_exists("videoPath"$context) ? $context["videoPath"] : (function () { throw new RuntimeError('Variable "videoPath" does not exist.'13$this->source); })()), "html"nulltrue);
  76.         yield "\" title=\"";
  77.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["videoTitle"]) || array_key_exists("videoTitle"$context) ? $context["videoTitle"] : (function () { throw new RuntimeError('Variable "videoTitle" does not exist.'13$this->source); })()), "html"nulltrue);
  78.         yield "\">
  79.             <div>
  80.                 <div class=\"embed-responsive embed-responsive-16by9\">
  81.                     <div class=\"embed-responsive-item text-center\">
  82.                         <img alt=\"";
  83.         // line 17
  84.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["videoTitle"]) || array_key_exists("videoTitle"$context) ? $context["videoTitle"] : (function () { throw new RuntimeError('Variable "videoTitle" does not exist.'17$this->source); })()), "html"nulltrue);
  85.         yield "\" src=\"";
  86.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getFirstUrlPicFilter((isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'17$this->source); })())), "html"nulltrue);
  87.         yield "\" class=\"img-responsive img_adapter_4_3 dynamic_image\"
  88.                             data-dynamic-pic=\"";
  89.         // line 18
  90.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getDynamicPic((isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'18$this->source); })()), true), "html"nulltrue);
  91.         yield "\"
  92.                             data-static-pic=\"";
  93.         // line 19
  94.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getFirstUrlPicFilter((isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'19$this->source); })())), "html"nulltrue);
  95.         yield "\"
  96.                         />
  97.                         ";
  98.         // line 21
  99.         if ((array_key_exists("show_video_options"$context) && ((isset($context["show_video_options"]) || array_key_exists("show_video_options"$context) ? $context["show_video_options"] : (function () { throw new RuntimeError('Variable "show_video_options" does not exist.'21$this->source); })()) === true))) {
  100.             // line 22
  101.             yield "                            <div class=\"multimedia_object_edit_button\" data-multimedia-object=\"";
  102.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'22$this->source); })()), "id", [], "any"falsefalsefalse22), "html"nulltrue);
  103.             yield "\" data-multimedia-object-status=\"";
  104.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'22$this->source); })()), "getStatus", [], "method"falsefalsefalse22), "html"nulltrue);
  105.             yield "\" data-multimedia-object-title=\"";
  106.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'22$this->source); })()), "getTitle", [], "method"falsefalsefalse22), "html"nulltrue);
  107.             yield "\">
  108.                                 <i class=\"fa fa-cog fa-2x\"></i>
  109.                             </div>
  110.                         ";
  111.         }
  112.         // line 26
  113.         yield "
  114.                         ";
  115.         // line 27
  116.         if ((((array_key_exists("show_inside_video_duration"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["show_inside_video_duration"]) || array_key_exists("show_inside_video_duration"$context) ? $context["show_inside_video_duration"] : (function () { throw new RuntimeError('Variable "show_inside_video_duration" does not exist.'27$this->source); })()), true)) : (true)) && $this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getMmobjDuration((isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'27$this->source); })())))) {
  117.             // line 28
  118.             yield "                            <span class=\"inside-video-duration\">";
  119.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getDurationString($this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getMmobjDuration((isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'28$this->source); })()))), "html"nulltrue);
  120.             yield "</span>
  121.                         ";
  122.         }
  123.         // line 30
  124.         yield "                    </div>
  125.                 </div>
  126.                 ";
  127.         // line 32
  128.         if ((array_key_exists("show_info"$context) && (isset($context["show_info"]) || array_key_exists("show_info"$context) ? $context["show_info"] : (function () { throw new RuntimeError('Variable "show_info" does not exist.'32$this->source); })()))) {
  129.             // line 33
  130.             yield "                    <p class=\"title_image_representation\">
  131.                         ";
  132.             // line 34
  133.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["videoTitle"]) || array_key_exists("videoTitle"$context) ? $context["videoTitle"] : (function () { throw new RuntimeError('Variable "videoTitle" does not exist.'34$this->source); })()), "html"nulltrue);
  134.             yield "
  135.                     </p>
  136.                 ";
  137.         }
  138.         // line 37
  139.         yield "            </div>
  140.         </a>
  141.         ";
  142.         // line 40
  143.         if ((array_key_exists("show_info"$context) && (isset($context["show_info"]) || array_key_exists("show_info"$context) ? $context["show_info"] : (function () { throw new RuntimeError('Variable "show_info" does not exist.'40$this->source); })()))) {
  144.             // line 41
  145.             yield "            <ul class=\"caption list-group\">
  146.                 ";
  147.             // line 42
  148.             if ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'42$this->source); })()), "line2", [], "any"falsefalsefalse42))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  149.                 // line 43
  150.                 yield "                    <li class=\"second_line_image_representation\">";
  151.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'43$this->source); })()), "line2", [], "any"falsefalsefalse43), "html"nulltrue);
  152.                 yield "</li>
  153.                 ";
  154.             } elseif ((($tmp =  !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source,             // line 44
  155. (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'44$this->source); })()), "subtitle", [], "any"falsefalsefalse44))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  156.                 // line 45
  157.                 yield "                    <li class=\"second_line_image_representation\">";
  158.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'45$this->source); })()), "subtitle", [], "any"falsefalsefalse45), "html"nulltrue);
  159.                 yield "</li>
  160.                 ";
  161.             } elseif ((($tmp =             // line 46
  162. (isset($context["seriesTitle"]) || array_key_exists("seriesTitle"$context) ? $context["seriesTitle"] : (function () { throw new RuntimeError('Variable "seriesTitle" does not exist.'46$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  163.                 // line 47
  164.                 yield "                    <li class=\"list-group-item list-group-item-custom\">
  165.                         <a href=\"";
  166.                 // line 48
  167.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pumukit_webtv_series_index", ["id" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'48$this->source); })()), "getSeries", [], "method"falsefalsefalse48), "getId", [], "method"falsefalsefalse48)]), "html"nulltrue);
  168.                 yield "\" title=\"";
  169.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seriesTitle"]) || array_key_exists("seriesTitle"$context) ? $context["seriesTitle"] : (function () { throw new RuntimeError('Variable "seriesTitle" does not exist.'48$this->source); })()), "html"nulltrue);
  170.                 yield "\">
  171.                             <p class=\"second_line_image_representation\" title=\"";
  172.                 // line 49
  173.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("i18n.one.Series") . " ") . (isset($context["seriesTitle"]) || array_key_exists("seriesTitle"$context) ? $context["seriesTitle"] : (function () { throw new RuntimeError('Variable "seriesTitle" does not exist.'49$this->source); })())), "html"nulltrue);
  174.                 yield "\">";
  175.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["seriesTitle"]) || array_key_exists("seriesTitle"$context) ? $context["seriesTitle"] : (function () { throw new RuntimeError('Variable "seriesTitle" does not exist.'49$this->source); })()), "html"nulltrue);
  176.                 yield "</p>
  177.                         </a>
  178.                     </li>
  179.                 ";
  180.             }
  181.             // line 53
  182.             yield "
  183.                 ";
  184.             // line 54
  185.             if ((($tmp = ((array_key_exists("show_info"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["show_info"]) || array_key_exists("show_info"$context) ? $context["show_info"] : (function () { throw new RuntimeError('Variable "show_info" does not exist.'54$this->source); })()), false)) : (false))) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  186.                 // line 55
  187.                 yield "                    ";
  188.                 if ((array_key_exists("with_publicdate"$context) && (isset($context["with_publicdate"]) || array_key_exists("with_publicdate"$context) ? $context["with_publicdate"] : (function () { throw new RuntimeError('Variable "with_publicdate" does not exist.'55$this->source); })()))) {
  189.                     // line 56
  190.                     yield "                        <li class=\"list-group-item list-group-item-custom date_and_visits text-left\">
  191.                             ";
  192.                     // line 57
  193.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->envCoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'57$this->source); })()), "publicDate", [], "any"falsefalsefalse57), "medium""none"""null"gregorian"CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'57$this->source); })()), "request", [], "any"falsefalsefalse57), "getLocale", [], "method"falsefalsefalse57)), "html"nulltrue);
  194.                     yield "
  195.                         </li>
  196.                     ";
  197.                 } else {
  198.                     // line 60
  199.                     yield "                        ";
  200.                     if (((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'60$this->source); })()), "request", [], "any"falsefalsefalse60), "attributes", [], "any"falsefalsefalse60), "get", ["_route"], "method"falsefalsefalse60) != "pumukit_webtv_announces_latestuploads_pager") &&  !CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'60$this->source); })()), "isExternalType", [], "method"falsefalsefalse60))) {
  201.                         // line 61
  202.                         yield "                            <li class=\"list-group-item list-group-item-custom date_and_visits text-left language\">
  203.                                 ";
  204.                         // line 62
  205.                         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Language", [], "messages");
  206.                         yield ":
  207.                                 ";
  208.                         // line 63
  209.                         $context["lang"] = ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, ($context["object"] ?? null), "getDisplayTrack", [], "method"falsetruefalse63), "getLanguage", [], "method"truetruefalse63)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'63$this->source); })()), "getDisplayTrack", [], "method"falsefalsefalse63), "getLanguage", [], "method"falsefalsefalse63), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'63$this->source); })()), "request", [], "any"falsefalsefalse63), "getLocale", [], "method"falsefalsefalse63))) : (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'63$this->source); })()), "request", [], "any"falsefalsefalse63), "getLocale", [], "method"falsefalsefalse63)));
  210.                         // line 64
  211.                         yield "                                ";
  212.                         yield (((($tmp $this->extensions['Pumukit\NewAdminBundle\Twig\PumukitAdminExtension']->isAddonLanguage((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'64$this->source); })()))) && $tmp instanceof Markup ? (string) $tmp $tmp)) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Pumukit\NewAdminBundle\Twig\PumukitAdminExtension']->getLanguageName((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'64$this->source); })())), "html"nulltrue)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), $this->extensions['Twig\Extra\Intl\IntlExtension']->getLanguageName((isset($context["lang"]) || array_key_exists("lang"$context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.'64$this->source); })()))), "html"nulltrue)));
  213.                         yield "
  214.                             </li>
  215.                         ";
  216.                     }
  217.                     // line 67
  218.                     yield "                        <li class=\"list-group-item list-group-item-custom text-right date_and_visits\">
  219.                             ";
  220.                     // line 68
  221.                     yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Viewed", [], "messages");
  222.                     yield ":
  223.                             ";
  224.                     // line 69
  225.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'69$this->source); })()), "getNumview", [], "method"falsefalsefalse69), "html"nulltrue);
  226.                     yield "
  227.                             ";
  228.                     // line 70
  229.                     yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("{0}times|{1}time|]1,Inf]times", ["%count%" => CoreExtension::getAttribute($this->env$this->source, (isset($context["object"]) || array_key_exists("object"$context) ? $context["object"] : (function () { throw new RuntimeError('Variable "object" does not exist.'70$this->source); })()), "getNumview", [], "method"falsefalsefalse70)]), "html"nulltrue);
  230.                     yield "
  231.                         </li>
  232.                     ";
  233.                 }
  234.                 // line 73
  235.                 yield "                ";
  236.             }
  237.             // line 74
  238.             yield "            </ul>
  239.         ";
  240.         }
  241.         // line 76
  242.         yield "    </div>
  243. </div>
  244. ";
  245.         
  246.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  247.         
  248.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  249.         yield from [];
  250.     }
  251.     /**
  252.      * @codeCoverageIgnore
  253.      */
  254.     public function getTemplateName(): string
  255.     {
  256.         return "@PumukitWebTV/Resources/template_video.html.twig";
  257.     }
  258.     /**
  259.      * @codeCoverageIgnore
  260.      */
  261.     public function isTraitable(): bool
  262.     {
  263.         return false;
  264.     }
  265.     /**
  266.      * @codeCoverageIgnore
  267.      */
  268.     public function getDebugInfo(): array
  269.     {
  270.         return array (  252 => 76,  248 => 74,  245 => 73,  239 => 70,  235 => 69,  231 => 68,  228 => 67,  221 => 64,  219 => 63,  215 => 62,  212 => 61,  209 => 60,  203 => 57,  200 => 56,  197 => 55,  195 => 54,  192 => 53,  183 => 49,  177 => 48,  174 => 47,  172 => 46,  167 => 45,  165 => 44,  160 => 43,  158 => 42,  155 => 41,  153 => 40,  148 => 37,  142 => 34,  139 => 33,  137 => 32,  133 => 30,  127 => 28,  125 => 27,  122 => 26,  110 => 22,  108 => 21,  103 => 19,  99 => 18,  93 => 17,  82 => 13,  73 => 11,  70 => 10,  68 => 9,  66 => 8,  62 => 6,  59 => 5,  56 => 4,  53 => 3,  50 => 2,  48 => 1,);
  271.     }
  272.     public function getSourceContext(): Source
  273.     {
  274.         return new Source("{% if videoPath is not defined %}
  275.     {% if object.isPublished %}
  276.         {% set videoPath = path('pumukit_webtv_multimediaobject_index', {'id': object.id}) %}
  277.     {% else %}
  278.         {% set videoPath = path('pumukit_webtv_multimediaobject_magicindex', {'secret': object.secret}) %}
  279.     {% endif %}
  280. {% endif %}
  281. {% set videoTitle = object.title | default('No title'|trans) %}
  282. {% set seriesTitle = object.getSeriesTitle()|default('') %}
  283. <div class=\"{% if is_naked() %}col-xs-6{% else %}{{ col_calculator(objectByCol|default(1)) }}{% endif %} image_representation\">
  284.     <div class=\"thumbnail\">
  285.         <a class=\"multimediaobject {{ object.getStringType(object.getType())|lower }}\" href=\"{{ videoPath }}\" title=\"{{ videoTitle }}\">
  286.             <div>
  287.                 <div class=\"embed-responsive embed-responsive-16by9\">
  288.                     <div class=\"embed-responsive-item text-center\">
  289.                         <img alt=\"{{ videoTitle }}\" src=\"{{ object|first_url_pic() }}\" class=\"img-responsive img_adapter_4_3 dynamic_image\"
  290.                             data-dynamic-pic=\"{{ object|first_dynamic_pic(true) }}\"
  291.                             data-static-pic=\"{{ object|first_url_pic() }}\"
  292.                         />
  293.                         {% if show_video_options is defined and show_video_options is same as (true)%}
  294.                             <div class=\"multimedia_object_edit_button\" data-multimedia-object=\"{{ object.id }}\" data-multimedia-object-status=\"{{ object.getStatus() }}\" data-multimedia-object-title=\"{{ object.getTitle() }}\">
  295.                                 <i class=\"fa fa-cog fa-2x\"></i>
  296.                             </div>
  297.                         {% endif %}
  298.                         {% if show_inside_video_duration|default(true) and mmobj_duration(object) %}
  299.                             <span class=\"inside-video-duration\">{{ mmobj_duration(object) | duration_string }}</span>
  300.                         {% endif %}
  301.                     </div>
  302.                 </div>
  303.                 {% if show_info is defined and show_info %}
  304.                     <p class=\"title_image_representation\">
  305.                         {{ videoTitle }}
  306.                     </p>
  307.                 {% endif %}
  308.             </div>
  309.         </a>
  310.         {% if show_info is defined and show_info %}
  311.             <ul class=\"caption list-group\">
  312.                 {% if object.line2 is not empty %}
  313.                     <li class=\"second_line_image_representation\">{{ object.line2 }}</li>
  314.                 {% elseif object.subtitle is not empty %}
  315.                     <li class=\"second_line_image_representation\">{{ object.subtitle }}</li>
  316.                 {% elseif seriesTitle %}
  317.                     <li class=\"list-group-item list-group-item-custom\">
  318.                         <a href=\"{{ path('pumukit_webtv_series_index', {'id': object.getSeries().getId() }) }}\" title=\"{{ seriesTitle }}\">
  319.                             <p class=\"second_line_image_representation\" title=\"{{ \"i18n.one.Series\"|trans ~ \" \" ~ seriesTitle }}\">{{ seriesTitle }}</p>
  320.                         </a>
  321.                     </li>
  322.                 {% endif %}
  323.                 {% if show_info|default(false) %}
  324.                     {% if with_publicdate is defined and with_publicdate %}
  325.                         <li class=\"list-group-item list-group-item-custom date_and_visits text-left\">
  326.                             {{ object.publicDate| format_datetime('medium','none',locale=app.request.getLocale()) }}
  327.                         </li>
  328.                     {% else %}
  329.                         {% if app.request.attributes.get('_route') != 'pumukit_webtv_announces_latestuploads_pager' and not object.isExternalType() %}
  330.                             <li class=\"list-group-item list-group-item-custom date_and_visits text-left language\">
  331.                                 {% trans %}Language{% endtrans %}:
  332.                                 {% set lang = object.getDisplayTrack().getLanguage()|default(app.request.getLocale()) %}
  333.                                 {{ is_addon_language(lang) ? lang | language_name_custom : lang | language_name | capitalize }}
  334.                             </li>
  335.                         {% endif %}
  336.                         <li class=\"list-group-item list-group-item-custom text-right date_and_visits\">
  337.                             {% trans %}Viewed{% endtrans %}:
  338.                             {{ object.getNumview() }}
  339.                             {{ \"{0}times|{1}time|]1,Inf]times\"|trans({'%count%':  object.getNumview()}) }}
  340.                         </li>
  341.                     {% endif %}
  342.                 {% endif %}
  343.             </ul>
  344.         {% endif %}
  345.     </div>
  346. </div>
  347. ""@PumukitWebTV/Resources/template_video.html.twig""/srv/pumukit/src/Pumukit/WebTVBundle/Resources/views/Resources/template_video.html.twig");
  348.     }
  349. }