<?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;
/* home/index.html.twig */
class __TwigTemplate_54a612d10fa8030895b076f604e2ae5e3f3757b7fb8e8cf2cfbfa73106f6db16 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "home/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "home/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "DieuFM!
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 7
echo "
\t<!-- Masthead-->
\t<header class=\"masthead\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row align-items-center justify-content-center text-center\">
\t\t\t\t<div class=\"col-lg-10 align-self-end\">
\t\t\t\t\t<h1 class=\"text-uppercase text-white font-weight-bold\">Votre source favorite de contenu radio</h1>
\t\t\t\t\t<hr class=\"divider my-4\"/>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-lg-8 align-self-baseline\">
\t\t\t\t\t<p class=\"text-white-75 font-weight-light mb-5\">Devenez partenaire pour partager et obtenir des émissions radio</p>
\t\t\t\t\t<a class=\"btn btn-primary btn-xl js-scroll-trigger\" href=\"#vision\">En savoir plus</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</header>
\t<!-- Vision -->
\t<section class=\"page-section\" id=\"vision\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t<div class=\"col-lg-8 text-center\">
\t\t\t\t\t<h2 class=\"mt-0\">Vision</h2>
\t\t\t\t\t<hr class=\"divider my-4\"/>
\t\t\t\t\t<h3 class=\"h4 mb-2\">DieuTV</h3>
\t\t\t\t\t<p class=\"text-muted mb-4\">
\t\t\t\t\t\taimerait encourager les radios africaines<br>
\t\t\t\t\t\ten leur fournissant des émissions radio<br>
\t\t\t\t\t\tqui sont extraites de ses émissions-TV
\t\t\t\t\t</p>
\t\t\t\t\t<h3 class=\"h4 mb-2\">DieuFM</h3>
\t\t\t\t\t<p class=\"text-muted mb-4\">
\t\t\t\t\t\test ainsi la plateforme pour les échanges<br>
\t\t\t\t\t\tet permet que d’autres stations puissent faire de même.
\t\t\t\t\t</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- Call to action-->
\t<section class=\"page-section bg-dark text-white\">
\t\t<div class=\"container text-center\">
\t\t\t<h2 class=\"mb-4\">Obtenir des émissions à diffuser gratuitement sur votre radio</h2>
\t\t\t<p class=\"my-5\">
\t\t\t\t";
// line 52
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PARTNER")) {
// line 53
echo "\t\t\t\t\t";
$context["url_episodes"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setController", [0 => "App\\Controller\\Admin\\Partner\\PartnerPublishedEpisodeCrudController"], "method", false, false, false, 53), "set", [0 => "menuIndex", 1 => 4], "method", false, false, false, 54);
// line 57
echo "\t\t\t\t\t";
$context["url_programs"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setController", [0 => "App\\Controller\\Admin\\Partner\\PartnerPublishedProgramCrudController"], "method", false, false, false, 57), "set", [0 => "menuIndex", 1 => 3], "method", false, false, false, 58);
// line 61
echo "\t\t\t\t\t";
$context["url_partners"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->getAdminUrlGenerator(), "setController", [0 => "App\\Controller\\Admin\\Partner\\PartnerPublishedRadioCrudController"], "method", false, false, false, 61), "set", [0 => "menuIndex", 1 => 2], "method", false, false, false, 62);
// line 65
echo "\t\t\t\t";
} else {
// line 66
echo "\t\t\t\t\t";
$context["url_episodes"] = "/register";
// line 67
echo "\t\t\t\t\t";
$context["url_programs"] = "/register";
// line 68
echo "\t\t\t\t\t";
$context["url_partners"] = "/register";
// line 69
echo "\t\t\t\t";
}
// line 70
echo "\t\t\t\t<strong>
\t\t\t\t\t<a href=\"";
// line 71
echo twig_escape_filter($this->env, (isset($context["url_episodes"]) || array_key_exists("url_episodes", $context) ? $context["url_episodes"] : (function () { throw new RuntimeError('Variable "url_episodes" does not exist.', 71, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("num_episodes", ["count" => (isset($context["num_episodes"]) || array_key_exists("num_episodes", $context) ? $context["num_episodes"] : (function () { throw new RuntimeError('Variable "num_episodes" does not exist.', 71, $this->source); })())]), "html", null, true);
echo "</a>
\t\t\t\t</strong>
\t\t\t\tsont actuellement disponibles dans
\t\t\t\t<strong>
\t\t\t\t\t<a href=\"";
// line 75
echo twig_escape_filter($this->env, (isset($context["url_programs"]) || array_key_exists("url_programs", $context) ? $context["url_programs"] : (function () { throw new RuntimeError('Variable "url_programs" does not exist.', 75, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("num_programs", ["count" => (isset($context["num_programs"]) || array_key_exists("num_programs", $context) ? $context["num_programs"] : (function () { throw new RuntimeError('Variable "num_programs" does not exist.', 75, $this->source); })())]), "html", null, true);
echo "</a>
\t\t\t\t</strong>
\t\t\t\tpartagées par DieuFM et ses
\t\t\t\t<strong>
\t\t\t\t\t<a href=\"";
// line 79
echo twig_escape_filter($this->env, (isset($context["url_partners"]) || array_key_exists("url_partners", $context) ? $context["url_partners"] : (function () { throw new RuntimeError('Variable "url_partners" does not exist.', 79, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("num_partners", ["count" => (isset($context["num_partners"]) || array_key_exists("num_partners", $context) ? $context["num_partners"] : (function () { throw new RuntimeError('Variable "num_partners" does not exist.', 79, $this->source); })())]), "html", null, true);
echo "</a>
\t\t\t\t</strong> dans ";
// line 80
echo twig_escape_filter($this->env, (isset($context["num_countries"]) || array_key_exists("num_countries", $context) ? $context["num_countries"] : (function () { throw new RuntimeError('Variable "num_countries" does not exist.', 80, $this->source); })()), "html", null, true);
echo " pays.
\t\t\t</p>
\t\t\t<p class=\"my-5\">
\t\t\t\t";
// line 83
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 84
echo "\t\t\t\t\t<a class=\"btn btn-primary btn-xl js-scroll-trigger\" href=\"/admin\">Tableau de bord</a>
\t\t\t\t";
} else {
// line 86
echo "\t\t\t\t\t<a class=\"btn btn-primary btn-xl js-scroll-trigger\" href=\"/register\">Devenir partenaire</a>
\t\t\t\t";
}
// line 88
echo "\t\t\t</p>
\t\t</div>
\t</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "home/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 205 => 88, 201 => 86, 197 => 84, 195 => 83, 189 => 80, 183 => 79, 174 => 75, 165 => 71, 162 => 70, 159 => 69, 156 => 68, 153 => 67, 150 => 66, 147 => 65, 144 => 61, 141 => 57, 138 => 53, 136 => 52, 89 => 7, 79 => 6, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}DieuFM!
{% endblock %}
{% block body %}
\t<!-- Masthead-->
\t<header class=\"masthead\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row align-items-center justify-content-center text-center\">
\t\t\t\t<div class=\"col-lg-10 align-self-end\">
\t\t\t\t\t<h1 class=\"text-uppercase text-white font-weight-bold\">Votre source favorite de contenu radio</h1>
\t\t\t\t\t<hr class=\"divider my-4\"/>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-lg-8 align-self-baseline\">
\t\t\t\t\t<p class=\"text-white-75 font-weight-light mb-5\">Devenez partenaire pour partager et obtenir des émissions radio</p>
\t\t\t\t\t<a class=\"btn btn-primary btn-xl js-scroll-trigger\" href=\"#vision\">En savoir plus</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</header>
\t<!-- Vision -->
\t<section class=\"page-section\" id=\"vision\">
\t\t<div class=\"container\">
\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t<div class=\"col-lg-8 text-center\">
\t\t\t\t\t<h2 class=\"mt-0\">Vision</h2>
\t\t\t\t\t<hr class=\"divider my-4\"/>
\t\t\t\t\t<h3 class=\"h4 mb-2\">DieuTV</h3>
\t\t\t\t\t<p class=\"text-muted mb-4\">
\t\t\t\t\t\taimerait encourager les radios africaines<br>
\t\t\t\t\t\ten leur fournissant des émissions radio<br>
\t\t\t\t\t\tqui sont extraites de ses émissions-TV
\t\t\t\t\t</p>
\t\t\t\t\t<h3 class=\"h4 mb-2\">DieuFM</h3>
\t\t\t\t\t<p class=\"text-muted mb-4\">
\t\t\t\t\t\test ainsi la plateforme pour les échanges<br>
\t\t\t\t\t\tet permet que d’autres stations puissent faire de même.
\t\t\t\t\t</p>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- Call to action-->
\t<section class=\"page-section bg-dark text-white\">
\t\t<div class=\"container text-center\">
\t\t\t<h2 class=\"mb-4\">Obtenir des émissions à diffuser gratuitement sur votre radio</h2>
\t\t\t<p class=\"my-5\">
\t\t\t\t{% if is_granted('ROLE_PARTNER') %}
\t\t\t\t\t{% set url_episodes = ea_url()
\t\t\t\t\t\t.setController('App\\\\Controller\\\\Admin\\\\Partner\\\\PartnerPublishedEpisodeCrudController')
\t\t\t\t\t\t.set('menuIndex', 4)
\t\t\t\t\t%}
\t\t\t\t\t{% set url_programs = ea_url()
\t\t\t\t\t\t.setController('App\\\\Controller\\\\Admin\\\\Partner\\\\PartnerPublishedProgramCrudController')
\t\t\t\t\t\t.set('menuIndex', 3)
\t\t\t\t\t%}
\t\t\t\t\t{% set url_partners = ea_url()
\t\t\t\t\t\t.setController('App\\\\Controller\\\\Admin\\\\Partner\\\\PartnerPublishedRadioCrudController')
\t\t\t\t\t\t.set('menuIndex', 2)
\t\t\t\t\t%}
\t\t\t\t{% else %}
\t\t\t\t\t{% set url_episodes = '/register' %}
\t\t\t\t\t{% set url_programs = '/register' %}
\t\t\t\t\t{%\tset url_partners = '/register' %}
\t\t\t\t{% endif %}
\t\t\t\t<strong>
\t\t\t\t\t<a href=\"{{ url_episodes }}\">{{ \"num_episodes\"|trans({'count': num_episodes}) }}</a>
\t\t\t\t</strong>
\t\t\t\tsont actuellement disponibles dans
\t\t\t\t<strong>
\t\t\t\t\t<a href=\"{{ url_programs }}\">{{ \"num_programs\"|trans({'count': num_programs}) }}</a>
\t\t\t\t</strong>
\t\t\t\tpartagées par DieuFM et ses
\t\t\t\t<strong>
\t\t\t\t\t<a href=\"{{ url_partners }}\">{{ \"num_partners\"|trans({'count': num_partners}) }}</a>
\t\t\t\t</strong> dans {{ num_countries }} pays.
\t\t\t</p>
\t\t\t<p class=\"my-5\">
\t\t\t\t{% if is_granted('ROLE_USER') %}
\t\t\t\t\t<a class=\"btn btn-primary btn-xl js-scroll-trigger\" href=\"/admin\">Tableau de bord</a>
\t\t\t\t{% else %}
\t\t\t\t\t<a class=\"btn btn-primary btn-xl js-scroll-trigger\" href=\"/register\">Devenir partenaire</a>
\t\t\t\t{% endif %}
\t\t\t</p>
\t\t</div>
\t</section>
{% endblock %}
", "home/index.html.twig", "/home/clients/346e0edca3591e76df54abc5786e74b5/sites/dieufm.com/staging/templates/home/index.html.twig");
}
}