<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* @admin/ui/menu/user.html.twig */
class __TwigTemplate_2f3b2a6d69a3105f3106a0828a6ff9e4 extends Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'root' => [$this, 'block_root'],
'current_user' => [$this, 'block_current_user'],
'focus_mode_toggle' => [$this, 'block_focus_mode_toggle'],
'item' => [$this, 'block_item'],
'linkElement' => [$this, 'block_linkElement'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "@KnpMenu/menu.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/ui/menu/user.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@admin/ui/menu/user.html.twig"));
$this->parent = $this->load("@KnpMenu/menu.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_root(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "root"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "root"));
// line 4
yield " ";
$context["user"] = Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["ibexa_admin_ui_config"]) || array_key_exists("ibexa_admin_ui_config", $context) ? $context["ibexa_admin_ui_config"] : (function () { throw new RuntimeError('Variable "ibexa_admin_ui_config" does not exist.', 4, $this->source); })()), "user", [], "any", false, false, false, 4), "user", [], "any", false, false, false, 4);
// line 5
yield " ";
$context["user_image"] = ((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, ($context["user"] ?? null), "thumbnail", [], "any", true, true, false, 5)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 5, $this->source); })()), "thumbnail", [], "any", false, false, false, 5))) : (""));
// line 6
yield "
<div class=\"ibexa-header-user-menu\">
<div
class=\"ibexa-header-user-menu__notifications-toggler ibexa-side-panel-trigger\"
data-side-panel-selector=\"#view-notifications\"
>
<svg class=\"ibexa-icon ibexa-icon--small ibexa-icon--light\">
<use xlink:href=\"";
// line 13
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("bell");
yield "\"></use>
</svg>
<span class=\"ibexa-header-user-menu__notice-dot ibexa-header-user-menu__notice-dot--no-notice\"></span>
</div>
";
// line 17
yield $this->extensions['Ibexa\Bundle\TwigComponents\Templating\Twig\ComponentExtension']->renderComponentGroup("admin-ui-header-user-menu-middle");
yield "
<button class=\"ibexa-header-user-menu__toggler\">
<div class=\"ibexa-header-user-menu__thumbnail-wrapper\">
";
// line 20
yield from $this->load("@ibexadesign/ui/component/user_thumbnail/user_thumbnail.html.twig", 20)->unwrap()->yield(CoreExtension::merge($context, ["user" => // line 21
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 21, $this->source); })())]));
// line 23
yield " </div>
<svg class=\"ibexa-icon ibexa-icon--tiny\">
<use xlink:href=\"";
// line 25
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("caret-down");
yield "\"></use>
</svg>
</button>
<div class=\"ibexa-side-panel-container\">
";
// line 29
yield Twig\Extension\CoreExtension::include($this->env, $context, "@ibexadesign/account/notifications/side_panel.html.twig");
yield "
</div>
<div class=\"ibexa-header-user-menu__popup-menu ibexa-popup-menu ibexa-popup-menu--hidden\">
<div class=\"ibexa-header-user-menu__popup-menu-title\">
";
// line 33
yield from $this->unwrap()->yieldBlock('current_user', $context, $blocks);
// line 36
yield "
";
// line 37
yield from $this->unwrap()->yieldBlock('focus_mode_toggle', $context, $blocks);
// line 42
yield " </div>
";
// line 44
yield from $this->yieldParentBlock("root", $context, $blocks);
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 33
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_current_user(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "current_user"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "current_user"));
// line 34
yield " ";
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user_menu.popup_menu.title", []) == "user_menu.popup_menu.title")) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::replace("Logged as %userName%", ["%userName%" => Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 34, $this->source); })()), "name", [], "any", false, false, false, 34)]), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user_menu.popup_menu.title", ["%userName%" => Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 34, $this->source); })()), "name", [], "any", false, false, false, 34)]), "html", null, true)));
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 37
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_focus_mode_toggle(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "focus_mode_toggle"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "focus_mode_toggle"));
// line 38
yield " ";
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("Ibexa\\Bundle\\AdminUi\\Controller\\User\\FocusModeController::changeAction", ["returnPath" => Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, // line 39
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 39, $this->source); })()), "request", [], "any", false, false, false, 39), "attributes", [], "any", false, false, false, 39), "get", ["semanticPathinfo"], "method", false, false, false, 39)]));
// line 40
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 49
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_item(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "item"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "item"));
// line 50
yield " ";
if ((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 50, $this->source); })()), "name", [], "any", false, false, false, 50) != "root")) {
// line 51
yield " ";
$context["link_attributes"] = Twig\Extension\CoreExtension::merge(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 51, $this->source); })()), "linkAttributes", [], "any", false, false, false, 51), ["class" => Twig\Extension\CoreExtension::trim((((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, ($context["item"] ?? null), "linkAttributes", [], "any", false, true, false, 51), "class", [], "any", true, true, false, 51)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 51, $this->source); })()), "linkAttributes", [], "any", false, false, false, 51), "class", [], "any", false, false, false, 51), "")) : ("")) . " ibexa-popup-menu__item-content"))]);
// line 52
yield " ";
$context["attributes"] = Twig\Extension\CoreExtension::merge(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 52, $this->source); })()), "attributes", [], "any", false, false, false, 52), ["class" => Twig\Extension\CoreExtension::trim((((Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, ($context["item"] ?? null), "attributes", [], "any", false, true, false, 52), "class", [], "any", true, true, false, 52)) ? (Twig\Extension\CoreExtension::default(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 52, $this->source); })()), "attributes", [], "any", false, false, false, 52), "class", [], "any", false, false, false, 52), "")) : ("")) . " ibexa-popup-menu__item"))]);
// line 53
yield "
";
// line 54
Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 54, $this->source); })()), "setLinkAttributes", [(isset($context["link_attributes"]) || array_key_exists("link_attributes", $context) ? $context["link_attributes"] : (function () { throw new RuntimeError('Variable "link_attributes" does not exist.', 54, $this->source); })())], "method", false, false, false, 54);
// line 55
yield " ";
Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 55, $this->source); })()), "setAttributes", [(isset($context["attributes"]) || array_key_exists("attributes", $context) ? $context["attributes"] : (function () { throw new RuntimeError('Variable "attributes" does not exist.', 55, $this->source); })())], "method", false, false, false, 55);
// line 56
yield " ";
}
// line 57
yield "
";
// line 58
if ((($tmp = !(null === Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 58, $this->source); })()), "getExtra", ["template"], "method", false, false, false, 58))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 59
yield " ";
try {
$_v0 = $this->load(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 59, $this->source); })()), "getExtra", ["template"], "method", false, false, false, 59), 59);
} catch (LoaderError $e) {
// ignore missing template
$_v0 = null;
}
if ($_v0) {
yield from $_v0->unwrap()->yield(CoreExtension::toArray((isset($context["options"]) || array_key_exists("options", $context) ? $context["options"] : (function () { throw new RuntimeError('Variable "options" does not exist.', 59, $this->source); })())));
}
// line 60
yield " ";
}
// line 61
yield "
";
// line 62
yield from $this->yieldParentBlock("item", $context, $blocks);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 65
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_linkElement(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkElement"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "linkElement"));
// line 66
yield " ";
$macros["knp_menu"] = $this;
// line 67
yield "
<a href=\"";
// line 68
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 68, $this->source); })()), "uri", [], "any", false, false, false, 68), "html", null, true);
yield "\"";
yield $macros["knp_menu"]->getTemplateForMacro("macro_attributes", $context, 68, $this->getSourceContext())->macro_attributes(...[Netgen\Bundle\IbexaSiteApiBundle\Templating\Twig\Node\GetAttrExpressionDecorator::twigGetAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 68, $this->source); })()), "linkAttributes", [], "any", false, false, false, 68)]);
yield ">";
yield from $this->unwrap()->yieldBlock("label", $context, $blocks);
yield "</a>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@admin/ui/menu/user.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 298 => 68, 295 => 67, 292 => 66, 279 => 65, 266 => 62, 263 => 61, 260 => 60, 249 => 59, 247 => 58, 244 => 57, 241 => 56, 238 => 55, 236 => 54, 233 => 53, 230 => 52, 227 => 51, 224 => 50, 211 => 49, 199 => 40, 197 => 39, 195 => 38, 182 => 37, 168 => 34, 155 => 33, 140 => 44, 136 => 42, 134 => 37, 131 => 36, 129 => 33, 122 => 29, 115 => 25, 111 => 23, 109 => 21, 108 => 20, 102 => 17, 95 => 13, 86 => 6, 83 => 5, 80 => 4, 67 => 3, 44 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends '@KnpMenu/menu.html.twig' %}
{% block root %}
{% set user = ibexa_admin_ui_config.user.user %}
{% set user_image = user.thumbnail|default() %}
<div class=\"ibexa-header-user-menu\">
<div
class=\"ibexa-header-user-menu__notifications-toggler ibexa-side-panel-trigger\"
data-side-panel-selector=\"#view-notifications\"
>
<svg class=\"ibexa-icon ibexa-icon--small ibexa-icon--light\">
<use xlink:href=\"{{ ibexa_icon_path('bell') }}\"></use>
</svg>
<span class=\"ibexa-header-user-menu__notice-dot ibexa-header-user-menu__notice-dot--no-notice\"></span>
</div>
{{ ibexa_twig_component_group('admin-ui-header-user-menu-middle') }}
<button class=\"ibexa-header-user-menu__toggler\">
<div class=\"ibexa-header-user-menu__thumbnail-wrapper\">
{% include '@ibexadesign/ui/component/user_thumbnail/user_thumbnail.html.twig' with {
user: user,
} %}
</div>
<svg class=\"ibexa-icon ibexa-icon--tiny\">
<use xlink:href=\"{{ ibexa_icon_path('caret-down') }}\"></use>
</svg>
</button>
<div class=\"ibexa-side-panel-container\">
{{ include('@ibexadesign/account/notifications/side_panel.html.twig') }}
</div>
<div class=\"ibexa-header-user-menu__popup-menu ibexa-popup-menu ibexa-popup-menu--hidden\">
<div class=\"ibexa-header-user-menu__popup-menu-title\">
{% block current_user %}
{{ 'user_menu.popup_menu.title'|trans({'%userName%': user.name})|desc('Logged as %userName%') }}
{% endblock %}
{% block focus_mode_toggle %}
{{ render(controller('Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\User\\\\FocusModeController::changeAction', {
returnPath: app.request.attributes.get('semanticPathinfo')
})) }}
{% endblock %}
</div>
{{ parent() }}
</div>
</div>
{% endblock %}
{% block item %}
{% if item.name != 'root' %}
{% set link_attributes = item.linkAttributes|merge({'class': (item.linkAttributes.class|default('') ~ ' ibexa-popup-menu__item-content')|trim}) %}
{% set attributes = item.attributes|merge({'class': (item.attributes.class|default('') ~ ' ibexa-popup-menu__item')|trim}) %}
{% do item.setLinkAttributes(link_attributes) %}
{% do item.setAttributes(attributes) %}
{% endif %}
{% if item.getExtra('template') is not null %}
{% include item.getExtra('template') ignore missing with options only %}
{% endif %}
{{ parent() }}
{% endblock %}
{% block linkElement %}
{% import _self as knp_menu %}
<a href=\"{{ item.uri }}\"{{ knp_menu.attributes(item.linkAttributes) }}>{{ block('label') }}</a>
{% endblock %}
", "@admin/ui/menu/user.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/ui/menu/user.html.twig");
}
}