<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* @PumukitWebTV/Series/template.html.twig */
class __TwigTemplate_dc5c55b88ccd240c0d1b17546be59acb extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'keywords' => [$this, 'block_keywords'],
'meta' => [$this, 'block_meta'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@PumukitWebTV/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PumukitWebTV/Series/template.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@PumukitWebTV/Series/template.html.twig"));
$this->parent = $this->load("@PumukitWebTV/layout.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield from $this->yieldParentBlock("title", $context, $blocks);
yield " - ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 3, $this->source); })()), "title", [], "any", false, false, false, 3), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_keywords(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "keywords"));
yield from $this->yieldParentBlock("keywords", $context, $blocks);
yield " - ";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::join(CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 4, $this->source); })()), "getKeywords", [], "method", false, false, false, 4), ","), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 6
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_meta(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 7
yield " ";
yield from $this->yieldParentBlock("meta", $context, $blocks);
yield "
<meta property=\"og:url\" content=\"";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("pumukit_webtv_series_index", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 8, $this->source); })()), "id", [], "any", false, false, false, 8)]), "html", null, true);
yield "\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"";
// line 10
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 10, $this->source); })()), "title", [], "any", false, false, false, 10), "html", null, true);
yield "\" />
<meta property=\"og:description\" content=\"";
// line 11
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 11, $this->source); })()), "description", [], "any", false, false, false, 11), "html", null, true);
yield "\" />
<meta property=\"og:image\" content=\"";
// line 12
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getFirstUrlPicFilter((isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 12, $this->source); })()), true), "html", null, true);
yield "\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 15
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 16
yield " ";
if (((CoreExtension::getAttribute($this->env, $this->source, ($context["series"] ?? null), "getSeriesStyle", [], "any", true, true, false, 16) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 16, $this->source); })()), "getSeriesStyle", [], "any", false, false, false, 16))) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 16, $this->source); })()), "getSeriesStyle", [], "any", false, false, false, 16)))) {
// line 17
yield " <style>
";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 18, $this->source); })()), "getSeriesStyle", [], "method", false, false, false, 18), "getText", [], "method", false, false, false, 18), "html", null, true);
yield "
</style>
";
}
// line 21
yield "
";
// line 22
$context["last_date"] = "";
// line 23
yield " ";
$context["last_subseriestitle"] = "";
// line 24
yield " ";
$context["template"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["series"] ?? null), "getProperty", ["template"], "method", true, true, false, 24)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 24, $this->source); })()), "getProperty", ["template"], "method", false, false, false, 24), "date")) : ("date"));
// line 25
yield "
";
// line 26
yield from $this->load("@PumukitWebTV/Misc/magic_url_disclaimer.html.twig", 26)->unwrap()->yield($context);
// line 27
yield " ";
$context["precinct"] = $this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getPrecinctOfSeries((isset($context["multimediaObjects"]) || array_key_exists("multimediaObjects", $context) ? $context["multimediaObjects"] : (function () { throw new RuntimeError('Variable "multimediaObjects" does not exist.', 27, $this->source); })()));
// line 28
yield " <div class=\"row\">
<div class=\"col-xs-12\">
";
// line 30
yield from $this->load("@PumukitWebTV/Series/template_header.html.twig", 30)->unwrap()->yield(CoreExtension::merge($context, ["series_precinct" => (isset($context["precinct"]) || array_key_exists("precinct", $context) ? $context["precinct"] : (function () { throw new RuntimeError('Variable "precinct" does not exist.', 30, $this->source); })())]));
// line 31
yield " </div>
</div>
";
// line 34
if (((isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 34, $this->source); })()) != "place_subserial")) {
// line 35
yield " <div class=\"row\">
<div class=\"col-xs-12\">
<div id=\"serial_header\">
";
// line 38
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 38, $this->source); })()), "header", [], "any", false, false, false, 38);
yield "
</div>
</div>
</div>
";
}
// line 43
yield "
<div class=\"row\">
<div class=\"col-xs-12\">
";
// line 46
if (((isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 46, $this->source); })()) == "place_subserial")) {
// line 47
yield " <div class=\"row\">
<div class=\"col-xs-12\">
<div id=\"serial_header\">
";
// line 50
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 50, $this->source); })()), "header", [], "any", false, false, false, 50);
yield "
</div>
</div>
</div>
";
}
// line 55
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["multimediaObjects"]) || array_key_exists("multimediaObjects", $context) ? $context["multimediaObjects"] : (function () { throw new RuntimeError('Variable "multimediaObjects" does not exist.', 55, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["mm"]) {
// line 56
yield " ";
$context["current_date"] = $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, CoreExtension::getAttribute($this->env, $this->source, $context["mm"], "getRecordDate", [], "method", false, false, false, 56), "medium", "none", "", null, "gregorian", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 56, $this->source); })()), "request", [], "any", false, false, false, 56), "getLocale", [], "method", false, false, false, 56));
// line 57
yield " ";
$context["subserie_title"] = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["mm"], "getProperty", ["subseriestitle"], "method", false, true, false, 57), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 57), "getLocale", [], "method", false, false, false, 57), [], "array", true, true, false, 57)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["mm"], "getProperty", ["subseriestitle"], "method", false, false, false, 57), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::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", false, false, false, 57), "getLocale", [], "method", false, false, false, 57), [], "array", false, false, false, 57), "")) : (""));
// line 58
yield " ";
if ((((isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 58, $this->source); })()) == "place_subserial") && !(isset($context["precinct"]) || array_key_exists("precinct", $context) ? $context["precinct"] : (function () { throw new RuntimeError('Variable "precinct" does not exist.', 58, $this->source); })()))) {
// line 59
yield " ";
$context["precinct"] = $this->extensions['Pumukit\WebTVBundle\Twig\PumukitExtension']->getPrecinctOfMultimediaObject($context["mm"]);
// line 60
yield " ";
$context["typeofprecinct"] = "mm";
// line 61
yield " ";
} else {
// line 62
yield " ";
$context["typeofprecinct"] = "series";
// line 63
yield " ";
}
// line 64
yield " ";
yield from $this->load("@PumukitWebTV/Series/template_group.html.twig", 64)->unwrap()->yield(CoreExtension::merge($context, ["current_date" => // line 65
(isset($context["current_date"]) || array_key_exists("current_date", $context) ? $context["current_date"] : (function () { throw new RuntimeError('Variable "current_date" does not exist.', 65, $this->source); })()), "last_date" => // line 66
(isset($context["last_date"]) || array_key_exists("last_date", $context) ? $context["last_date"] : (function () { throw new RuntimeError('Variable "last_date" does not exist.', 66, $this->source); })()), "subserie_title" => // line 67
(isset($context["subserie_title"]) || array_key_exists("subserie_title", $context) ? $context["subserie_title"] : (function () { throw new RuntimeError('Variable "subserie_title" does not exist.', 67, $this->source); })()), "last_subseriestitle" => // line 68
(isset($context["last_subseriestitle"]) || array_key_exists("last_subseriestitle", $context) ? $context["last_subseriestitle"] : (function () { throw new RuntimeError('Variable "last_subseriestitle" does not exist.', 68, $this->source); })()), "template" => // line 69
(isset($context["template"]) || array_key_exists("template", $context) ? $context["template"] : (function () { throw new RuntimeError('Variable "template" does not exist.', 69, $this->source); })()), "subseries" => false, "series_precinct" => // line 71
(isset($context["precinct"]) || array_key_exists("precinct", $context) ? $context["precinct"] : (function () { throw new RuntimeError('Variable "precinct" does not exist.', 71, $this->source); })()), "mm" => // line 72
$context["mm"], "type_precinct" => // line 73
(isset($context["typeofprecinct"]) || array_key_exists("typeofprecinct", $context) ? $context["typeofprecinct"] : (function () { throw new RuntimeError('Variable "typeofprecinct" does not exist.', 73, $this->source); })())]));
// line 75
yield " ";
yield from $this->load("@PumukitWebTV/Resources/template_series_video.html.twig", 75)->unwrap()->yield(CoreExtension::merge($context, ["object" => $context["mm"]]));
// line 76
yield " ";
$context["last_date"] = (isset($context["current_date"]) || array_key_exists("current_date", $context) ? $context["current_date"] : (function () { throw new RuntimeError('Variable "current_date" does not exist.', 76, $this->source); })());
// line 77
yield " ";
$context["last_subseriestitle"] = (isset($context["subserie_title"]) || array_key_exists("subserie_title", $context) ? $context["subserie_title"] : (function () { throw new RuntimeError('Variable "subserie_title" does not exist.', 77, $this->source); })());
// line 78
yield " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['revindex0'], $context['loop']['revindex'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['mm'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 79
yield " </div>
</div>
";
// line 82
if ((($tmp = ((CoreExtension::getAttribute($this->env, $this->source, ($context["multimediaObjects"] ?? null), "getMaxPerPage", [], "method", true, true, false, 82)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["multimediaObjects"]) || array_key_exists("multimediaObjects", $context) ? $context["multimediaObjects"] : (function () { throw new RuntimeError('Variable "multimediaObjects" does not exist.', 82, $this->source); })()), "getMaxPerPage", [], "method", false, false, false, 82), 0)) : (0))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 83
yield " <div class=\"row\">
";
// line 84
$context["objects"] = (isset($context["multimediaObjects"]) || array_key_exists("multimediaObjects", $context) ? $context["multimediaObjects"] : (function () { throw new RuntimeError('Variable "multimediaObjects" does not exist.', 84, $this->source); })());
// line 85
yield " ";
yield from $this->load("@PumukitWebTV/Misc/pager.html.twig", 85)->unwrap()->yield($context);
// line 86
yield " </div>
";
}
// line 88
yield "
<div class=\"row\">
<div class=\"col-xs-12\">
";
// line 91
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["series"]) || array_key_exists("series", $context) ? $context["series"] : (function () { throw new RuntimeError('Variable "series" does not exist.', 91, $this->source); })()), "footer", [], "any", false, false, false, 91);
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@PumukitWebTV/Series/template.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 350 => 91, 345 => 88, 341 => 86, 338 => 85, 336 => 84, 333 => 83, 331 => 82, 326 => 79, 312 => 78, 309 => 77, 306 => 76, 303 => 75, 301 => 73, 300 => 72, 299 => 71, 298 => 69, 297 => 68, 296 => 67, 295 => 66, 294 => 65, 292 => 64, 289 => 63, 286 => 62, 283 => 61, 280 => 60, 277 => 59, 274 => 58, 271 => 57, 268 => 56, 250 => 55, 242 => 50, 237 => 47, 235 => 46, 230 => 43, 222 => 38, 217 => 35, 215 => 34, 210 => 31, 208 => 30, 204 => 28, 201 => 27, 199 => 26, 196 => 25, 193 => 24, 190 => 23, 188 => 22, 185 => 21, 179 => 18, 176 => 17, 173 => 16, 160 => 15, 147 => 12, 143 => 11, 139 => 10, 134 => 8, 129 => 7, 116 => 6, 91 => 4, 66 => 3, 43 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@PumukitWebTV/layout.html.twig' %}
{% block title %}{{ parent() }} - {{ series.title }}{% endblock %}
{% block keywords %}{{ parent() }} - {{ series.getKeywords()|join(',') }}{% endblock %}
{% block meta %}
{{ parent() }}
<meta property=\"og:url\" content=\"{{ url('pumukit_webtv_series_index', {'id': series.id}) }}\" />
<meta property=\"og:type\" content=\"website\" />
<meta property=\"og:title\" content=\"{{ series.title }}\" />
<meta property=\"og:description\" content=\"{{ series.description }}\" />
<meta property=\"og:image\" content=\"{{ series|first_url_pic(true) }}\" />
{% endblock %}
{% block body %}
{% if series.getSeriesStyle is defined and series.getSeriesStyle is not null and series.getSeriesStyle is not empty %}
<style>
{{ series.getSeriesStyle().getText() }}
</style>
{% endif %}
{% set last_date = '' %}
{% set last_subseriestitle = '' %}
{% set template = series.getProperty('template')|default('date') %}
{% include '@PumukitWebTV/Misc/magic_url_disclaimer.html.twig' %}
{% set precinct = precinct_of_series(multimediaObjects) %}
<div class=\"row\">
<div class=\"col-xs-12\">
{% include '@PumukitWebTV/Series/template_header.html.twig' with { 'series_precinct' : precinct} %}
</div>
</div>
{% if template != 'place_subserial' %}
<div class=\"row\">
<div class=\"col-xs-12\">
<div id=\"serial_header\">
{{ series.header|raw }}
</div>
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-xs-12\">
{% if template == 'place_subserial' %}
<div class=\"row\">
<div class=\"col-xs-12\">
<div id=\"serial_header\">
{{ series.header|raw }}
</div>
</div>
</div>
{% endif %}
{% for mm in multimediaObjects %}
{% set current_date = mm.getRecordDate() | format_datetime('medium', 'none',locale=app.request.getLocale()) %}
{% set subserie_title = mm.getProperty('subseriestitle')[app.request.getLocale()]|default('') %}
{% if template == \"place_subserial\" and not precinct %}
{% set precinct = precinct_of_mmo(mm) %}
{% set typeofprecinct = 'mm' %}
{% else %}
{% set typeofprecinct = 'series' %}
{% endif %}
{% include '@PumukitWebTV/Series/template_group.html.twig' with {
'current_date': current_date,
'last_date' : last_date,
'subserie_title': subserie_title,
'last_subseriestitle' : last_subseriestitle,
'template': template ,
'subseries': false,
'series_precinct': precinct,
'mm' : mm,
'type_precinct' : typeofprecinct
} %}
{% include '@PumukitWebTV/Resources/template_series_video.html.twig' with {'object': mm } %}
{% set last_date = current_date %}
{% set last_subseriestitle = subserie_title %}
{% endfor %}
</div>
</div>
{% if multimediaObjects.getMaxPerPage()|default(0) %}
<div class=\"row\">
{% set objects = multimediaObjects %}
{% include '@PumukitWebTV/Misc/pager.html.twig' %}
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-xs-12\">
{{ series.footer|raw }}
</div>
</div>
{% endblock %}
", "@PumukitWebTV/Series/template.html.twig", "/srv/pumukit/src/Pumukit/WebTVBundle/Resources/views/Series/template.html.twig");
}
}