<?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;
/* website/includes/menu.html.twig */
class __TwigTemplate_6b3bc10666bcbee136005f573c4d994d51ff0091038f96170d0d727cc1ae1255 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/includes/menu.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "website/includes/menu.html.twig"));
// line 1
$macros["__internal_da70e63a8198f10f3cc611c3e0550ee4c040241632d8f947c99d6722114ca708"] = $this->macros["__internal_da70e63a8198f10f3cc611c3e0550ee4c040241632d8f947c99d6722114ca708"] = $this->loadTemplate("utils.html.twig", "website/includes/menu.html.twig", 1)->unwrap();
// line 2
$macros["__internal_cc8b3b1c51fff1f09095030fe3c198d1539eff92fd06c7492d52e04447f7be7e"] = $this->macros["__internal_cc8b3b1c51fff1f09095030fe3c198d1539eff92fd06c7492d52e04447f7be7e"] = $this->loadTemplate("website/controls/notification-icon.html.twig", "website/includes/menu.html.twig", 2)->unwrap();
// line 3
echo "
<div class=\"topo\" ";
// line 4
if (array_key_exists("productPage", $context)) {
echo " data-page-height-top=\"";
echo ((twig_get_attribute($this->env, $this->source, (isset($context["productPage"]) || array_key_exists("productPage", $context) ? $context["productPage"] : (function () { throw new RuntimeError('Variable "productPage" does not exist.', 4, $this->source); })()), "showShortageControlTime", [], "any", false, false, false, 4)) ? ("1") : ("0"));
echo "\" ";
}
echo ">
<button class=\"btn-menu-mobile js--open-menu-mobile\" data-menu-mobile-open=\"site\">
<i class=\"fas fa-bars\"></i>
</button>
";
// line 10
echo " <div class=\"logo\">
<a href=\"";
// line 11
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
echo "\">";
echo twig_call_macro($macros["__internal_da70e63a8198f10f3cc611c3e0550ee4c040241632d8f947c99d6722114ca708"], "macro_imgUpload", [$this->extensions['EADPlataforma\Twig\FunctionsExtension']->getConfig("logo"), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::PATH_OTHERS"), "", twig_get_attribute($this->env, $this->source, (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 11, $this->source); })()), "brand", [], "any", false, false, false, 11)], 11, $context, $this->getSourceContext());
echo "</a>
</div>
";
// line 15
echo " <nav class=\"menu-links\">
";
// line 16
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["menu"]) || array_key_exists("menu", $context) ? $context["menu"] : (function () { throw new RuntimeError('Variable "menu" does not exist.', 16, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["menuItem"]) {
// line 17
echo " ";
if (twig_get_attribute($this->env, $this->source, $context["menuItem"], "show", [], "any", false, false, false, 17)) {
// line 18
echo " ";
// line 19
echo " ";
if (((twig_get_attribute($this->env, $this->source, $context["menuItem"], "dropdown", [], "any", true, true, false, 19)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, $context["menuItem"], "dropdown", [], "any", false, false, false, 19), false)) : (false))) {
// line 20
echo " <div class=\"dropdown custom-client-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["menuItem"], "class", [], "any", false, false, false, 20), "html", null, true);
echo "\">
<a><i class=\"fas fa-chevron-down seta\"></i> ";
// line 21
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["menuItem"], "text", [], "any", false, false, false, 21), "html", null, true);
echo "</a>
<ul class=\"dropdown-list\">
";
// line 23
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pages"]) || array_key_exists("pages", $context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.', 23, $this->source); })()));
foreach ($context['_seq'] as $context["i"] => $context["page"]) {
// line 24
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["page"], "showType", [], "any", false, false, false, 24), 1))) {
// line 25
echo " ";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["page"], "useExternalLink", [], "any", false, false, false, 25), 1))) {
// line 26
echo " <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["page"], "externalLink", [], "any", false, false, false, 26), "html", null, true);
echo "\" target=\"_blank\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["page"], "title", [], "any", false, false, false, 26), "html", null, true);
echo "\">
<span>";
// line 27
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["page"], "title", [], "any", false, false, false, 27), "html", null, true);
echo "</span></a>
</li>
";
} else {
// line 30
echo " <li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pageDetail", ["slug" => twig_get_attribute($this->env, $this->source, $context["page"], "slug", [], "any", false, false, false, 30)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["page"], "title", [], "any", false, false, false, 30), "html", null, true);
echo "\">
<span>";
// line 31
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["page"], "title", [], "any", false, false, false, 31), "html", null, true);
echo "</span></a>
</li>
";
}
// line 34
echo " ";
}
// line 35
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['i'], $context['page'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 36
echo " </ul>
</div>
";
// line 39
echo " ";
} else {
// line 40
echo " <a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["menuItem"], "link", [], "any", false, false, false, 40), "html", null, true);
echo "\" class=\"custom-client-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["menuItem"], "class", [], "any", false, false, false, 40), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["menuItem"], "text", [], "any", false, false, false, 40), "html", null, true);
echo "</a>
";
}
// line 42
echo " ";
}
// line 43
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menuItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 44
echo "
";
// line 46
echo " ";
if (((isset($context["isDarkTheme"]) || array_key_exists("isDarkTheme", $context) ? $context["isDarkTheme"] : (function () { throw new RuntimeError('Variable "isDarkTheme" does not exist.', 46, $this->source); })()) && ( !(isset($context["isRestricted"]) || array_key_exists("isRestricted", $context) ? $context["isRestricted"] : (function () { throw new RuntimeError('Variable "isRestricted" does not exist.', 46, $this->source); })()) || (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 46, $this->source); })())))) {
// line 47
echo " <a class=\"js--search-open\">BUSCA <i class=\"ico-busca\">";
echo twig_call_macro($macros["__internal_da70e63a8198f10f3cc611c3e0550ee4c040241632d8f947c99d6722114ca708"], "macro_ico", ["search"], 47, $context, $this->getSourceContext());
echo "</i></a>
";
// line 51
echo " ";
}
// line 52
echo " </nav>
";
// line 55
echo " ";
if (twig_test_empty((isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 55, $this->source); })()))) {
// line 56
echo " <nav class=\"login\">
<a href=\"";
// line 57
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("login");
echo "\" class=\"logar\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("sign_in", "head"), "html", null, true);
echo "</a>
";
// line 58
if ( !(isset($context["isRestricted"]) || array_key_exists("isRestricted", $context) ? $context["isRestricted"] : (function () { throw new RuntimeError('Variable "isRestricted" does not exist.', 58, $this->source); })())) {
// line 59
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("register");
echo "\" class=\"btn-login\">";
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("create_a_user", "head"), "html", null, true);
echo "</a>
";
}
// line 61
echo " </nav>
";
}
// line 63
echo "
";
// line 64
if (((isset($context["hasProducts"]) || array_key_exists("hasProducts", $context) ? $context["hasProducts"] : (function () { throw new RuntimeError('Variable "hasProducts" does not exist.', 64, $this->source); })()) && !(isset($context["isRestricted"]) || array_key_exists("isRestricted", $context) ? $context["isRestricted"] : (function () { throw new RuntimeError('Variable "isRestricted" does not exist.', 64, $this->source); })()))) {
// line 65
echo " ";
// line 66
echo " <button class=\"btn-busca-mobile js--open-busca-mobile\">
<i class=\"fas fa-search\"></i>
</button>
";
// line 71
echo " <div class=\"contem-cart\">
<a href=\"";
// line 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart");
echo "\">
";
// line 73
echo twig_call_macro($macros["__internal_cc8b3b1c51fff1f09095030fe3c198d1539eff92fd06c7492d52e04447f7be7e"], "macro_notificon", ["cart", $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getUserCartNumber()], 73, $context, $this->getSourceContext());
echo "
</a>
</div>
";
}
// line 77
echo "
";
// line 79
echo " ";
if ((isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 79, $this->source); })())) {
// line 80
echo "
";
// line 82
echo " ";
$this->loadTemplate("website/includes/submenu-notifications.html.twig", "website/includes/menu.html.twig", 82)->display($context);
// line 83
echo "
";
// line 85
echo " <div class=\"contem-user\">
<div class=\"btn-menu js--context-menu\" data-context-menu=\".user-menu\">
<i class=\"fas fa-chevron-down seta\"></i>
<div class=\"avatar\">
";
// line 89
echo twig_call_macro($macros["__internal_da70e63a8198f10f3cc611c3e0550ee4c040241632d8f947c99d6722114ca708"], "macro_ico", ["user"], 89, $context, $this->getSourceContext());
echo "
";
// line 90
echo twig_call_macro($macros["__internal_da70e63a8198f10f3cc611c3e0550ee4c040241632d8f947c99d6722114ca708"], "macro_imgUpload", [twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 90, $this->source); })()), "photo", [], "any", false, false, false, 90), $this->extensions['EADPlataforma\Twig\FunctionsExtension']->enum("AbstractEnum::PATH_PROFILES"), "user-profile"], 90, $context, $this->getSourceContext());
echo "
</div>
</div>
<div class=\"user-menu context-menu\">
<nav>
";
// line 97
echo " ";
if ((isset($context["canAccessAdm"]) || array_key_exists("canAccessAdm", $context) ? $context["canAccessAdm"] : (function () { throw new RuntimeError('Variable "canAccessAdm" does not exist.', 97, $this->source); })())) {
// line 98
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("adminEad");
echo "\">
<i class=\"fas fa-cogs\"></i>
<span>";
// line 100
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("admin", "menu"), "html", null, true);
echo "</span>
</a>
";
}
// line 103
echo "
";
// line 105
echo " ";
if (((array_key_exists("session", $context) && (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 105, $this->source); })())) && twig_get_attribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 105, $this->source); })()), "userOrigin", [], "any", false, false, false, 105))) {
// line 106
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("userLogoff");
echo "\">
<i class=\"fas fa-cogs\"></i>
<span>";
// line 108
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("back_as_admin", "menu"), "html", null, true);
echo "</span>
</a>
";
}
// line 111
echo "
<a href=\"";
// line 112
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("enrollentList");
echo "\" class=\"custom-client-enrollments\">
<i class=\"fas fa-file-alt\"></i>
<span>";
// line 114
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("enrollments", "menu"), "html", null, true);
echo "</span>
</a>
<a href=\"";
// line 116
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("transactionList");
echo "\" class=\"custom-client-purchases\">
<i class=\"fas fa-shopping-bag\"></i>
<span>";
// line 118
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("purchases", "menu"), "html", null, true);
echo "</span>
</a>
";
// line 122
echo " ";
if ($this->extensions['EADPlataforma\Twig\FunctionsExtension']->isModuleActive("product_subscription_module")) {
// line 123
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("userSubscriptionList");
echo "\" class=\"custom-client-subscriptions\">
<i class=\"far fa-credit-card\"></i>
<span>";
// line 125
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("subscriptions", "menu"), "html", null, true);
echo "</span>
</a>
";
}
// line 128
echo "
<a href=\"";
// line 129
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("message");
echo "\" class=\"custom-client-messages\">
<i class=\"fas fa-envelope\"></i>
<span>";
// line 131
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("messages", "menu"), "html", null, true);
echo "</span>
</a>
<a href=\"";
// line 133
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("userProfile");
echo "\" class=\"custom-client-edit_profile\">
<i class=\"fas fa-cog\"></i>
<span>";
// line 135
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("edit_profile", "menu"), "html", null, true);
echo "</span>
</a>
<a href=\"";
// line 137
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("logoff");
echo "\" class=\"custom-client-sign_out\">
<i class=\"fas fa-sign-out-alt\"></i>
<span>";
// line 139
echo twig_escape_filter($this->env, $this->extensions['EADPlataforma\Twig\FunctionsExtension']->getLanguage("sign_out", "menu"), "html", null, true);
echo "</span>
</a>
</nav>
</div>
</div>
";
}
// line 145
echo "</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "website/includes/menu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 383 => 145, 374 => 139, 369 => 137, 364 => 135, 359 => 133, 354 => 131, 349 => 129, 346 => 128, 340 => 125, 334 => 123, 331 => 122, 325 => 118, 320 => 116, 315 => 114, 310 => 112, 307 => 111, 301 => 108, 295 => 106, 292 => 105, 289 => 103, 283 => 100, 277 => 98, 274 => 97, 265 => 90, 261 => 89, 255 => 85, 252 => 83, 249 => 82, 246 => 80, 243 => 79, 240 => 77, 233 => 73, 229 => 72, 226 => 71, 220 => 66, 218 => 65, 216 => 64, 213 => 63, 209 => 61, 201 => 59, 199 => 58, 193 => 57, 190 => 56, 187 => 55, 183 => 52, 180 => 51, 175 => 47, 172 => 46, 169 => 44, 163 => 43, 160 => 42, 150 => 40, 147 => 39, 143 => 36, 137 => 35, 134 => 34, 128 => 31, 121 => 30, 115 => 27, 108 => 26, 105 => 25, 102 => 24, 98 => 23, 93 => 21, 88 => 20, 85 => 19, 83 => 18, 80 => 17, 76 => 16, 73 => 15, 65 => 11, 62 => 10, 50 => 4, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% from 'utils.html.twig' import ico, imgUpload %}
{% from \"website/controls/notification-icon.html.twig\" import notificon %}
<div class=\"topo\" {% if productPage is defined %} data-page-height-top=\"{{ productPage.showShortageControlTime ? '1':'0' }}\" {% endif %}>
<button class=\"btn-menu-mobile js--open-menu-mobile\" data-menu-mobile-open=\"site\">
<i class=\"fas fa-bars\"></i>
</button>
{# LOGO #}
<div class=\"logo\">
<a href=\"{{ path('home') }}\">{{ imgUpload(getConfig('logo'), enum('AbstractEnum::PATH_OTHERS'), '', client.brand) }}</a>
</div>
{# MENU #}
<nav class=\"menu-links\">
{% for menuItem in menu %}
{% if menuItem.show %}
{# DROPDOWN #}
{% if menuItem.dropdown|default(false) %}
<div class=\"dropdown custom-client-{{ menuItem.class }}\">
<a><i class=\"fas fa-chevron-down seta\"></i> {{ menuItem.text }}</a>
<ul class=\"dropdown-list\">
{% for i, page in pages %}
{% if page.showType == 1 %}
{% if page.useExternalLink == 1 %}
<li><a href=\"{{ page.externalLink }}\" target=\"_blank\" title=\"{{ page.title }}\">
<span>{{ page.title }}</span></a>
</li>
{% else %}
<li><a href=\"{{ path('pageDetail', { slug:page.slug }) }}\" title=\"{{ page.title }}\">
<span>{{ page.title }}</span></a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>
{# URL #}
{% else %}
<a href=\"{{ menuItem.link }}\" class=\"custom-client-{{ menuItem.class }}\">{{ menuItem.text }}</a>
{% endif %}
{% endif %}
{% endfor %}
{# SEARCH #}
{% if isDarkTheme and (not isRestricted or user) %}
<a class=\"js--search-open\">BUSCA <i class=\"ico-busca\">{{ ico('search') }}</i></a>
{#
<a class=\"js--search-open\">BUSCA</a>
#}
{% endif %}
</nav>
{# LOGIN #}
{% if user is empty %}
<nav class=\"login\">
<a href=\"{{ path('login') }}\" class=\"logar\">{{ getLanguage('sign_in', 'head') }}</a>
{% if not isRestricted %}
<a href=\"{{ path('register') }}\" class=\"btn-login\">{{ getLanguage('create_a_user', 'head') }}</a>
{% endif %}
</nav>
{% endif %}
{% if hasProducts and not isRestricted %}
{# MOBILE BUSCA #}
<button class=\"btn-busca-mobile js--open-busca-mobile\">
<i class=\"fas fa-search\"></i>
</button>
{# CART #}
<div class=\"contem-cart\">
<a href=\"{{ path('cart') }}\">
{{ notificon('cart', getUserCartNumber()) }}
</a>
</div>
{% endif %}
{# USER #}
{% if user %}
{# NOTIFICATIONS #}
{% include 'website/includes/submenu-notifications.html.twig' %}
{# USER ACTIONS #}
<div class=\"contem-user\">
<div class=\"btn-menu js--context-menu\" data-context-menu=\".user-menu\">
<i class=\"fas fa-chevron-down seta\"></i>
<div class=\"avatar\">
{{ ico('user') }}
{{ imgUpload(user.photo, enum('AbstractEnum::PATH_PROFILES'), 'user-profile') }}
</div>
</div>
<div class=\"user-menu context-menu\">
<nav>
{# ACESSO COMO ADMIN #}
{% if canAccessAdm %}
<a href=\"{{ path('adminEad') }}\">
<i class=\"fas fa-cogs\"></i>
<span>{{ getLanguage('admin', 'menu') }}</span>
</a>
{% endif %}
{# ADMIN LOGOUT #}
{% if session is defined and session and session.userOrigin %}
<a href=\"{{ path('userLogoff') }}\">
<i class=\"fas fa-cogs\"></i>
<span>{{ getLanguage('back_as_admin', 'menu') }}</span>
</a>
{% endif %}
<a href=\"{{ path('enrollentList') }}\" class=\"custom-client-enrollments\">
<i class=\"fas fa-file-alt\"></i>
<span>{{ getLanguage('enrollments', 'menu') }}</span>
</a>
<a href=\"{{ path('transactionList') }}\" class=\"custom-client-purchases\">
<i class=\"fas fa-shopping-bag\"></i>
<span>{{ getLanguage('purchases', 'menu') }}</span>
</a>
{# SUBSCRIPTIONS #}
{% if isModuleActive(\"product_subscription_module\") %}
<a href=\"{{ path('userSubscriptionList') }}\" class=\"custom-client-subscriptions\">
<i class=\"far fa-credit-card\"></i>
<span>{{ getLanguage('subscriptions', 'menu') }}</span>
</a>
{% endif %}
<a href=\"{{ path('message') }}\" class=\"custom-client-messages\">
<i class=\"fas fa-envelope\"></i>
<span>{{ getLanguage('messages', 'menu') }}</span>
</a>
<a href=\"{{ path('userProfile') }}\" class=\"custom-client-edit_profile\">
<i class=\"fas fa-cog\"></i>
<span>{{ getLanguage('edit_profile', 'menu') }}</span>
</a>
<a href=\"{{ path('logoff') }}\" class=\"custom-client-sign_out\">
<i class=\"fas fa-sign-out-alt\"></i>
<span>{{ getLanguage('sign_out', 'menu') }}</span>
</a>
</nav>
</div>
</div>
{% endif %}
</div>
", "website/includes/menu.html.twig", "/var/www/html/templates/website/includes/menu.html.twig");
}
}