var/cache/dev/twig/a2/a2ddc5827e3a89f117f7625694d1335d.php line 39

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. /* blog/show.html.twig */
  14. class __TwigTemplate_a339202d76bb5a4546cb67e4f415046a 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.             'column_center' => [$this'block_column_center'],
  24.             'column_right' => [$this'block_column_right'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "layout/layout-right-columns.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/show.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""blog/show.html.twig"));
  39.         // line 3
  40.         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'3$this->source); })()), "videoPoster", [], "any"falsefalsefalse3))) {
  41.             // line 4
  42.             $context["video_poster"] = "/build/images/poster_default.png";
  43.         } else {
  44.             // line 6
  45.             $context["video_poster"] = ("/uploads/videos/poster/" twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'6$this->source); })()), "videoPoster", [], "any"falsefalsefalse6), "src", [], "any"falsefalsefalse6));
  46.         }
  47.         // line 1
  48.         $this->parent $this->loadTemplate("layout/layout-right-columns.html.twig""blog/show.html.twig"1);
  49.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  50.         
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  52.         
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  54.     }
  55.     // line 9
  56.     public function block_column_center($context, array $blocks = [])
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column_center"));
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column_center"));
  63.         // line 10
  64.         echo "
  65. \t<section class=\"mn-sec\">
  66. \t\t<div class=\"mn-vid-sc single_video\">
  67. \t\t\t<div class=\"vid-1\">
  68. \t\t\t\t<div class=\"vid-pr\">
  69. \t\t\t\t\t<video id=\"my-video\" class=\"video-js\" controls preload=\"auto\" width=\"640\" height=\"264\" poster=\"";
  70.         // line 15
  71.         echo twig_escape_filter($this->env, (isset($context["video_poster"]) || array_key_exists("video_poster"$context) ? $context["video_poster"] : (function () { throw new RuntimeError('Variable "video_poster" does not exist.'15$this->source); })()), "html"nulltrue);
  72.         echo "\" data-setup=\"{}\">
  73. \t\t\t\t\t\t<source src=\"/uploads/videos/";
  74.         // line 16
  75.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'16$this->source); })()), "video", [], "any"falsefalsefalse16), "src", [], "any"falsefalsefalse16), "html"nulltrue);
  76.         echo "\" type=\"";
  77.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'16$this->source); })()), "video", [], "any"falsefalsefalse16), "mime", [], "any"falsefalsefalse16), "html"nulltrue);
  78.         echo "\"/>
  79. \t\t\t\t\t</video>
  80. \t\t\t\t</div>
  81. \t\t\t\t<!--vid-pr end-->
  82. \t\t\t\t<div class=\"vid-info\">
  83. \t\t\t\t\t<h3>";
  84.         // line 21
  85.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'21$this->source); })()), "video", [], "any"falsefalsefalse21), "title", [], "any"falsefalsefalse21), "html"nulltrue);
  86.         echo "</h3>
  87. \t\t\t\t</div>
  88. \t\t\t\t<!--vid-info end-->
  89. \t\t\t</div>
  90. \t\t\t<!--vid-1 end-->
  91. \t\t\t<div class=\"abt-mk\">
  92. \t\t\t\t<div class=\"info-pr-sec\">
  93. \t\t\t\t\t<div class=\"vcp_inf cr\">
  94. \t\t\t\t\t\t<div class=\"vc_info pr\">
  95. \t\t\t\t\t\t\t<span>Publié le :
  96. \t\t\t\t\t\t\t\t";
  97.         // line 31
  98.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'31$this->source); })()), "createdAt", [], "any"falsefalsefalse31), twig_get_attribute($this->env$this->source, (isset($context["config"]) || array_key_exists("config"$context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.'31$this->source); })()), "dateFormat", [], "any"falsefalsefalse31)), "html"nulltrue);
  99.         echo "</span>
  100. \t\t\t\t\t\t</div>
  101. \t\t\t\t\t</div>
  102. \t\t\t\t\t<!--vcp_inf end
  103. \t\t\t\t\t<ul class=\"df-list\">
  104. \t\t\t\t\t\t<li>
  105. \t\t\t\t\t\t\t<button data-toggle=\"tooltip\" data-placement=\"top\" title=\"Share\">
  106. \t\t\t\t\t\t\t\t<i class=\"icon-share\"></i>
  107. \t\t\t\t\t\t\t</button>
  108. \t\t\t\t\t\t</li>
  109. \t\t\t\t\t</ul>
  110. \t\t\t\t\tdf-list end-->
  111. \t\t\t\t\t<div class=\"clearfix\"></div>
  112. \t\t\t\t</div>
  113. \t\t\t\t<div class=\"clearfix\"></div>
  114. \t\t\t\t<div class=\"about-ch-sec\">
  115. \t\t\t\t\t<div class=\"abt-rw\">
  116. \t\t\t\t\t\t<h4>Catégorie :
  117. \t\t\t\t\t\t</h4>
  118. \t\t\t\t\t\t<p>";
  119.         // line 50
  120.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'50$this->source); })()), "category", [], "any"falsefalsefalse50), "title", [], "any"falsefalsefalse50), "html"nulltrue);
  121.         echo "</p>
  122. \t\t\t\t\t</div>
  123. \t\t\t\t\t<div class=\"abt-rw\">
  124. \t\t\t\t\t\t<h4>Description :
  125. \t\t\t\t\t\t</h4>
  126. \t\t\t\t\t\t<p>
  127. \t\t\t\t\t\t\t";
  128.         // line 56
  129.         echo twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'56$this->source); })()), "video", [], "any"falsefalsefalse56), "description", [], "any"falsefalsefalse56);
  130.         echo "
  131. \t\t\t\t\t\t</p>
  132. \t\t\t\t\t</div>
  133. \t\t\t\t\t";
  134.         // line 59
  135.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'59$this->source); })()), "tags", [], "any"falsefalsefalse59))) {
  136.             // line 60
  137.             echo "\t\t\t\t\t\t<div class=\"abt-rw tgs\">
  138. \t\t\t\t\t\t\t<h4>Tags :
  139. \t\t\t\t\t\t\t</h4>
  140. \t\t\t\t\t\t\t<p>
  141. \t\t\t\t\t\t\t\t";
  142.             // line 64
  143.             $context['_parent'] = $context;
  144.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'64$this->source); })()), "tags", [], "any"falsefalsefalse64));
  145.             foreach ($context['_seq'] as $context["_key"] => $context["tag"]) {
  146.                 // line 65
  147.                 echo "\t\t\t\t\t\t\t\t\t<span class=\"tag badge bg-info\">#";
  148.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["tag"], "name", [], "any"falsefalsefalse65), "html"nulltrue);
  149.                 echo "</span>
  150. \t\t\t\t\t\t\t\t";
  151.             }
  152.             $_parent $context['_parent'];
  153.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tag'], $context['_parent'], $context['loop']);
  154.             $context array_intersect_key($context$_parent) + $_parent;
  155.             // line 67
  156.             echo "\t\t\t\t\t\t\t</p>
  157. \t\t\t\t\t\t</div>
  158. \t\t\t\t\t";
  159.         }
  160.         // line 70
  161.         echo "\t\t\t\t</div>
  162. \t\t\t\t<!--about-ch-sec end-->
  163. \t\t\t</div>
  164. \t\t\t<!--abt-mk end-->
  165. \t\t\t";
  166.         // line 74
  167.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'74$this->source); })()), "videoMarkers", [], "any"falsefalsefalse74), "count", [], "any"falsefalsefalse74)) {
  168.             // line 75
  169.             echo "\t\t\t\t<div class=\"amazon\">
  170. \t\t\t\t\t<div class=\"abt-amz\">
  171. \t\t\t\t\t\t<div class=\"amz-hd\">
  172. \t\t\t\t\t\t\t<h2>Documents relatifs</h2>
  173. \t\t\t\t\t\t</div>
  174. \t\t\t\t\t\t<!--amz-hd end-->
  175. \t\t\t\t\t\t<div class=\"clearfix\"></div>
  176. \t\t\t\t\t</div>
  177. \t\t\t\t\t<!--abt-amz end-->
  178. \t\t\t\t\t<div class=\"amz-img-inf\">
  179. \t\t\t\t\t\t<div id=\"videoMarker-list\" class=\"row\">
  180. \t\t\t\t\t\t\t";
  181.             // line 86
  182.             $context['_parent'] = $context;
  183.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'86$this->source); })()), "videoMarkers", [], "any"falsefalsefalse86));
  184.             foreach ($context['_seq'] as $context["_key"] => $context["videoMarker"]) {
  185.                 // line 87
  186.                 echo "\t\t\t\t\t\t\t\t<div class=\"col-lg-3 col-md-3 col-sm-6 col-6 full_wdth\">
  187. \t\t\t\t\t\t\t\t\t<div id=\"videoMarker-";
  188.                 // line 88
  189.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["videoMarker"], "id", [], "any"falsefalsefalse88), "html"nulltrue);
  190.                 echo "\" class=\"videoMarker-item\" data-timecode=\"";
  191.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["videoMarker"], "timecode", [], "any"falsefalsefalse88), "html"nulltrue);
  192.                 echo "\" data-duration=\"";
  193.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["videoMarker"], "duration", [], "any"falsefalsefalse88), "html"nulltrue);
  194.                 echo "\" data-title=\" ";
  195.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["videoMarker"], "title", [], "any"falsefalsefalse88), "html"nulltrue);
  196.                 echo " \">
  197. \t\t\t\t\t\t\t\t\t\t
  198. \t\t\t\t\t\t\t\t\t\t";
  199.                 // line 90
  200.                 $context['_parent'] = $context;
  201.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["videoMarker"], "attachments", [], "any"falsefalsefalse90));
  202.                 foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) {
  203.                     // line 91
  204.                     echo "\t\t\t\t\t\t\t\t\t\t\t";
  205.                     if (twig_in_filter("vnd.openxmlformats"twig_get_attribute($this->env$this->source$context["attachment"], "mime", [], "any"falsefalsefalse91))) {
  206.                         // line 92
  207.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  208.                         $context["icon"] = "word.jpg";
  209.                         // line 93
  210.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  211.                     } elseif (twig_in_filter("pdf"twig_get_attribute($this->env$this->source$context["attachment"], "mime", [], "any"falsefalsefalse93))) {
  212.                         // line 94
  213.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  214.                         $context["icon"] = "pdf.png";
  215.                         // line 95
  216.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  217.                     } elseif (twig_in_filter("vnd.ms-excel"twig_get_attribute($this->env$this->source$context["attachment"], "mime", [], "any"falsefalsefalse95))) {
  218.                         // line 96
  219.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  220.                         $context["icon"] = "excel.jpg";
  221.                         // line 97
  222.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  223.                     } elseif (twig_in_filter("vnd.ms-powerpoint"twig_get_attribute($this->env$this->source$context["attachment"], "mime", [], "any"falsefalsefalse97))) {
  224.                         // line 98
  225.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  226.                         $context["icon"] = "powerpoint.jpg";
  227.                         // line 99
  228.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  229.                     } else {
  230.                         // line 100
  231.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  232.                         $context["icon"] = "txt.png";
  233.                         // line 101
  234.                         echo "\t\t\t\t\t\t\t\t\t\t\t";
  235.                     }
  236.                     // line 102
  237.                     echo "
  238. \t\t\t\t\t\t\t\t\t\t\t<div class=\"mg-inf\">
  239. \t\t\t\t\t\t\t\t\t\t\t\t<div id=\"document-";
  240.                     // line 104
  241.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "id", [], "any"falsefalsefalse104), "html"nulltrue);
  242.                     echo "\" class=\"document\" data-media-src=\"";
  243.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "src", [], "any"falsefalsefalse104), "html"nulltrue);
  244.                     echo "\" data-media-icon=\"";
  245.                     echo twig_escape_filter($this->env, (isset($context["icon"]) || array_key_exists("icon"$context) ? $context["icon"] : (function () { throw new RuntimeError('Variable "icon" does not exist.'104$this->source); })()), "html"nulltrue);
  246.                     echo "\" data-media-title=\"";
  247.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "title", [], "any"falsefalsefalse104), "html"nulltrue);
  248.                     echo "\" data-media-description=\"";
  249.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "description", [], "any"falsefalsefalse104), "html"nulltrue);
  250.                     echo "\">
  251. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"img-sr\">
  252. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/";
  253.                     // line 106
  254.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "src", [], "any"falsefalsefalse106), "html"nulltrue);
  255.                     echo "\" title=\"";
  256.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "title", [], "any"falsefalsefalse106), "html"nulltrue);
  257.                     echo "\">
  258. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  259.                     // line 108
  260.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("build/images/photos/" . (isset($context["icon"]) || array_key_exists("icon"$context) ? $context["icon"] : (function () { throw new RuntimeError('Variable "icon" does not exist.'108$this->source); })()))), "html"nulltrue);
  261.                     echo "\" alt=\"\">
  262. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  263. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  264. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"info-sr\">
  265. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>
  266. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/";
  267.                     // line 113
  268.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "src", [], "any"falsefalsefalse113), "html"nulltrue);
  269.                     echo "\" title=\"";
  270.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "title", [], "any"falsefalsefalse113), "html"nulltrue);
  271.                     echo "\">";
  272.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["attachment"], "title", [], "any"falsefalsefalse113), "html"nulltrue);
  273.                     echo "</a>
  274. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"document-timecode\">
  275. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-
  276. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  277.                     // line 116
  278.                     echo twig_escape_filter($this->env$this->extensions['App\Twig\AppExtention']->timecodeConverter(twig_get_attribute($this->env$this->source$context["videoMarker"], "timecode", [], "any"falsefalsefalse116)), "html"nulltrue);
  279.                     echo "</span>
  280. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</h3>
  281. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  282. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  283. \t\t\t\t\t\t\t\t\t\t\t</div>
  284. \t\t\t\t\t\t\t\t\t\t";
  285.                 }
  286.                 $_parent $context['_parent'];
  287.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']);
  288.                 $context array_intersect_key($context$_parent) + $_parent;
  289.                 // line 123
  290.                 echo "\t\t\t\t\t\t\t\t\t</div>
  291. \t\t\t\t\t\t\t\t\t<!--mg-inf end-->
  292. \t\t\t\t\t\t\t\t</div>
  293. \t\t\t\t\t\t\t";
  294.             }
  295.             $_parent $context['_parent'];
  296.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['videoMarker'], $context['_parent'], $context['loop']);
  297.             $context array_intersect_key($context$_parent) + $_parent;
  298.             // line 128
  299.             echo "\t\t\t\t\t\t</div>
  300. \t\t\t\t\t</div>
  301. \t\t\t\t\t<!--amz-img-in-->
  302. \t\t\t\t</div>
  303. \t\t\t";
  304.         }
  305.         // line 134
  306.         echo "\t\t\t<!--amazon end-->
  307. \t\t</div>
  308. \t</section>
  309. \t<!--mn-sec end-->
  310. \t";
  311.         // line 138
  312.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("videojs");
  313.         echo "
  314. ";
  315.         
  316.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  317.         
  318.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  319.     }
  320.     // line 141
  321.     public function block_column_right($context, array $blocks = [])
  322.     {
  323.         $macros $this->macros;
  324.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  325.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column_right"));
  326.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  327.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column_right"));
  328.         // line 142
  329.         echo "\t<div class=\"sidebar\">
  330. \t\t";
  331.         // line 144
  332.         $this->loadTemplate("blog/_video_associated.html.twig""blog/show.html.twig"144)->display(twig_array_merge($context, (isset($context["articles"]) || array_key_exists("articles"$context) ? $context["articles"] : (function () { throw new RuntimeError('Variable "articles" does not exist.'144$this->source); })())));
  333.         // line 145
  334.         echo "\t\t<!--videoo-list-ab end-->
  335. \t</div>
  336. \t<!--side-bar end-->
  337. ";
  338.         
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  340.         
  341.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  342.     }
  343.     public function getTemplateName()
  344.     {
  345.         return "blog/show.html.twig";
  346.     }
  347.     public function isTraitable()
  348.     {
  349.         return false;
  350.     }
  351.     public function getDebugInfo()
  352.     {
  353.         return array (  358 => 145,  356 => 144,  352 => 142,  342 => 141,  330 => 138,  324 => 134,  316 => 128,  306 => 123,  293 => 116,  283 => 113,  275 => 108,  268 => 106,  255 => 104,  251 => 102,  248 => 101,  245 => 100,  242 => 99,  239 => 98,  236 => 97,  233 => 96,  230 => 95,  227 => 94,  224 => 93,  221 => 92,  218 => 91,  214 => 90,  203 => 88,  200 => 87,  196 => 86,  183 => 75,  181 => 74,  175 => 70,  170 => 67,  161 => 65,  157 => 64,  151 => 60,  149 => 59,  143 => 56,  134 => 50,  112 => 31,  99 => 21,  89 => 16,  85 => 15,  78 => 10,  68 => 9,  57 => 1,  54 => 6,  51 => 4,  49 => 3,  36 => 1,);
  354.     }
  355.     public function getSourceContext()
  356.     {
  357.         return new Source("{% extends 'layout/layout-right-columns.html.twig' %}
  358. {% if article.videoPoster is empty %}
  359. \t{% set video_poster = '/build/images/poster_default.png' %}
  360. {% else %}
  361. \t{% set video_poster = '/uploads/videos/poster/' ~  article.videoPoster.src %}
  362. {% endif %}
  363. {% block column_center %}
  364. \t<section class=\"mn-sec\">
  365. \t\t<div class=\"mn-vid-sc single_video\">
  366. \t\t\t<div class=\"vid-1\">
  367. \t\t\t\t<div class=\"vid-pr\">
  368. \t\t\t\t\t<video id=\"my-video\" class=\"video-js\" controls preload=\"auto\" width=\"640\" height=\"264\" poster=\"{{ video_poster }}\" data-setup=\"{}\">
  369. \t\t\t\t\t\t<source src=\"/uploads/videos/{{ article.video.src }}\" type=\"{{ article.video.mime }}\"/>
  370. \t\t\t\t\t</video>
  371. \t\t\t\t</div>
  372. \t\t\t\t<!--vid-pr end-->
  373. \t\t\t\t<div class=\"vid-info\">
  374. \t\t\t\t\t<h3>{{ article.video.title }}</h3>
  375. \t\t\t\t</div>
  376. \t\t\t\t<!--vid-info end-->
  377. \t\t\t</div>
  378. \t\t\t<!--vid-1 end-->
  379. \t\t\t<div class=\"abt-mk\">
  380. \t\t\t\t<div class=\"info-pr-sec\">
  381. \t\t\t\t\t<div class=\"vcp_inf cr\">
  382. \t\t\t\t\t\t<div class=\"vc_info pr\">
  383. \t\t\t\t\t\t\t<span>Publié le :
  384. \t\t\t\t\t\t\t\t{{ article.createdAt|date(config.dateFormat) }}</span>
  385. \t\t\t\t\t\t</div>
  386. \t\t\t\t\t</div>
  387. \t\t\t\t\t<!--vcp_inf end
  388. \t\t\t\t\t<ul class=\"df-list\">
  389. \t\t\t\t\t\t<li>
  390. \t\t\t\t\t\t\t<button data-toggle=\"tooltip\" data-placement=\"top\" title=\"Share\">
  391. \t\t\t\t\t\t\t\t<i class=\"icon-share\"></i>
  392. \t\t\t\t\t\t\t</button>
  393. \t\t\t\t\t\t</li>
  394. \t\t\t\t\t</ul>
  395. \t\t\t\t\tdf-list end-->
  396. \t\t\t\t\t<div class=\"clearfix\"></div>
  397. \t\t\t\t</div>
  398. \t\t\t\t<div class=\"clearfix\"></div>
  399. \t\t\t\t<div class=\"about-ch-sec\">
  400. \t\t\t\t\t<div class=\"abt-rw\">
  401. \t\t\t\t\t\t<h4>Catégorie :
  402. \t\t\t\t\t\t</h4>
  403. \t\t\t\t\t\t<p>{{ article.category.title }}</p>
  404. \t\t\t\t\t</div>
  405. \t\t\t\t\t<div class=\"abt-rw\">
  406. \t\t\t\t\t\t<h4>Description :
  407. \t\t\t\t\t\t</h4>
  408. \t\t\t\t\t\t<p>
  409. \t\t\t\t\t\t\t{{ article.video.description|raw }}
  410. \t\t\t\t\t\t</p>
  411. \t\t\t\t\t</div>
  412. \t\t\t\t\t{% if article.tags is not empty %}
  413. \t\t\t\t\t\t<div class=\"abt-rw tgs\">
  414. \t\t\t\t\t\t\t<h4>Tags :
  415. \t\t\t\t\t\t\t</h4>
  416. \t\t\t\t\t\t\t<p>
  417. \t\t\t\t\t\t\t\t{% for tag in article.tags %}
  418. \t\t\t\t\t\t\t\t\t<span class=\"tag badge bg-info\">#{{ tag.name }}</span>
  419. \t\t\t\t\t\t\t\t{% endfor %}
  420. \t\t\t\t\t\t\t</p>
  421. \t\t\t\t\t\t</div>
  422. \t\t\t\t\t{% endif %}
  423. \t\t\t\t</div>
  424. \t\t\t\t<!--about-ch-sec end-->
  425. \t\t\t</div>
  426. \t\t\t<!--abt-mk end-->
  427. \t\t\t{% if article.videoMarkers.count %}
  428. \t\t\t\t<div class=\"amazon\">
  429. \t\t\t\t\t<div class=\"abt-amz\">
  430. \t\t\t\t\t\t<div class=\"amz-hd\">
  431. \t\t\t\t\t\t\t<h2>Documents relatifs</h2>
  432. \t\t\t\t\t\t</div>
  433. \t\t\t\t\t\t<!--amz-hd end-->
  434. \t\t\t\t\t\t<div class=\"clearfix\"></div>
  435. \t\t\t\t\t</div>
  436. \t\t\t\t\t<!--abt-amz end-->
  437. \t\t\t\t\t<div class=\"amz-img-inf\">
  438. \t\t\t\t\t\t<div id=\"videoMarker-list\" class=\"row\">
  439. \t\t\t\t\t\t\t{% for videoMarker in article.videoMarkers %}
  440. \t\t\t\t\t\t\t\t<div class=\"col-lg-3 col-md-3 col-sm-6 col-6 full_wdth\">
  441. \t\t\t\t\t\t\t\t\t<div id=\"videoMarker-{{ videoMarker.id }}\" class=\"videoMarker-item\" data-timecode=\"{{ videoMarker.timecode }}\" data-duration=\"{{ videoMarker.duration }}\" data-title=\" {{ videoMarker.title }} \">
  442. \t\t\t\t\t\t\t\t\t\t
  443. \t\t\t\t\t\t\t\t\t\t{% for attachment in videoMarker.attachments %}
  444. \t\t\t\t\t\t\t\t\t\t\t{% if 'vnd.openxmlformats' in attachment.mime %}
  445. \t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'word.jpg' %}
  446. \t\t\t\t\t\t\t\t\t\t\t{% elseif 'pdf' in attachment.mime %}
  447. \t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'pdf.png' %}
  448. \t\t\t\t\t\t\t\t\t\t\t{% elseif 'vnd.ms-excel' in attachment.mime %}
  449. \t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'excel.jpg' %}
  450. \t\t\t\t\t\t\t\t\t\t\t{% elseif 'vnd.ms-powerpoint' in attachment.mime %}
  451. \t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'powerpoint.jpg'%}
  452. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  453. \t\t\t\t\t\t\t\t\t\t\t\t{% set icon = 'txt.png' %}
  454. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  455. \t\t\t\t\t\t\t\t\t\t\t<div class=\"mg-inf\">
  456. \t\t\t\t\t\t\t\t\t\t\t\t<div id=\"document-{{ attachment.id }}\" class=\"document\" data-media-src=\"{{ attachment.src }}\" data-media-icon=\"{{ icon }}\" data-media-title=\"{{ attachment.title }}\" data-media-description=\"{{ attachment.description }}\">
  457. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"img-sr\">
  458. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/{{ attachment.src }}\" title=\"{{ attachment.title }}\">
  459. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset('build/images/photos/' ~ icon) }}\" alt=\"\">
  460. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  461. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  462. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"info-sr\">
  463. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3>
  464. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"/uploads/documents/{{ attachment.src }}\" title=\"{{ attachment.title }}\">{{ attachment.title }}</a>
  465. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"document-timecode\">
  466. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-
  467. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ videoMarker.timecode|timecode }}</span>
  468. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</h3>
  469. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  470. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  471. \t\t\t\t\t\t\t\t\t\t\t</div>
  472. \t\t\t\t\t\t\t\t\t\t{% endfor %}
  473. \t\t\t\t\t\t\t\t\t</div>
  474. \t\t\t\t\t\t\t\t\t<!--mg-inf end-->
  475. \t\t\t\t\t\t\t\t</div>
  476. \t\t\t\t\t\t\t{% endfor %}
  477. \t\t\t\t\t\t</div>
  478. \t\t\t\t\t</div>
  479. \t\t\t\t\t<!--amz-img-in-->
  480. \t\t\t\t</div>
  481. \t\t\t{% endif %}
  482. \t\t\t<!--amazon end-->
  483. \t\t</div>
  484. \t</section>
  485. \t<!--mn-sec end-->
  486. \t{{ encore_entry_script_tags('videojs') }}
  487. {% endblock %}
  488. {% block column_right %}
  489. \t<div class=\"sidebar\">
  490. \t\t{% include \"blog/_video_associated.html.twig\" with articles %}
  491. \t\t<!--videoo-list-ab end-->
  492. \t</div>
  493. \t<!--side-bar end-->
  494. {% endblock %}
  495. ""blog/show.html.twig""/home/clients/750cffd053f851181de79c86d51438f1/sites/Cirad.dev-djaka.fr/templates/blog/show.html.twig");
  496.     }
  497. }