<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* partials/variants/explore-watchtv.html.twig */
class __TwigTemplate_6607de5a8c215a62f80890ee7d459c9d extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "partials/variants/explore-watchtv.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "partials/variants/explore-watchtv.html.twig"));
// line 1
echo "<div class=\"explore\">
<button class=\"trigger-explore js-explore-bt\">
<span>";
// line 3
echo html_entity_decode($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("explore", [], "custom"));
echo "</span>
</button>
<ul class=\"navbar-nav\">
";
// line 6
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\PageContentController::RenderMenu", [], ["menu" => "menutop"]));
echo "
</ul>
</div>
";
// line 9
if (_twig_default_filter($this->extensions['App\Twig\AppExtension']->getConfig("watchtv_pages", ""))) {
// line 10
echo " ";
$context["watchtvpage"] = $this->extensions['App\Twig\AppExtension']->getPageInfo(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "locale", [], "any", false, false, false, 10), $this->extensions['App\Twig\AppExtension']->getConfig("watchtv_pages", ""));
// line 11
echo " <div class=\"watchtv\">
<a href=\"";
// line 12
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["watchtvpage"]) || array_key_exists("watchtvpage", $context) ? $context["watchtvpage"] : (function () { throw new RuntimeError('Variable "watchtvpage" does not exist.', 12, $this->source); })()), "url", [], "any", false, false, false, 12), "html", null, true);
echo "\">
<span>";
// line 13
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["watchtvpage"]) || array_key_exists("watchtvpage", $context) ? $context["watchtvpage"] : (function () { throw new RuntimeError('Variable "watchtvpage" does not exist.', 13, $this->source); })()), "title", [], "any", false, false, false, 13), "html", null, true);
echo "</span>
</a>
</div>
";
}
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "partials/variants/explore-watchtv.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 71 => 13, 67 => 12, 64 => 11, 61 => 10, 59 => 9, 53 => 6, 47 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"explore\">
<button class=\"trigger-explore js-explore-bt\">
<span>{{ 'explore'|trans ({},'custom' )|html_entity_decode|raw }}</span>
</button>
<ul class=\"navbar-nav\">
{{ render(controller('App\\\\Controller\\\\PageContentController::RenderMenu',[], {'menu': \"menutop\"}) ) }}
</ul>
</div>
{% if get_config('watchtv_pages',\"\")|default %}
{% set watchtvpage = get_page_info(app.request.locale,get_config('watchtv_pages',\"\")) %}
<div class=\"watchtv\">
<a href=\"{{watchtvpage.url}}\">
<span>{{watchtvpage.title}}</span>
</a>
</div>
{% endif %}", "partials/variants/explore-watchtv.html.twig", "/var/www/html/theme/templates/partials/variants/explore-watchtv.html.twig");
}
}