<?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;
/* menu/menucontainer.html.twig */
class __TwigTemplate_fceb49a702e8bc87b7024fa00d5be234 extends 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", "menu/menucontainer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "menu/menucontainer.html.twig"));
// line 1
echo "<div class=\"container\">
<div class=\"d-flex\">
<a class=\"navbar-brand\" href=\"/\">
<img class=\"navbar-brand-dark\" src=\"";
// line 4
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/bf_white.svg"), "html", null, true);
echo "\" alt=\"Logo light\">
<img class=\"navbar-brand-light\" src=\"";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/bf_black.svg"), "html", null, true);
echo "\" alt=\"Logo dark\">
</a>
</div>
<div class=\"navbar-collapse collapse\" id=\"navbar_global\">
<div class=\"navbar-collapse-header\">
<div class=\"row\">
<div class=\"col-6 collapse-brand\">
<a href=\"";
// line 12
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home", [], false);
echo "\">
<img src=\"";
// line 13
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/brand/bf_blue.svg"), "html", null, true);
echo "\" alt=\"Menu logo\">
</a>
</div>
<div class=\"col-6 collapse-close\">
<a href=\"#navbar_global\" class=\"fas fa-times\" data-toggle=\"collapse\" data-target=\"#navbar_global\" aria-controls=\"navbar_global\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"></a>
</div>
</div>
</div>
<ul class=\"navbar-nav navbar-nav-hover ml-3\">
<li class=\"nav_item d-lg-none \">
<div class=\"d-flex justify-content-around\">
";
// line 24
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
// line 25
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout", [], false);
echo "\" class=\"btn btn-sm btn-danger animate-up-1\"><i class=\"fas fa-sign-out-alt mr-2\"></i>Déconnexion</a>
";
} else {
// line 27
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login", [], false);
echo "\" class=\"btn btn-sm btn-tertiary animate-up-1\"><i class=\"fas fa-sign-in-alt mr-2\"></i>Connexion</a>
<a href=\"";
// line 28
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "signup"], false);
echo "\" class=\"btn btn-sm btn-gray animate-up-1\"><i class=\"fas fa-user-plus mr-2\"></i>Compte</a>
";
}
// line 30
echo " </div>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 33
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home", [], false);
echo "\" class=\"nav-link\">
<span class=\"nav-link-inner-text\">Accueil</span>
</a>
</li>
<li class=\"nav-item dropdown\">
<a href=\"#\" id=\"letsGoDropdown\" class=\"nav-link dropdown-toggle\" aria-expanded=\"false\" data-toggle=\"dropdown\">
<span class=\"nav-link-inner-text mr-1\">Allons-y !</span>
<i class=\"fas fa-angle-down nav-link-arrow\"></i>
</a>
<div class=\"dropdown-menu dropdown-megamenu p-3 p-lg-4\" aria-labelledby=\"letsGoDropdown\">
<div class=\"row\">
<div class=\"col-6 col-lg-4\">
<h6 class=\"d-block mb-3 text-primary\">Compte</h6>
<ul class=\"list-style-none mb-4\">
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 48
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "account"], false);
echo "\">Mon compte</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 51
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account_subscription", [], false);
echo "\">Mes abonnements</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 54
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account_inscriptions", [], false);
echo "\">Mes inscriptions</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 57
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account_payments", [], false);
echo "\">Mes paiements</a>
</li>
</ul>
</div>
<div class=\"col-6 col-lg-4\">
<h6 class=\"d-block text-primary\">Festivals</h6>
<ul class=\"list-style-none mb-4\">
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 65
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_festival_create", [], false);
echo "\">Créer un festival</a>
</li>
";
// line 67
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
// line 68
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BFFestivalController::ShowBFFestivalMenuList"));
echo "
";
} else {
// line 70
echo " <li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 71
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "account"], false);
echo "\" class=\"dropdown-item\">Mes festivals</a>
</li>
";
}
// line 74
echo " </ul>
</div>
<div class=\"col-6 col-lg-4\">
<h6 class=\"d-block text-primary\">Challenges</h6>
<ul class=\"list-style-none mb-4\">
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 80
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_challenge_create", [], false);
echo "\">Créer un challenge</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 83
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "allchallenges"], false);
echo "\">Tous les challenges</a>
</li>
";
// line 85
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
// line 86
echo " ";
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\BFChallengeController::ShowBFChallengeMenuList"));
echo "
";
} else {
// line 88
echo " <li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"";
// line 89
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "account"], false);
echo "\" class=\"dropdown-item\">Mes challenges</a>
</li>
";
}
// line 92
echo " </ul>
</div>
</div>
</div>
</li>
<li class=\"nav-item dropdown\">
<a href=\"#\" id=\"mainPagesDropdown\" class=\"nav-link dropdown-toggle\" aria-expanded=\"false\" data-toggle=\"dropdown\">
<span class=\"nav-link-inner-text mr-1\">A propos</span>
<i class=\"fas fa-angle-down nav-link-arrow\"></i>
</a>
<ul class=\"dropdown-menu\">
<li class=\"nav-item\">
<a href=\"";
// line 105
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "about"], false);
echo "\" class=\"dropdown-item\">Nos offres et options</a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 108
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "contact"], false);
echo "\" class=\"dropdown-item\">Contact</a>
</li>
<li class=\"nav-item\">
<a href=\"";
// line 111
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "termsofuse"], false);
echo "\" class=\"dropdown-item\">Mentions légales</a>
</li>
<li class=\"nav-item\">
<a href=\"https://bridgefestival.atlassian.net/wiki/spaces/GD/overview\" target=\"_blank\" class=\"dropdown-item\">Documentation détaillée</a>
</li>
</ul>
</li>
<li class=\"nav-item\">
<a href=\"https://protect.bridgefestival.fr\" target=\"_blank\" class=\"nav-link\">
<span class=\"nav-link-inner-text\">Protect</span>
</a>
</li>
</ul>
</div>
<div class=\"d-none d-lg-block\">
";
// line 130
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
// line 131
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout", [], false);
echo "\" class=\"btn btn-sm btn-danger animate-up-1 ml-3\"><i class=\"fas fa-sign-out-alt mr-2\"></i>Déconnexion</a>
";
} else {
// line 133
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login", [], false);
echo "\" class=\"btn btn-sm btn-tertiary animate-up-1 ml-3\"><i class=\"fas fa-sign-in-alt mr-2\"></i>Connexion</a>
<a href=\"";
// line 134
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_route", ["routename" => "signup"], false);
echo "\" class=\"btn btn-sm btn-white animate-up-1 ml-3\"><i class=\"fas fa-user-plus mr-2\"></i>Compte</a>
";
}
// line 136
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_festival_create", [], false);
echo "\" class=\"btn btn-sm btn-outline-white ml-3\"><i class=\"fas fa-plus mr-2\"></i>Festival</a>
</div>
<div class=\"d-flex d-lg-none align-items-center\">
<button class=\"navbar-toggler ml-2\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbar_global\" aria-controls=\"navbar_global\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"><span class=\"navbar-toggler-icon\"></span></button>
</div>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "menu/menucontainer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 275 => 136, 270 => 134, 265 => 133, 259 => 131, 257 => 130, 235 => 111, 229 => 108, 223 => 105, 208 => 92, 202 => 89, 199 => 88, 193 => 86, 191 => 85, 186 => 83, 180 => 80, 172 => 74, 166 => 71, 163 => 70, 157 => 68, 155 => 67, 150 => 65, 139 => 57, 133 => 54, 127 => 51, 121 => 48, 103 => 33, 98 => 30, 93 => 28, 88 => 27, 82 => 25, 80 => 24, 66 => 13, 62 => 12, 52 => 5, 48 => 4, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"container\">
<div class=\"d-flex\">
<a class=\"navbar-brand\" href=\"/\">
<img class=\"navbar-brand-dark\" src=\"{{ asset('assets/img/brand/bf_white.svg')}}\" alt=\"Logo light\">
<img class=\"navbar-brand-light\" src=\"{{ asset('assets/img/brand/bf_black.svg')}}\" alt=\"Logo dark\">
</a>
</div>
<div class=\"navbar-collapse collapse\" id=\"navbar_global\">
<div class=\"navbar-collapse-header\">
<div class=\"row\">
<div class=\"col-6 collapse-brand\">
<a href=\"{{ path('home', {}, relative = false) }}\">
<img src=\"{{ asset('assets/img/brand/bf_blue.svg')}}\" alt=\"Menu logo\">
</a>
</div>
<div class=\"col-6 collapse-close\">
<a href=\"#navbar_global\" class=\"fas fa-times\" data-toggle=\"collapse\" data-target=\"#navbar_global\" aria-controls=\"navbar_global\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"></a>
</div>
</div>
</div>
<ul class=\"navbar-nav navbar-nav-hover ml-3\">
<li class=\"nav_item d-lg-none \">
<div class=\"d-flex justify-content-around\">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<a href=\"{{ path('app_logout', {}, relative = false) }}\" class=\"btn btn-sm btn-danger animate-up-1\"><i class=\"fas fa-sign-out-alt mr-2\"></i>Déconnexion</a>
{%else%}
<a href=\"{{ path('app_login', {}, relative = false) }}\" class=\"btn btn-sm btn-tertiary animate-up-1\"><i class=\"fas fa-sign-in-alt mr-2\"></i>Connexion</a>
<a href=\"{{ path('home_route', {'routename':'signup'}, relative = false) }}\" class=\"btn btn-sm btn-gray animate-up-1\"><i class=\"fas fa-user-plus mr-2\"></i>Compte</a>
{%endif%}
</div>
</li>
<li class=\"nav-item\">
<a href=\"{{ path('home', {}, relative = false) }}\" class=\"nav-link\">
<span class=\"nav-link-inner-text\">Accueil</span>
</a>
</li>
<li class=\"nav-item dropdown\">
<a href=\"#\" id=\"letsGoDropdown\" class=\"nav-link dropdown-toggle\" aria-expanded=\"false\" data-toggle=\"dropdown\">
<span class=\"nav-link-inner-text mr-1\">Allons-y !</span>
<i class=\"fas fa-angle-down nav-link-arrow\"></i>
</a>
<div class=\"dropdown-menu dropdown-megamenu p-3 p-lg-4\" aria-labelledby=\"letsGoDropdown\">
<div class=\"row\">
<div class=\"col-6 col-lg-4\">
<h6 class=\"d-block mb-3 text-primary\">Compte</h6>
<ul class=\"list-style-none mb-4\">
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('home_route', {'routename':'account'}, relative = false) }}\">Mon compte</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('account_subscription', {}, relative = false) }}\">Mes abonnements</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('account_inscriptions', {}, relative = false) }}\">Mes inscriptions</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('account_payments', {}, relative = false) }}\">Mes paiements</a>
</li>
</ul>
</div>
<div class=\"col-6 col-lg-4\">
<h6 class=\"d-block text-primary\">Festivals</h6>
<ul class=\"list-style-none mb-4\">
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('admin_festival_create', {}, relative = false) }}\">Créer un festival</a>
</li>
{%if is_granted('IS_AUTHENTICATED_FULLY')%}
{{ render(controller('App\\\\Controller\\\\BFFestivalController::ShowBFFestivalMenuList')) }}
{%else%}
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('home_route', {'routename':'account'}, relative = false) }}\" class=\"dropdown-item\">Mes festivals</a>
</li>
{%endif%}
</ul>
</div>
<div class=\"col-6 col-lg-4\">
<h6 class=\"d-block text-primary\">Challenges</h6>
<ul class=\"list-style-none mb-4\">
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('admin_challenge_create', {}, relative = false) }}\">Créer un challenge</a>
</li>
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('home_route', {'routename':'allchallenges'}, relative = false) }}\">Tous les challenges</a>
</li>
{%if is_granted('IS_AUTHENTICATED_FULLY')%}
{{ render(controller('App\\\\Controller\\\\BFChallengeController::ShowBFChallengeMenuList')) }}
{%else%}
<li class=\"mb-2 megamenu-item\">
<a class=\"megamenu-link\" href=\"{{ path('home_route', {'routename':'account'}, relative = false) }}\" class=\"dropdown-item\">Mes challenges</a>
</li>
{%endif%}
</ul>
</div>
</div>
</div>
</li>
<li class=\"nav-item dropdown\">
<a href=\"#\" id=\"mainPagesDropdown\" class=\"nav-link dropdown-toggle\" aria-expanded=\"false\" data-toggle=\"dropdown\">
<span class=\"nav-link-inner-text mr-1\">A propos</span>
<i class=\"fas fa-angle-down nav-link-arrow\"></i>
</a>
<ul class=\"dropdown-menu\">
<li class=\"nav-item\">
<a href=\"{{ path('home_route', {'routename':'about'}, relative = false) }}\" class=\"dropdown-item\">Nos offres et options</a>
</li>
<li class=\"nav-item\">
<a href=\"{{ path('home_route', {'routename':'contact'}, relative = false) }}\" class=\"dropdown-item\">Contact</a>
</li>
<li class=\"nav-item\">
<a href=\"{{ path('home_route', {'routename':'termsofuse'}, relative = false) }}\" class=\"dropdown-item\">Mentions légales</a>
</li>
<li class=\"nav-item\">
<a href=\"https://bridgefestival.atlassian.net/wiki/spaces/GD/overview\" target=\"_blank\" class=\"dropdown-item\">Documentation détaillée</a>
</li>
</ul>
</li>
<li class=\"nav-item\">
<a href=\"https://protect.bridgefestival.fr\" target=\"_blank\" class=\"nav-link\">
<span class=\"nav-link-inner-text\">Protect</span>
</a>
</li>
</ul>
</div>
<div class=\"d-none d-lg-block\">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<a href=\"{{ path('app_logout', {}, relative = false) }}\" class=\"btn btn-sm btn-danger animate-up-1 ml-3\"><i class=\"fas fa-sign-out-alt mr-2\"></i>Déconnexion</a>
{%else%}
<a href=\"{{ path('app_login', {}, relative = false) }}\" class=\"btn btn-sm btn-tertiary animate-up-1 ml-3\"><i class=\"fas fa-sign-in-alt mr-2\"></i>Connexion</a>
<a href=\"{{ path('home_route', {'routename':'signup'}, relative = false) }}\" class=\"btn btn-sm btn-white animate-up-1 ml-3\"><i class=\"fas fa-user-plus mr-2\"></i>Compte</a>
{%endif%}
<a href=\"{{ path('admin_festival_create', {}, relative = false) }}\" class=\"btn btn-sm btn-outline-white ml-3\"><i class=\"fas fa-plus mr-2\"></i>Festival</a>
</div>
<div class=\"d-flex d-lg-none align-items-center\">
<button class=\"navbar-toggler ml-2\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbar_global\" aria-controls=\"navbar_global\" aria-expanded=\"false\" aria-label=\"Toggle navigation\"><span class=\"navbar-toggler-icon\"></span></button>
</div>
</div>
", "menu/menucontainer.html.twig", "/home/maixmebouz/www/dev/bridgefestival/templates/menu/menucontainer.html.twig");
}
}