<?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;
/* back.html.twig */
class __TwigTemplate_015530c9a7ad73605499955bf05285238ad72e659be45f207ebc2bfac6bc773d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
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", "back.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "back.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>GLAPP :: ";
// line 5
$this->displayBlock('title', $context, $blocks);
echo "</title>
<link href=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/all.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/back.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/select2.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"/>
";
// line 11
$this->displayBlock('stylesheets', $context, $blocks);
// line 12
echo "</head>
<body>
";
// line 14
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
// line 15
echo "
<nav class=\"navbar navbar-expand-lg navbar-dark bg-dark\">
<a class=\"navbar-brand\" href=\"";
// line 17
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("accueil_back");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\AppExtension']->getParam("param_title"), "html", null, true);
echo "</a>
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\"
aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">
<ul class=\"navbar-nav mr-auto\">
";
// line 25
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
// line 26
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 27
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_index");
echo "\">Benutzer</a>
</li>
";
}
// line 30
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 31
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("client_index");
echo "\">Kunden</a>
</li>
";
// line 34
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
// line 35
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 36
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_index");
echo "\">Produkte</a>
</li>
";
}
// line 39
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 40
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("piece_index");
echo "\">Verkauf</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 43
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("payment_index");
echo "\">Zahlungen</a>
</li>
";
// line 46
if ((0 === twig_compare($this->extensions['App\Twig\AppExtension']->getParam("param_title"), "IRON-APP"))) {
// line 47
echo "
";
// line 48
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
// line 49
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("exercice_category_index");
echo "\">Catégories Exercices</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 53
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("exercice_index");
echo "\">Exercices</a>
</li>
";
}
// line 56
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 57
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("programm_index");
echo "\">Programmes</a>
</li>
";
}
// line 61
echo "
";
// line 62
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
// line 63
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 64
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ligne_vente_index");
echo "\">Verkauf/Produkte</a>
</li>
";
// line 66
if ((0 === twig_compare($this->extensions['App\Twig\AppExtension']->getParam("param_title"), "IRON-APP"))) {
// line 67
echo " <li class=\"nav-item dropdown\">
<a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"navbarDropdown\" role=\"button\"
data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
Diète
</a>
<div class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">
<a class=\"dropdown-item\" href=\"";
// line 73
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("programme_index");
echo "\">Programme</a>
<div class=\"dropdown-divider\"></div>
<a class=\"dropdown-item\" href=\"";
// line 75
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("category_aliment_index");
echo "\">Catégorie aliment</a>
<a class=\"dropdown-item\" href=\"";
// line 76
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("aliment_index");
echo "\">Aliment</a>
</div>
</li>
";
}
// line 80
echo " ";
} elseif ((0 === twig_compare($this->extensions['App\Twig\AppExtension']->getParam("param_title"), "IRON-APP"))) {
// line 81
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 82
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("programme_index");
echo "\">Programme diète</a>
</li>
";
}
// line 85
echo " </ul>
<ul class=\"navbar-nav my-2 my-lg-0\">
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 88
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_profile");
echo "\"><span class=\"fa fa-user\"></span> ";
echo twig_escape_filter($this->env, 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.', 88, $this->source); })()), "user", [], "any", false, false, false, 88), "nomComplet", [], "any", false, false, false, 88), "html", null, true);
echo "</a>
</li>
";
// line 90
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_SUPER_ADMIN")) {
// line 91
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 92
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("edit_config");
echo "\"><span class=\"fa fa-cogs\"></span> Configuration</a>
</li>
";
}
// line 95
echo " <li class=\"nav-item\">
<a class=\"nav-link\" href=\"";
// line 96
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\"><span class=\"fa fa-sign-out-alt\"></span>
Déconnection</a>
</li>
</ul>
</div>
</nav>
";
}
// line 103
echo "<div class=\"container-fluid p_t_20 m_b_20\">
";
// line 104
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable([0 => "danger", 1 => "info", 2 => "success"]);
foreach ($context['_seq'] as $context["_key"] => $context["type"]) {
// line 105
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, 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.', 105, $this->source); })()), "session", [], "any", false, false, false, 105), "flashBag", [], "any", false, false, false, 105), "get", [0 => $context["type"]], "method", false, false, false, 105));
foreach ($context['_seq'] as $context["_key"] => $context["flash_message"]) {
// line 106
echo " <div class=\"alert alert-";
echo twig_escape_filter($this->env, $context["type"], "html", null, true);
echo " m_t_20\" role=\"alert\">
";
// line 107
echo twig_escape_filter($this->env, $context["flash_message"], "html", null, true);
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash_message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 110
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['type'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 111
echo "
";
// line 112
$this->displayBlock('body', $context, $blocks);
// line 113
echo "</div>
<script src=\"";
// line 114
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-3.4.1.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 115
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/bootstrap.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 116
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/select2.min.js"), "html", null, true);
echo "\"></script>
<script src=\"";
// line 117
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/back.js"), "html", null, true);
echo "\"></script>
";
// line 118
$this->displayBlock('javascripts', $context, $blocks);
// line 119
echo "</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 11
public function block_stylesheets($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", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 112
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 118
public function block_javascripts($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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "back.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 388 => 118, 370 => 112, 352 => 11, 334 => 5, 322 => 119, 320 => 118, 316 => 117, 312 => 116, 308 => 115, 304 => 114, 301 => 113, 299 => 112, 296 => 111, 290 => 110, 281 => 107, 276 => 106, 271 => 105, 267 => 104, 264 => 103, 254 => 96, 251 => 95, 245 => 92, 242 => 91, 240 => 90, 233 => 88, 228 => 85, 222 => 82, 219 => 81, 216 => 80, 209 => 76, 205 => 75, 200 => 73, 192 => 67, 190 => 66, 185 => 64, 182 => 63, 180 => 62, 177 => 61, 170 => 57, 167 => 56, 161 => 53, 155 => 50, 152 => 49, 150 => 48, 147 => 47, 145 => 46, 139 => 43, 133 => 40, 130 => 39, 124 => 36, 121 => 35, 119 => 34, 113 => 31, 110 => 30, 104 => 27, 101 => 26, 99 => 25, 86 => 17, 82 => 15, 80 => 14, 76 => 12, 74 => 11, 69 => 9, 65 => 8, 61 => 7, 57 => 6, 53 => 5, 47 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
<meta charset=\"UTF-8\">
<title>GLAPP :: {% block title %}{% endblock %}</title>
<link href=\"{{ asset('css/all.min.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('css/bootstrap.min.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('css/back.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('css/select2.min.css') }}\" rel=\"stylesheet\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css\"/>
{% block stylesheets %}{% endblock %}
</head>
<body>
{% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
<nav class=\"navbar navbar-expand-lg navbar-dark bg-dark\">
<a class=\"navbar-brand\" href=\"{{ path('accueil_back') }}\">{{ getParam('param_title') }}</a>
<button class=\"navbar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#navbarSupportedContent\"
aria-controls=\"navbarSupportedContent\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
<span class=\"navbar-toggler-icon\"></span>
</button>
<div class=\"collapse navbar-collapse\" id=\"navbarSupportedContent\">
<ul class=\"navbar-nav mr-auto\">
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('user_index') }}\">Benutzer</a>
</li>
{% endif %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('client_index') }}\">Kunden</a>
</li>
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('product_index') }}\">Produkte</a>
</li>
{% endif %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('piece_index') }}\">Verkauf</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('payment_index') }}\">Zahlungen</a>
</li>
{% if getParam('param_title') == 'IRON-APP' %}
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('exercice_category_index') }}\">Catégories Exercices</a>
</li>
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('exercice_index') }}\">Exercices</a>
</li>
{% endif %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('programm_index') }}\">Programmes</a>
</li>
{% endif %}
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('ligne_vente_index') }}\">Verkauf/Produkte</a>
</li>
{% if getParam('param_title') == 'IRON-APP' %}
<li class=\"nav-item dropdown\">
<a class=\"nav-link dropdown-toggle\" href=\"#\" id=\"navbarDropdown\" role=\"button\"
data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">
Diète
</a>
<div class=\"dropdown-menu\" aria-labelledby=\"navbarDropdown\">
<a class=\"dropdown-item\" href=\"{{ path('programme_index') }}\">Programme</a>
<div class=\"dropdown-divider\"></div>
<a class=\"dropdown-item\" href=\"{{ path('category_aliment_index') }}\">Catégorie aliment</a>
<a class=\"dropdown-item\" href=\"{{ path('aliment_index') }}\">Aliment</a>
</div>
</li>
{% endif %}
{% elseif getParam('param_title') == 'IRON-APP' %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('programme_index') }}\">Programme diète</a>
</li>
{% endif %}
</ul>
<ul class=\"navbar-nav my-2 my-lg-0\">
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('user_profile') }}\"><span class=\"fa fa-user\"></span> {{ app.user.nomComplet }}</a>
</li>
{% if is_granted('ROLE_SUPER_ADMIN') %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('edit_config') }}\"><span class=\"fa fa-cogs\"></span> Configuration</a>
</li>
{% endif %}
<li class=\"nav-item\">
<a class=\"nav-link\" href=\"{{ path('app_logout') }}\"><span class=\"fa fa-sign-out-alt\"></span>
Déconnection</a>
</li>
</ul>
</div>
</nav>
{% endif %}
<div class=\"container-fluid p_t_20 m_b_20\">
{% for type in ['danger', 'info', 'success'] %}
{% for flash_message in app.session.flashBag.get(type) %}
<div class=\"alert alert-{{ type }} m_t_20\" role=\"alert\">
{{ flash_message }}
</div>
{% endfor %}
{% endfor %}
{% block body %}{% endblock %}
</div>
<script src=\"{{ asset('js/jquery-3.4.1.min.js') }}\"></script>
<script src=\"{{ asset('js/bootstrap.min.js') }}\"></script>
<script src=\"{{ asset('js/select2.min.js') }}\"></script>
<script src=\"{{ asset('js/back.js') }}\"></script>
{% block javascripts %}{% endblock %}
</body>
</html>
", "back.html.twig", "/var/www/clients/client1/web6/web/templates/back.html.twig");
}
}