var/cache/dev/twig/8e/8e67130cd56e47426106962a02e0a4ef117b4bd27d11c8cececf5605037f7bfc.php line 512

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* menu.html.twig */
  14. class __TwigTemplate_c7be0701835219fe936bd6890da7affbf24859fd918605351e16db6b9cfa4c79 extends \Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""menu.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""menu.html.twig"));
  33.         // line 1
  34.         echo "<!-- Top Bar Start -->
  35. <div class=\"topbar\">
  36.     <!-- LOGO -->
  37.     <div class=\"topbar-left\" id=\"headerMenuTopLeftLogo\">
  38.         <div class=\"text-center\">
  39.             <!-- Image Logo here -->
  40.             <a href=\"";
  41.         // line 7
  42.         ((twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'7$this->source); })()), "getAssociationUserIsBrowsing", [], "any"falsefalsefalse7)) ? (print (twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("companyAssociationList", ["urlName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'7$this->source); })()), "getAssociationUserIsBrowsing", [], "any"falsefalsefalse7), "urlName", [], "any"falsefalsefalse7)]), "html"nulltrue))) : (print ("/")));
  43.         echo "\" class=\"logo\">
  44.                 ";
  45.         // line 8
  46.         if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'8$this->source); })()), "getAssociationUserIsBrowsing", [], "any"falsefalsefalse8)) {
  47.             // line 9
  48.             echo "                <div style=\"width: 60%; margin: auto;position:relative;\">
  49.                     <img src=\"/assets/admin/images/newLogoDark.png\" height=\"42\" class=\"resp\">
  50.                     </div>
  51.                 ";
  52.         } else {
  53.             // line 13
  54.             echo "                    ";
  55.             // line 14
  56.             echo "                    <div style=\"width: 60%; margin: auto;\" class=\"logoDarkSite\">
  57.                         <img src=\"/assets/admin/images/newLogoDark.png\" class=\"resp\">
  58.                     </div>
  59.                 ";
  60.         }
  61.         // line 18
  62.         echo "            </a>
  63.             ";
  64.         // line 19
  65.         if (twig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'19$this->source); })()), "getAssociationUserIsBrowsing", [], "any"falsefalsefalse19)) {
  66.             // line 20
  67.             echo "                <span style=\"color: white;font-weight: bold;\" class=\"GroupeLogoPosition\"><a style=\"color: white!important;\" href=\"";
  68.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("companyAssociationList", ["urlName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'20$this->source); })()), "getAssociationUserIsBrowsing", [], "any"falsefalsefalse20), "urlName", [], "any"falsefalsefalse20)]), "html"nulltrue);
  69.             echo "\">";
  70.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'20$this->source); })()), "getAssociationUserIsBrowsing", [], "any"falsefalsefalse20), "name", [], "any"falsefalsefalse20), "html"nulltrue);
  71.             echo "</a><a href=\"";
  72.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("removeAssociationFromBrowsing");
  73.             echo "\"><sup style=\"color: red;font-size: +5;\"> X</sup></span></a>
  74.             ";
  75.         }
  76.         // line 22
  77.         echo "        </div>
  78.     </div>
  79.     <!-- Button mobile view to collapse sidebar menu -->
  80.     <nav class=\"navbar-custom\">
  81.         <ul class=\"list-inline float-right mb-0\" style=\"margin-right: 10px;\">
  82.             ";
  83.         // line 29
  84.         if (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.'29$this->source); })()), "user", [], "any"falsefalsefalse29)) {
  85.             // line 30
  86.             echo "                <li class=\"list-inline-item dropdown notification-list hide-mobile\" id=\"headerNotificationIcon\">
  87.                     <a style=\"overflow: visible;\" class=\"nav-link dropdown-toggle arrow-none waves-light waves-effect\" data-toggle=\"dropdown\" href=\"#\" role=\"button\"
  88.                                                                                                                             aria-haspopup=\"false\" aria-expanded=\"false\">
  89.                         <i class=\"dripicons-bell noti-icon\"></i>
  90.                         <span class=\"badge noti-icon-badge new-notification-count\" style=\"";
  91.             // line 34
  92.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'34$this->source); })()), "getNewNotifications", [], "any"falsefalsefalse34)) == 0)) {
  93.                 echo "display:none;";
  94.             }
  95.             echo "\">";
  96.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'34$this->source); })()), "getNewNotifications", [], "any"falsefalsefalse34)), "html"nulltrue);
  97.             echo "</span>
  98.                     </a>
  99.                     <div class=\"dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg\" aria-labelledby=\"Preview\">
  100.                         <!-- item-->
  101.                         <div class=\"dropdown-item noti-title\">
  102.                             <h5><span class=\"badge badge-danger float-right new-notification-count\">";
  103.             // line 39
  104.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'39$this->source); })()), "getNewNotifications", [], "any"falsefalsefalse39)), "html"nulltrue);
  105.             echo "</span>";
  106.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("headerNotification", [], "messages");
  107.             echo "</h5>
  108.                         </div>
  109.                         <div class=\"notification-listing\">
  110.                             ";
  111.             // line 43
  112.             $context['_parent'] = $context;
  113.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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.'43$this->source); })()), "user", [], "any"falsefalsefalse43), "notifications", [], "any"falsefalsefalse43));
  114.             foreach ($context['_seq'] as $context["_key"] => $context["notif"]) {
  115.                 // line 44
  116.                 echo "                                <a href=\"#\" class=\"dropdown-item notify-item view-notification ";
  117.                 if ((twig_get_attribute($this->env$this->source$context["notif"], "viewed", [], "any"falsefalsefalse44) == false)) {
  118.                     echo "new-notification-item";
  119.                 }
  120.                 echo "\" data-notifid=\"";
  121.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["notif"], "id", [], "any"falsefalsefalse44), "html"nulltrue);
  122.                 echo "\">
  123.                                     <div class=\"notify-icon ";
  124.                 // line 45
  125.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["notif"], "iconColor", [], "any"falsefalsefalse45), "html"nulltrue);
  126.                 echo "\"><i class=\"";
  127.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["notif"], "icon", [], "any"falsefalsefalse45), "html"nulltrue);
  128.                 echo "\"></i></div>
  129.                                     <p class=\"notify-details\">";
  130.                 // line 46
  131.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["notif"], "title", [], "any"falsefalsefalse46), "html"nulltrue);
  132.                 echo "<small class=\"text-muted\">";
  133.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["notif"], "dateSince", [], "any"falsefalsefalse46), "html"nulltrue);
  134.                 echo "</small></p>
  135.                                 </a>
  136.                             ";
  137.             }
  138.             $_parent $context['_parent'];
  139.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['notif'], $context['_parent'], $context['loop']);
  140.             $context array_intersect_key($context$_parent) + $_parent;
  141.             // line 49
  142.             echo "                        </div>
  143.                         ";
  144.             // line 59
  145.             echo "
  146.                     </div>
  147.                 </li>
  148.             ";
  149.         }
  150.         // line 63
  151.         echo "
  152.             ";
  153.         // line 72
  154.         echo "
  155.             ";
  156.         // line 74
  157.         if (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.'74$this->source); })()), "user", [], "any"falsefalsefalse74)) {
  158.             // line 75
  159.             echo "                <li class=\"list-inline-item dropdown notification-list\" style=\"margin-right: 0px;\">
  160.                     <a class=\"nav-link dropdown-toggle waves-effect waves-light nav-user allowClick\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"false\" aria-expanded=\"false\">
  161.                         <img src=\"";
  162.             // line 77
  163.             if (twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_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.'77$this->source); })()), "user", [], "any"falsefalsefalse77), "profileImage", [], "any"falsefalsefalse77))) {
  164.                 echo "/assets/shared/images/defaultAvatar.jpg";
  165.             } else {
  166.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsThumb", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'77$this->source); })()), "user", [], "any"falsefalsefalse77), "profileImage", [], "any"falsefalsefalse77), "id", [], "any"falsefalsefalse77), "height" => "36""width" => "36"]), "html"nulltrue);
  167.             }
  168.             echo "\" alt=\"user\" class=\"rounded-circle\"><h5 class=\"text-white m-l-5 m-t-10 hide-phone menu-profile-name\" style=\"display: inline;font-size: 13px; font-family: maturinFont;\">";
  169.             if (twig_get_attribute($this->env$this->sourcetwig_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.'77$this->source); })()), "user", [], "any"falsefalsefalse77), "firstName", [], "any"falsefalsefalse77)) {
  170.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'77$this->source); })()), "user", [], "any"falsefalsefalse77), "firstName", [], "any"falsefalsefalse77), "html"nulltrue);
  171.             } else {
  172.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'77$this->source); })()), "user", [], "any"falsefalsefalse77), "displayName", [], "any"falsefalsefalse77), "html"nulltrue);
  173.             }
  174.             echo "</h5>
  175.                     </a>
  176.                     <div class=\"dropdown-menu dropdown-menu-right profile-dropdown \" aria-labelledby=\"Preview\">
  177.                         <!-- item-->
  178.                         <div class=\"dropdown-item noti-title\">
  179.                             <h5 class=\"\" style=\"height: auto!important;\"><small>";
  180.             // line 82
  181.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("headerWelcome", [], "messages");
  182.             echo " ";
  183.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'82$this->source); })()), "user", [], "any"falsefalsefalse82), "firstName", [], "any"falsefalsefalse82), "html"nulltrue);
  184.             echo "!</small> </h5>
  185.                         </div>
  186.                         <a href=\"";
  187.             // line 85
  188.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("listOrders");
  189.             echo "\" class=\"dropdown-item notify-item allowClick\">
  190.                             <i class=\"md md-shopping-cart\"></i> <span>";
  191.             // line 86
  192.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Mes commandes", [], "messages");
  193.             echo "</span>
  194.                         </a>
  195.                         <a href=\"";
  196.             // line 88
  197.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("myProducts");
  198.             echo "\" class=\"dropdown-item notify-item allowClick\">
  199.                             <i class=\"md-store\"></i> <span>";
  200.             // line 89
  201.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Mes produits", [], "messages");
  202.             echo "</span>
  203.                         </a>
  204.                         <!-- item-->
  205.                         ";
  206.             // line 94
  207.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'94$this->source); })()), "request", [], "any"falsefalsefalse94), "attributes", [], "any"falsefalsefalse94), "get", [=> "_route"], "method"falsefalsefalse94) == "dashboard")) {
  208.                 // line 95
  209.                 echo "                            <a href=\"";
  210.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("userProfile");
  211.                 echo "\" class=\"dropdown-item notify-item allowClick\">
  212.                                 <i class=\"md md-account-circle\"></i> <span>Mon profil</span>
  213.                             </a>
  214.                         ";
  215.             } else {
  216.                 // line 99
  217.                 echo "                            <a href=\"";
  218.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("userProfile");
  219.                 echo "\" class=\"dropdown-item notify-item allowClick\">
  220.                                 <i class=\"md md-account-circle\"></i> <span>Mon compte</span>
  221.                             </a>
  222.                         ";
  223.             }
  224.             // line 103
  225.             echo "
  226.                         ";
  227.             // line 104
  228.             if (twig_get_attribute($this->env$this->sourcetwig_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.'104$this->source); })()), "user", [], "any"falsefalsefalse104), "getMakeCompanyForAssociation", [], "any"falsefalsefalse104)) {
  229.                 // line 105
  230.                 echo "                            <a href=\"";
  231.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("associationVariableList");
  232.                 echo "\" class=\"dropdown-item notify-item allowClick\">
  233.                                 <i class=\"md md-settings\"></i> <span>Association</span>
  234.                             </a>
  235.                         ";
  236.             }
  237.             // line 109
  238.             echo "                        <!-- item-->
  239.                         <a href=\"";
  240.             // line 110
  241.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("adminMessageListing", ["folder" => "inbox"]);
  242.             echo "\" class=\"dropdown-item notify-item allowClick\">
  243.                             <i class=\"md md-email\"></i> <span>";
  244.             // line 111
  245.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("headerMessage", [], "messages");
  246.             echo "</span>
  247.                         </a>
  248.                         <!-- item-->
  249.                         <a href=\"";
  250.             // line 115
  251.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("inviteAFriend");
  252.             echo "\" class=\"dropdown-item notify-item allowClick\">
  253.                             <i class=\"md md-face-unlock\"></i> <span>Inviter des amis</span>
  254.                         </a>
  255.                         ";
  256.             // line 119
  257.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'119$this->source); })()), "user", [], "any"falsefalsefalse119), "companies", [], "any"falsefalsefalse119)) > 0)) {
  258.                 // line 120
  259.                 echo "                            <hr class=\"m-t-0 m-b-0\">
  260.                                 ";
  261.                 // line 122
  262.                 $context['_parent'] = $context;
  263.                 $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'122$this->source); })()), "user", [], "any"falsefalsefalse122), "companies", [], "any"falsefalsefalse122), 05));
  264.                 foreach ($context['_seq'] as $context["_key"] => $context["company"]) {
  265.                     // line 123
  266.                     echo "
  267.                                     <a href=\"";
  268.                     // line 124
  269.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboardCompany", ["id" => twig_get_attribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse124)]), "html"nulltrue);
  270.                     echo "\" class=\"dropdown-item notify-item allowClick\">
  271.                                         <i class=\"md md-store\"></i> <span>
  272.                                             ";
  273.                     // line 126
  274.                     if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["company"], "name", [], "any"falsefalsefalse126)) > 18)) {
  275.                         // line 127
  276.                         echo "                                                ";
  277.                         echo twig_escape_filter($this->envtwig_trim_filter(twig_slice($this->envtwig_get_attribute($this->env$this->source$context["company"], "name", [], "any"falsefalsefalse127), 015)), "html"nulltrue);
  278.                         echo "...
  279.                                             ";
  280.                     } else {
  281.                         // line 129
  282.                         echo "                                                ";
  283.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["company"], "name", [], "any"falsefalsefalse129), "html"nulltrue);
  284.                         echo "
  285.                                             ";
  286.                     }
  287.                     // line 131
  288.                     echo "                                        </span>
  289.                                     </a>
  290.                                 ";
  291.                 }
  292.                 $_parent $context['_parent'];
  293.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['company'], $context['_parent'], $context['loop']);
  294.                 $context array_intersect_key($context$_parent) + $_parent;
  295.                 // line 134
  296.                 echo "                            <hr class=\"m-t-0 m-b-0\">
  297.                         ";
  298.             }
  299.             // line 136
  300.             echo "
  301.                         ";
  302.             // line 137
  303.             if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_PREVIOUS_ADMIN")) {
  304.                 // line 138
  305.                 echo "                            <a href=\"/?_switch_user=_exit\" class=\"dropdown-item notify-item allowClick\">
  306.                                 <span>Redevenir moi-même</span>
  307.                             </a>
  308.                         ";
  309.             }
  310.             // line 142
  311.             echo "                        <!-- item-->
  312.                         <a href=\"/logout\" class=\"dropdown-item notify-item allowClick\">
  313.                             <i class=\"md md-settings-power\"></i> <span>";
  314.             // line 144
  315.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("headerDisconnect", [], "messages");
  316.             echo "</span>
  317.                         </a>
  318.                     </div>
  319.                 </li>
  320.                 <li class=\"list-inline-item notification-list hide-mobile\">
  321.                     <a class=\"nav-link waves-light waves-effect\" href=\"#\" id=\"help\" style=\"display:none;\">
  322.                         <i class=\"dripicons-question noti-icon\"></i>
  323.                     </a>
  324.                 </li>
  325.                 <li class=\"list-inline-item dropdown notification-list hide-mobile\" id=\"\">
  326.                     <a style=\"overflow: visible;\" class=\"nav-link dropdown-toggle arrow-none waves-light waves-effect\" data-toggle=\"dropdown\" href=\"#\" role=\"button\"
  327.                                                                                                                             aria-haspopup=\"false\" aria-expanded=\"false\">
  328.                         <i class=\"fa fa-heart-o noti-icon favorite-icon\" style=\"top: 2px;font-size:23px;\"></i>
  329.                     </a>
  330.                     <div class=\"dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg favorites-dropdown\" aria-labelledby=\"Preview\">
  331.                         <!-- item-->
  332.                         <div class=\"dropdown-item noti-title\">
  333.                             <h5><span class=\"badge badge-danger float-right new-favorite-count\">";
  334.             // line 162
  335.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'162$this->source); })()), "favorites", [], "any"falsefalsefalse162)), "html"nulltrue);
  336.             echo "</span>Favoris</h5>
  337.                         </div>
  338.                         <div class=\"favorites-listing\">
  339.                             ";
  340.             // line 166
  341.             $context['_parent'] = $context;
  342.             $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'166$this->source); })()), "favorites", [], "any"falsefalsefalse166)));
  343.             foreach ($context['_seq'] as $context["_key"] => $context["fav"]) {
  344.                 // line 167
  345.                 echo "                                <div class=\"row\">
  346.                                     <div class=\"col-10 nopadding\">
  347.                                         <a href=\"";
  348.                 // line 169
  349.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewProduct", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse169), "id", [], "any"falsefalsefalse169), "producerUrl" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse169), "company", [], "any"falsefalsefalse169), "UrlName", [], "any"falsefalsefalse169), "productName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse169), "UrlName", [], "any"falsefalsefalse169)]), "html"nulltrue);
  350.                 echo "\" class=\"dropdown-item notify-item view-favorite\" data-product=\"";
  351.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse169), "id", [], "any"falsefalsefalse169), "html"nulltrue);
  352.                 echo "\">
  353.                                             <div class=\"notify-icon\"><img class=\"\" src=\"";
  354.                 // line 170
  355.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsCroppedThumb", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse170), "mainImage", [], "any"falsefalsefalse170), "Id", [], "any"falsefalsefalse170), "height" => "35""width" => "35"]), "html"nulltrue);
  356.                 echo "\"></div>
  357.                                             <p class=\"notify-details\">";
  358.                 // line 171
  359.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse171), "name", [], "any"falsefalsefalse171), "html"nulltrue);
  360.                 echo "<small class=\"text-muted\">";
  361.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse171), "company", [], "any"falsefalsefalse171), "name", [], "any"falsefalsefalse171), "html"nulltrue);
  362.                 echo "</small></p>
  363.                                         </a>
  364.                                     </div>
  365.                                     <div class=\"col-2 nopadding\">
  366.                                         <a href=\"#\" class=\"add-to-cart\" data-id=\"";
  367.                 // line 175
  368.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse175), "id", [], "any"falsefalsefalse175), "html"nulltrue);
  369.                 echo "\">
  370.                                             <i class=\"md-shopping-cart\" style=\"font-size: large; color: darkgray; padding-top: 10px;padding-right: 5px;\"></i>
  371.                                         </a>
  372.                                         <a href=\"#\" class=\"remove-favorite\" data-id=\"";
  373.                 // line 178
  374.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse178), "id", [], "any"falsefalsefalse178), "html"nulltrue);
  375.                 echo "\">
  376.                                             <i class=\"ion-close\" style=\"font-size: large; color: darkgray; display: block; padding-left: 2px;\"></i>
  377.                                         </a>
  378.                                     </div>
  379.                                 </div>
  380.                             ";
  381.             }
  382.             $_parent $context['_parent'];
  383.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['fav'], $context['_parent'], $context['loop']);
  384.             $context array_intersect_key($context$_parent) + $_parent;
  385.             // line 184
  386.             echo "                        </div>
  387.                     </div>
  388.                 </li>
  389.                 ";
  390.             // line 211
  391.             echo "                <li class=\"list-inline-item dropdown notification-list\" id=\"\">
  392.                     <a class=\"nav-link arrow-none waves-light waves-effect\" style=\"overflow: visible;\" href=\"/panier\">
  393.                         <i class=\"md-shopping-cart noti-icon\" style=\"font-size: 28px!important;";
  394.             // line 213
  395.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'213$this->source); })()), "cart", [], "any"falsefalsefalse213), "products", [], "any"falsefalsefalse213)) == 0)) {
  396.                 echo "padding-top: 2px;";
  397.             } else {
  398.                 echo "padding-top: 5px;";
  399.             }
  400.             echo "\"></i>
  401.                     <span style=\"float: right;color: white;line-height: 1.4;padding-top: 0px;margin-left: 12px;font-family: 'MaturinFont';font-size: 13px;\">
  402.                         Panier<br><span id=\"menu_subtotal_cart\" style=\"font-weight: bold;padding-top: 5;\">";
  403.             // line 215
  404.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'215$this->source); })()), "cart", [], "any"falsefalsefalse215), "subTotalToPay", [=> false=> false], "method"falsefalsefalse215), 2), "html"nulltrue);
  405.             echo "\$</span></span>
  406.                     <span class=\"badge noti-icon-badge \" id=\"menu-cart-count\" style=\"top: 1px;width: fit-content;font-weight: bolder;";
  407.             // line 216
  408.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'216$this->source); })()), "cart", [], "any"falsefalsefalse216), "products", [], "any"falsefalsefalse216)) < 10)) {
  409.                 echo "left: 17px;";
  410.             } else {
  411.                 echo "left:15px;";
  412.             }
  413.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'216$this->source); })()), "cart", [], "any"falsefalsefalse216), "products", [], "any"falsefalsefalse216)) == 0)) {
  414.                 echo "display:none;";
  415.             }
  416.             echo " \">";
  417.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'216$this->source); })()), "cart", [], "any"falsefalsefalse216), "products", [], "any"falsefalsefalse216)), "html"nulltrue);
  418.             echo "</span>
  419.                     </a>
  420.                 </li>
  421.             ";
  422.         } else {
  423.             // line 221
  424.             echo "                <li class=\"list-inline-item dropdown notification-list\" id=\"\">
  425.                     <a style=\"overflow: visible;\" class=\"nav-link dropdown-toggle arrow-none waves-light waves-effect\" data-toggle=\"dropdown\" href=\"#\" role=\"button\"
  426.                                                                                                                             aria-haspopup=\"false\" aria-expanded=\"false\">
  427.                         <i class=\"fa fa-heart-o noti-icon favorite-icon\" style=\"top: 2px;font-size:23px;\"></i>
  428.                     </a>
  429.                     <div class=\"dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg favorites-dropdown\" aria-labelledby=\"Preview\">
  430.                         <!-- item-->
  431.                         <div class=\"dropdown-item noti-title\">
  432.                             <h5><span class=\"badge badge-danger float-right new-favorite-count\">";
  433.             // line 229
  434.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'229$this->source); })()), "favorites", [], "any"falsefalsefalse229)), "html"nulltrue);
  435.             echo "</span>Favoris</h5>
  436.                         </div>
  437.                         <div class=\"favorites-listing\">
  438.                             ";
  439.             // line 233
  440.             $context['_parent'] = $context;
  441.             $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'233$this->source); })()), "favorites", [], "any"falsefalsefalse233)));
  442.             foreach ($context['_seq'] as $context["_key"] => $context["fav"]) {
  443.                 // line 234
  444.                 echo "                                <div class=\"row\">
  445.                                     <div class=\"col-10 nopadding\">
  446.                                         <a href=\"";
  447.                 // line 236
  448.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("viewProduct", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse236), "id", [], "any"falsefalsefalse236), "producerUrl" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse236), "company", [], "any"falsefalsefalse236), "UrlName", [], "any"falsefalsefalse236), "productName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse236), "UrlName", [], "any"falsefalsefalse236)]), "html"nulltrue);
  449.                 echo "\" class=\"dropdown-item notify-item view-favorite\" data-product=\"";
  450.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse236), "id", [], "any"falsefalsefalse236), "html"nulltrue);
  451.                 echo "\">
  452.                                             <div class=\"notify-icon\"><img class=\"\" src=\"";
  453.                 // line 237
  454.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("getImageAsCroppedThumb", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse237), "mainImage", [], "any"falsefalsefalse237), "Id", [], "any"falsefalsefalse237), "height" => "35""width" => "35"]), "html"nulltrue);
  455.                 echo "\"></div>
  456.                                             <p class=\"notify-details\">";
  457.                 // line 238
  458.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse238), "name", [], "any"falsefalsefalse238), "html"nulltrue);
  459.                 echo "<small class=\"text-muted\">";
  460.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse238), "company", [], "any"falsefalsefalse238), "name", [], "any"falsefalsefalse238), "html"nulltrue);
  461.                 echo "</small></p>
  462.                                         </a>
  463.                                     </div>
  464.                                     <div class=\"col-2 nopadding\">
  465.                                         <a href=\"#\" class=\"remove-favorite\" data-id=\"";
  466.                 // line 242
  467.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["fav"], "product", [], "any"falsefalsefalse242), "id", [], "any"falsefalsefalse242), "html"nulltrue);
  468.                 echo "\">
  469.                                             <i class=\"ion-close\" style=\"font-size: large; color: darkgray; padding-top: 10px;\"></i>
  470.                                         </a>
  471.                                     </div>
  472.                                 </div>
  473.                             ";
  474.             }
  475.             $_parent $context['_parent'];
  476.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['fav'], $context['_parent'], $context['loop']);
  477.             $context array_intersect_key($context$_parent) + $_parent;
  478.             // line 248
  479.             echo "                        </div>
  480.                     </div>
  481.                 </li>
  482.                 <li class=\"list-inline-item dropdown notification-list\" id=\"\">
  483.                     <a class=\"nav-link arrow-none waves-light waves-effect\" style=\"overflow: visible;\" href=\"/panier\">
  484.                         <i class=\"md-shopping-cart noti-icon\" style=\"font-size: 28px!important;";
  485.             // line 253
  486.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'253$this->source); })()), "cart", [], "any"falsefalsefalse253), "products", [], "any"falsefalsefalse253)) == 0)) {
  487.                 echo "padding-top: 2px;";
  488.             } else {
  489.                 echo "padding-top: 5px;";
  490.             }
  491.             echo "\"></i>
  492.                     <span style=\"float: right;color: white;line-height: 1.4;padding-top: 0px;margin-left: 12px;font-family: 'MaturinFont';font-size: 13px;\">
  493.                         Panier<br><span id=\"mobile_menu_subtotal_cart\" style=\"font-weight: bold;padding-top: 5;\">";
  494.             // line 255
  495.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'255$this->source); })()), "cart", [], "any"falsefalsefalse255), "subTotalToPay", [=> false=> false], "method"falsefalsefalse255), 2), "html"nulltrue);
  496.             echo "\$</span></span>
  497.                     <span class=\"badge noti-icon-badge \" id=\"menu-cart-count\" style=\"top: 1px;width: fit-content;font-weight: bolder;left: 17px;";
  498.             // line 256
  499.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'256$this->source); })()), "cart", [], "any"falsefalsefalse256), "products", [], "any"falsefalsefalse256)) == 0)) {
  500.                 echo "display:none;";
  501.             }
  502.             echo " \">";
  503.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["global"]) || array_key_exists("global"$context) ? $context["global"] : (function () { throw new RuntimeError('Variable "global" does not exist.'256$this->source); })()), "cart", [], "any"falsefalsefalse256), "products", [], "any"falsefalsefalse256)), "html"nulltrue);
  504.             echo "</span>
  505.                     </a>
  506.                 </li>
  507.             ";
  508.         }
  509.         // line 260
  510.         echo "
  511.             ";
  512.         // line 268
  513.         echo "            ";
  514.         // line 288
  515.         echo "        </ul>
  516.         <ul class=\"list-inline-float-right mb-0 pull-right mr-3 \">
  517.             ";
  518.         // line 290
  519.         if (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.'290$this->source); })()), "user", [], "any"falsefalsefalse290)) {
  520.             // line 291
  521.             echo "                ";
  522.             if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'291$this->source); })()), "user", [], "any"falsefalsefalse291), "companies", [], "any"falsefalsefalse291)) > 0)) {
  523.                 // line 292
  524.                 echo "                    <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper hide-mobile\">
  525.                         <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\" href=\"/info/conseils\">Conseils de vente</a>
  526.                     </li>
  527.                 ";
  528.             } else {
  529.                 // line 296
  530.                 echo "                    <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper text-white hide-mobile\">
  531.                         <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\"   href=\"";
  532.                 // line 297
  533.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fastCompanyInscription");
  534.                 echo "\">Vendre sur Maturin</a>
  535.                     </li>
  536.                 ";
  537.             }
  538.             // line 300
  539.             echo "
  540.             ";
  541.         } else {
  542.             // line 302
  543.             echo "                <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper hide-mobile\">
  544.                     <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\" href=\"/info/vendre\">Vendre sur Maturin</a>
  545.                 </li>
  546.                 <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper\">
  547.                     <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\" href=\"";
  548.             // line 306
  549.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login");
  550.             echo "\">";
  551.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Connexion", [], "messages");
  552.             echo "</a>
  553.                 </li>
  554.             ";
  555.         }
  556.         // line 309
  557.         echo "        </ul>
  558.         <ul class=\"list-inline menu-left mb-0 app-search-ul\">
  559.             ";
  560.         // line 312
  561.         if ( !(isset($context["hideSideMenu"]) || array_key_exists("hideSideMenu"$context))) {
  562.             // line 313
  563.             echo "                <li class=\"float-left hide-desktop\">
  564.                     <button class=\"button-menu-mobile open-left waves-light waves-effect\">
  565.                         <a href=\"#menu\" class=\"allowClick text-white\"><i class=\"dripicons-menu\"></i></a>
  566.                     </button>
  567.                 </li>
  568.             ";
  569.         }
  570.         // line 319
  571.         echo "            <li class=\"app-search\">
  572.                 <form role=\"search\" class=\"\">
  573.                     <input type=\"text\" id=\"mainSearch\" placeholder=\"";
  574.         // line 321
  575.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("headerSearchPlaceHolder", [], "messages");
  576.         echo "\" class=\"form-control\">
  577.                     <a href=\"#\" id=\"btn-main-search\"><i class=\"fa fa-search\"></i></a>
  578.                 </form>
  579.             </li>
  580.         </ul>
  581.     </nav>
  582. </div>
  583. <!-- Top Bar End -->
  584. ";
  585.         
  586.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  587.         
  588.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  589.     }
  590.     public function getTemplateName()
  591.     {
  592.         return "menu.html.twig";
  593.     }
  594.     public function isTraitable()
  595.     {
  596.         return false;
  597.     }
  598.     public function getDebugInfo()
  599.     {
  600.         return array (  602 => 321,  598 => 319,  590 => 313,  588 => 312,  583 => 309,  575 => 306,  569 => 302,  565 => 300,  559 => 297,  556 => 296,  550 => 292,  547 => 291,  545 => 290,  541 => 288,  539 => 268,  536 => 260,  525 => 256,  521 => 255,  512 => 253,  505 => 248,  493 => 242,  484 => 238,  480 => 237,  474 => 236,  470 => 234,  466 => 233,  459 => 229,  449 => 221,  432 => 216,  428 => 215,  419 => 213,  415 => 211,  409 => 184,  397 => 178,  391 => 175,  382 => 171,  378 => 170,  372 => 169,  368 => 167,  364 => 166,  357 => 162,  336 => 144,  332 => 142,  326 => 138,  324 => 137,  321 => 136,  317 => 134,  309 => 131,  303 => 129,  297 => 127,  295 => 126,  290 => 124,  287 => 123,  283 => 122,  279 => 120,  277 => 119,  270 => 115,  263 => 111,  259 => 110,  256 => 109,  248 => 105,  246 => 104,  243 => 103,  235 => 99,  227 => 95,  225 => 94,  217 => 89,  213 => 88,  208 => 86,  204 => 85,  196 => 82,  178 => 77,  174 => 75,  172 => 74,  168 => 72,  164 => 63,  158 => 59,  154 => 49,  143 => 46,  137 => 45,  128 => 44,  124 => 43,  115 => 39,  103 => 34,  97 => 30,  95 => 29,  86 => 22,  76 => 20,  74 => 19,  71 => 18,  65 => 14,  63 => 13,  57 => 9,  55 => 8,  51 => 7,  43 => 1,);
  601.     }
  602.     public function getSourceContext()
  603.     {
  604.         return new Source("<!-- Top Bar Start -->
  605. <div class=\"topbar\">
  606.     <!-- LOGO -->
  607.     <div class=\"topbar-left\" id=\"headerMenuTopLeftLogo\">
  608.         <div class=\"text-center\">
  609.             <!-- Image Logo here -->
  610.             <a href=\"{{ global.getAssociationUserIsBrowsing ? path('companyAssociationList', {'urlName': global.getAssociationUserIsBrowsing.urlName}) : '/' }}\" class=\"logo\">
  611.                 {% if global.getAssociationUserIsBrowsing %}
  612.                 <div style=\"width: 60%; margin: auto;position:relative;\">
  613.                     <img src=\"/assets/admin/images/newLogoDark.png\" height=\"42\" class=\"resp\">
  614.                     </div>
  615.                 {% else %}
  616.                     {# <i class=\"icon-c-logo\"> <img src=\"/assets/admin/images/newLogoDark.png\" height=\"42\" class=\"resp\"/> </i>  #}
  617.                     <div style=\"width: 60%; margin: auto;\" class=\"logoDarkSite\">
  618.                         <img src=\"/assets/admin/images/newLogoDark.png\" class=\"resp\">
  619.                     </div>
  620.                 {% endif %}
  621.             </a>
  622.             {% if global.getAssociationUserIsBrowsing %}
  623.                 <span style=\"color: white;font-weight: bold;\" class=\"GroupeLogoPosition\"><a style=\"color: white!important;\" href=\"{{path('companyAssociationList', {'urlName': global.getAssociationUserIsBrowsing.urlName})}}\">{{global.getAssociationUserIsBrowsing.name}}</a><a href=\"{{path('removeAssociationFromBrowsing')}}\"><sup style=\"color: red;font-size: +5;\"> X</sup></span></a>
  624.             {% endif %}
  625.         </div>
  626.     </div>
  627.     <!-- Button mobile view to collapse sidebar menu -->
  628.     <nav class=\"navbar-custom\">
  629.         <ul class=\"list-inline float-right mb-0\" style=\"margin-right: 10px;\">
  630.             {%if app.user %}
  631.                 <li class=\"list-inline-item dropdown notification-list hide-mobile\" id=\"headerNotificationIcon\">
  632.                     <a style=\"overflow: visible;\" class=\"nav-link dropdown-toggle arrow-none waves-light waves-effect\" data-toggle=\"dropdown\" href=\"#\" role=\"button\"
  633.                                                                                                                             aria-haspopup=\"false\" aria-expanded=\"false\">
  634.                         <i class=\"dripicons-bell noti-icon\"></i>
  635.                         <span class=\"badge noti-icon-badge new-notification-count\" style=\"{% if global.getNewNotifications | length == 0 %}display:none;{% endif %}\">{{global.getNewNotifications | length}}</span>
  636.                     </a>
  637.                     <div class=\"dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg\" aria-labelledby=\"Preview\">
  638.                         <!-- item-->
  639.                         <div class=\"dropdown-item noti-title\">
  640.                             <h5><span class=\"badge badge-danger float-right new-notification-count\">{{global.getNewNotifications |length}}</span>{%trans%}headerNotification{%endtrans%}</h5>
  641.                         </div>
  642.                         <div class=\"notification-listing\">
  643.                             {% for notif in app.user.notifications %}
  644.                                 <a href=\"#\" class=\"dropdown-item notify-item view-notification {%if notif.viewed == false %}new-notification-item{% endif %}\" data-notifid=\"{{notif.id}}\">
  645.                                     <div class=\"notify-icon {{notif.iconColor}}\"><i class=\"{{notif.icon}}\"></i></div>
  646.                                     <p class=\"notify-details\">{{notif.title}}<small class=\"text-muted\">{{notif.dateSince}}</small></p>
  647.                                 </a>
  648.                             {% endfor %}
  649.                         </div>
  650.                         {#
  651.                         {% if app.user.notifications | length > 3 %}
  652.                             <!-- All-->
  653.                             <a href=\"javascript:void(0);\" class=\"dropdown-item notify-item notify-all\">
  654.                                 {%trans%}headerNotificationViewAll{%endtrans%}
  655.                             </a>
  656.                         {% endif %}
  657.                         #}
  658.                     </div>
  659.                 </li>
  660.             {% endif %}
  661.             {#
  662.             <li class=\"list-inline-item notification-list\">
  663.                 <a class=\"nav-link waves-light waves-effect\" href=\"#\" id=\"btn-fullscreen\">
  664.                     <i class=\"dripicons-expand noti-icon\"></i>
  665.                 </a>
  666.             </li>
  667.             #}
  668.             {% if app.user %}
  669.                 <li class=\"list-inline-item dropdown notification-list\" style=\"margin-right: 0px;\">
  670.                     <a class=\"nav-link dropdown-toggle waves-effect waves-light nav-user allowClick\" data-toggle=\"dropdown\" href=\"#\" role=\"button\" aria-haspopup=\"false\" aria-expanded=\"false\">
  671.                         <img src=\"{% if app.user.profileImage is empty %}/assets/shared/images/defaultAvatar.jpg{%else%}{{ path('getImageAsThumb', {'id': app.user.profileImage.id, 'height': '36', 'width' : '36'})}}{%endif%}\" alt=\"user\" class=\"rounded-circle\"><h5 class=\"text-white m-l-5 m-t-10 hide-phone menu-profile-name\" style=\"display: inline;font-size: 13px; font-family: maturinFont;\">{% if app.user.firstName%}{{app.user.firstName}}{% else %}{{app.user.displayName}}{% endif %}</h5>
  672.                     </a>
  673.                     <div class=\"dropdown-menu dropdown-menu-right profile-dropdown \" aria-labelledby=\"Preview\">
  674.                         <!-- item-->
  675.                         <div class=\"dropdown-item noti-title\">
  676.                             <h5 class=\"\" style=\"height: auto!important;\"><small>{%trans %}headerWelcome{%endtrans%} {{app.user.firstName}}!</small> </h5>
  677.                         </div>
  678.                         <a href=\"{{path('listOrders')}}\" class=\"dropdown-item notify-item allowClick\">
  679.                             <i class=\"md md-shopping-cart\"></i> <span>{%trans%}Mes commandes{%endtrans%}</span>
  680.                         </a>
  681.                         <a href=\"{{path('myProducts')}}\" class=\"dropdown-item notify-item allowClick\">
  682.                             <i class=\"md-store\"></i> <span>{%trans%}Mes produits{%endtrans%}</span>
  683.                         </a>
  684.                         <!-- item-->
  685.                         {% if app.request.attributes.get('_route') == 'dashboard' %}
  686.                             <a href=\"{{path('userProfile')}}\" class=\"dropdown-item notify-item allowClick\">
  687.                                 <i class=\"md md-account-circle\"></i> <span>Mon profil</span>
  688.                             </a>
  689.                         {% else %}
  690.                             <a href=\"{{path('userProfile')}}\" class=\"dropdown-item notify-item allowClick\">
  691.                                 <i class=\"md md-account-circle\"></i> <span>Mon compte</span>
  692.                             </a>
  693.                         {% endif %}
  694.                         {% if app.user.getMakeCompanyForAssociation %}
  695.                             <a href=\"{{path('associationVariableList')}}\" class=\"dropdown-item notify-item allowClick\">
  696.                                 <i class=\"md md-settings\"></i> <span>Association</span>
  697.                             </a>
  698.                         {% endif %}
  699.                         <!-- item-->
  700.                         <a href=\"{{path('adminMessageListing', {'folder': 'inbox'})}}\" class=\"dropdown-item notify-item allowClick\">
  701.                             <i class=\"md md-email\"></i> <span>{%trans%}headerMessage{%endtrans%}</span>
  702.                         </a>
  703.                         <!-- item-->
  704.                         <a href=\"{{path('inviteAFriend')}}\" class=\"dropdown-item notify-item allowClick\">
  705.                             <i class=\"md md-face-unlock\"></i> <span>Inviter des amis</span>
  706.                         </a>
  707.                         {% if app.user.companies | length > 0 %}
  708.                             <hr class=\"m-t-0 m-b-0\">
  709.                                 {% for company in app.user.companies|slice(0,5) %}
  710.                                     <a href=\"{{path('dashboardCompany', {'id' : company.id})}}\" class=\"dropdown-item notify-item allowClick\">
  711.                                         <i class=\"md md-store\"></i> <span>
  712.                                             {% if company.name | length > 18 %}
  713.                                                 {{company.name | slice(0, 15) | trim}}...
  714.                                             {% else %}
  715.                                                 {{company.name}}
  716.                                             {% endif %}
  717.                                         </span>
  718.                                     </a>
  719.                                 {% endfor %}
  720.                             <hr class=\"m-t-0 m-b-0\">
  721.                         {% endif %}
  722.                         {% if is_granted('ROLE_PREVIOUS_ADMIN') %}
  723.                             <a href=\"/?_switch_user=_exit\" class=\"dropdown-item notify-item allowClick\">
  724.                                 <span>Redevenir moi-même</span>
  725.                             </a>
  726.                         {% endif %}
  727.                         <!-- item-->
  728.                         <a href=\"/logout\" class=\"dropdown-item notify-item allowClick\">
  729.                             <i class=\"md md-settings-power\"></i> <span>{%trans%}headerDisconnect{%endtrans%}</span>
  730.                         </a>
  731.                     </div>
  732.                 </li>
  733.                 <li class=\"list-inline-item notification-list hide-mobile\">
  734.                     <a class=\"nav-link waves-light waves-effect\" href=\"#\" id=\"help\" style=\"display:none;\">
  735.                         <i class=\"dripicons-question noti-icon\"></i>
  736.                     </a>
  737.                 </li>
  738.                 <li class=\"list-inline-item dropdown notification-list hide-mobile\" id=\"\">
  739.                     <a style=\"overflow: visible;\" class=\"nav-link dropdown-toggle arrow-none waves-light waves-effect\" data-toggle=\"dropdown\" href=\"#\" role=\"button\"
  740.                                                                                                                             aria-haspopup=\"false\" aria-expanded=\"false\">
  741.                         <i class=\"fa fa-heart-o noti-icon favorite-icon\" style=\"top: 2px;font-size:23px;\"></i>
  742.                     </a>
  743.                     <div class=\"dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg favorites-dropdown\" aria-labelledby=\"Preview\">
  744.                         <!-- item-->
  745.                         <div class=\"dropdown-item noti-title\">
  746.                             <h5><span class=\"badge badge-danger float-right new-favorite-count\">{{global.favorites |length}}</span>Favoris</h5>
  747.                         </div>
  748.                         <div class=\"favorites-listing\">
  749.                             {% for fav in global.favorites | reverse %}
  750.                                 <div class=\"row\">
  751.                                     <div class=\"col-10 nopadding\">
  752.                                         <a href=\"{{path('viewProduct', {'id': fav.product.id, 'producerUrl': fav.product.company.UrlName, 'productName': fav.product.UrlName})}}\" class=\"dropdown-item notify-item view-favorite\" data-product=\"{{fav.product.id}}\">
  753.                                             <div class=\"notify-icon\"><img class=\"\" src=\"{{path('getImageAsCroppedThumb', {'id': fav.product.mainImage.Id, 'height': '35', 'width': '35'})}}\"></div>
  754.                                             <p class=\"notify-details\">{{fav.product.name}}<small class=\"text-muted\">{{fav.product.company.name}}</small></p>
  755.                                         </a>
  756.                                     </div>
  757.                                     <div class=\"col-2 nopadding\">
  758.                                         <a href=\"#\" class=\"add-to-cart\" data-id=\"{{fav.product.id}}\">
  759.                                             <i class=\"md-shopping-cart\" style=\"font-size: large; color: darkgray; padding-top: 10px;padding-right: 5px;\"></i>
  760.                                         </a>
  761.                                         <a href=\"#\" class=\"remove-favorite\" data-id=\"{{fav.product.id}}\">
  762.                                             <i class=\"ion-close\" style=\"font-size: large; color: darkgray; display: block; padding-left: 2px;\"></i>
  763.                                         </a>
  764.                                     </div>
  765.                                 </div>
  766.                             {% endfor %}
  767.                         </div>
  768.                     </div>
  769.                 </li>
  770.                 {#
  771.                     <li class=\"list-inline-item dropdown notification-list\" id=\"\" style=\"{% if app.user.favorites | length < 1  %}display:none;{% endif %}\">
  772.                         <a style=\"overflow: visible;\" class=\"nav-link dropdown-toggle arrow-none waves-light waves-effect\" data-toggle=\"dropdown\" href=\"#\" role=\"button\"
  773.                                                                                                                                 aria-haspopup=\"false\" aria-expanded=\"false\">
  774.                             <i class=\"fa fa-heart-o noti-icon favorite-icon\" style=\"top: 0px;\"></i>
  775.                         </a>
  776.                         <div class=\"dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg\" aria-labelledby=\"Preview\">
  777.                             <!-- item-->
  778.                             <div class=\"dropdown-item noti-title\">
  779.                                 <h5><span class=\"badge badge-danger float-right new-favorite-count\">{{app.user.favorites |length}}</span>Favori</h5>
  780.                             </div>
  781.                             <div class=\"favorites-listing\">
  782.                                 {% for fav in app.user.favorites%}
  783.                                     <a href=\"{{path('viewProduct', {'id': fav.product.id, 'producerUrl': fav.product.company.UrlName, 'productName': fav.product.UrlName})}}\" class=\"dropdown-item notify-item view-favorite\" data-product=\"{{fav.product.id}}\">
  784.                                         <div class=\"notify-icon\"><img class=\"\" src=\"{{path('getImageAsCroppedThumb', {'id': fav.product.mainImage.Id, 'height': '35', 'width': '35'})}}\"></div>
  785.                                         <p class=\"notify-details\">{{fav.product.name}}<small class=\"text-muted\">{{fav.product.company.name}}</small></p>
  786.                                     </a>
  787.                                 {% endfor %}
  788.                             </div>
  789.                         </div>
  790.                     </li>
  791. #}
  792.                 <li class=\"list-inline-item dropdown notification-list\" id=\"\">
  793.                     <a class=\"nav-link arrow-none waves-light waves-effect\" style=\"overflow: visible;\" href=\"/panier\">
  794.                         <i class=\"md-shopping-cart noti-icon\" style=\"font-size: 28px!important;{% if global.cart.products | length == 0 %}padding-top: 2px;{% else %}padding-top: 5px;{% endif %}\"></i>
  795.                     <span style=\"float: right;color: white;line-height: 1.4;padding-top: 0px;margin-left: 12px;font-family: 'MaturinFont';font-size: 13px;\">
  796.                         Panier<br><span id=\"menu_subtotal_cart\" style=\"font-weight: bold;padding-top: 5;\">{{global.cart.subTotalToPay(false, false) | number_format(2)}}\$</span></span>
  797.                     <span class=\"badge noti-icon-badge \" id=\"menu-cart-count\" style=\"top: 1px;width: fit-content;font-weight: bolder;{% if global.cart.products | length < 10%}left: 17px;{% else %}left:15px;{% endif %}{% if global.cart.products | length == 0 %}display:none;{% endif %} \">{{global.cart.products | length}}</span>
  798.                     </a>
  799.                 </li>
  800.             {% else %}
  801.                 <li class=\"list-inline-item dropdown notification-list\" id=\"\">
  802.                     <a style=\"overflow: visible;\" class=\"nav-link dropdown-toggle arrow-none waves-light waves-effect\" data-toggle=\"dropdown\" href=\"#\" role=\"button\"
  803.                                                                                                                             aria-haspopup=\"false\" aria-expanded=\"false\">
  804.                         <i class=\"fa fa-heart-o noti-icon favorite-icon\" style=\"top: 2px;font-size:23px;\"></i>
  805.                     </a>
  806.                     <div class=\"dropdown-menu dropdown-menu-right dropdown-arrow dropdown-lg favorites-dropdown\" aria-labelledby=\"Preview\">
  807.                         <!-- item-->
  808.                         <div class=\"dropdown-item noti-title\">
  809.                             <h5><span class=\"badge badge-danger float-right new-favorite-count\">{{global.favorites |length}}</span>Favoris</h5>
  810.                         </div>
  811.                         <div class=\"favorites-listing\">
  812.                             {% for fav in global.favorites | reverse %}
  813.                                 <div class=\"row\">
  814.                                     <div class=\"col-10 nopadding\">
  815.                                         <a href=\"{{path('viewProduct', {'id': fav.product.id, 'producerUrl': fav.product.company.UrlName, 'productName': fav.product.UrlName})}}\" class=\"dropdown-item notify-item view-favorite\" data-product=\"{{fav.product.id}}\">
  816.                                             <div class=\"notify-icon\"><img class=\"\" src=\"{{path('getImageAsCroppedThumb', {'id': fav.product.mainImage.Id, 'height': '35', 'width': '35'})}}\"></div>
  817.                                             <p class=\"notify-details\">{{fav.product.name}}<small class=\"text-muted\">{{fav.product.company.name}}</small></p>
  818.                                         </a>
  819.                                     </div>
  820.                                     <div class=\"col-2 nopadding\">
  821.                                         <a href=\"#\" class=\"remove-favorite\" data-id=\"{{fav.product.id}}\">
  822.                                             <i class=\"ion-close\" style=\"font-size: large; color: darkgray; padding-top: 10px;\"></i>
  823.                                         </a>
  824.                                     </div>
  825.                                 </div>
  826.                             {% endfor %}
  827.                         </div>
  828.                     </div>
  829.                 </li>
  830.                 <li class=\"list-inline-item dropdown notification-list\" id=\"\">
  831.                     <a class=\"nav-link arrow-none waves-light waves-effect\" style=\"overflow: visible;\" href=\"/panier\">
  832.                         <i class=\"md-shopping-cart noti-icon\" style=\"font-size: 28px!important;{% if global.cart.products | length == 0 %}padding-top: 2px;{% else %}padding-top: 5px;{% endif %}\"></i>
  833.                     <span style=\"float: right;color: white;line-height: 1.4;padding-top: 0px;margin-left: 12px;font-family: 'MaturinFont';font-size: 13px;\">
  834.                         Panier<br><span id=\"mobile_menu_subtotal_cart\" style=\"font-weight: bold;padding-top: 5;\">{{global.cart.subTotalToPay(false, false)| number_format(2)}}\$</span></span>
  835.                     <span class=\"badge noti-icon-badge \" id=\"menu-cart-count\" style=\"top: 1px;width: fit-content;font-weight: bolder;left: 17px;{% if global.cart.products | length == 0 %}display:none;{% endif %} \">{{global.cart.products | length}}</span>
  836.                     </a>
  837.                 </li>
  838.             {% endif %}
  839.             {#
  840.             <li class=\"list-inline-item notification-list\">
  841.                 <a class=\"nav-link waves-light waves-effect\" href=\"#\" >
  842.                     <div class=\"header-icon-list\"></div>
  843.                 </a>
  844.             </li>
  845.             #}
  846.             {#
  847.             <li class=\"nav-item list-inline-item notification-list\">
  848.                 <a class=\"nav-link modify-parameter-region\" data-toggle=\"modal\"
  849.                     data-target=\"#modifiezVosParamètres\">QC</a>
  850.             </li>
  851.             <div class=\"nav-divider-wrappper\">
  852.                 <div class=\"nav-divider\"></div>
  853.             </div>
  854.             <li class=\"nav-item nav-modify-parameter\">
  855.                 <a class=\"nav-link modify-parameter-currency\" data-toggle=\"modal\"
  856.                     data-target=\"#modifiezVosParamètres\">\$(CAD)</a>
  857.             </li>
  858.             <div class=\"nav-divider-wrappper\">
  859.                 <div class=\"nav-divider\"></div>
  860.             </div>
  861.             <li class=\"nav-item nav-modify-parameter\">
  862.                 <a class=\"nav-link modify-parameter-lang\" data-toggle=\"modal\"
  863.                     data-target=\"#modifiezVosParamètres\">Français </a>
  864.             </li>
  865.             #}
  866.         </ul>
  867.         <ul class=\"list-inline-float-right mb-0 pull-right mr-3 \">
  868.             {% if app.user %}
  869.                 {% if app.user.companies | length > 0 %}
  870.                     <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper hide-mobile\">
  871.                         <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\" href=\"/info/conseils\">Conseils de vente</a>
  872.                     </li>
  873.                 {% else %}
  874.                     <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper text-white hide-mobile\">
  875.                         <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\"   href=\"{{path('fastCompanyInscription')}}\">Vendre sur Maturin</a>
  876.                     </li>
  877.                 {% endif %}
  878.             {% else %}
  879.                 <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper hide-mobile\">
  880.                     <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\" href=\"/info/vendre\">Vendre sur Maturin</a>
  881.                 </li>
  882.                 <li class=\"nav-item top-menu-link list-inline-item underline-effect-wrapper\">
  883.                     <a class=\"text-white allowClick underline-effect underline-effect-white underline-effect-h2\" href=\"{{path('fos_user_security_login')}}\">{% trans %} Connexion{% endtrans %}</a>
  884.                 </li>
  885.             {% endif %}
  886.         </ul>
  887.         <ul class=\"list-inline menu-left mb-0 app-search-ul\">
  888.             {% if hideSideMenu is not defined %}
  889.                 <li class=\"float-left hide-desktop\">
  890.                     <button class=\"button-menu-mobile open-left waves-light waves-effect\">
  891.                         <a href=\"#menu\" class=\"allowClick text-white\"><i class=\"dripicons-menu\"></i></a>
  892.                     </button>
  893.                 </li>
  894.             {% endif %}
  895.             <li class=\"app-search\">
  896.                 <form role=\"search\" class=\"\">
  897.                     <input type=\"text\" id=\"mainSearch\" placeholder=\"{%trans%}headerSearchPlaceHolder{%endtrans%}\" class=\"form-control\">
  898.                     <a href=\"#\" id=\"btn-main-search\"><i class=\"fa fa-search\"></i></a>
  899.                 </form>
  900.             </li>
  901.         </ul>
  902.     </nav>
  903. </div>
  904. <!-- Top Bar End -->
  905. ""menu.html.twig""/var/www/html/Markego/templates/menu.html.twig");
  906.     }
  907. }