<?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/account/notifications/side_panel.html.twig */
class __TwigTemplate_b9de00443dbbbb20f9b6fc6a37aa8143 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->parent = false;
$this->blocks = [
];
}
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/account/notifications/side_panel.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/account/notifications/side_panel.html.twig"));
// line 1
$context["max_visible_notifications_count"] = 10;
// line 2
yield "
";
// line 3
yield from $this->load("@admin/account/notifications/side_panel.html.twig", 3, 1460537288)->unwrap()->yield(CoreExtension::merge($context, ["title" => ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ibexa_notifications") == "ibexa_notifications")) ? ("Notifications") : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ibexa_notifications"))), "attr" => ["data-actions" => "create", "class" => "ibexa-notifications-modal ibexa-scroll-disabled", "id" => "view-notifications", "data-close-reload" => "false"]]));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@admin/account/notifications/side_panel.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 53 => 3, 50 => 2, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set max_visible_notifications_count = 10 %}
{% embed '@ibexadesign/ui/component/side_panel/side_panel.html.twig' with {
title: 'ibexa_notifications'|trans|desc('Notifications'),
attr: {
'data-actions': \"create\",
class: 'ibexa-notifications-modal ibexa-scroll-disabled',
id: 'view-notifications',
'data-close-reload': 'false',
},
}%}
{% block header %}
<div class=\"ibexa-side-panel__header\">
<span>{{ 'ibexa_notifications'|trans|desc('Notifications')}}
<span class=\"ibexa-notifications-modal__count\">({{max_visible_notifications_count}})</span>
</span>
<button class=\"btn ibexa-btn ibexa-btn--tertiary ibexa-btn--small ibexa-notifications-modal__mark-all-read-btn\">
{{ 'ibexa_notifications.btn.mark_all_as_read'|trans|desc('Mark all as read') }}
</button>
</div>
{% endblock %}
{% block content %}
<div class=\"ibexa-side-panel__content\">
<div class=\"ibexa-notifications-modal__spinner\">
<svg class=\"ibexa-icon ibexa-spin\">
<use xlink:href=\"{{ ibexa_icon_path('spinner') }}\"></use>
</svg>
</div>
<div class=\"ibexa-notifications-modal__results\">
{{ render(controller('Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\NotificationController::renderNotificationsPageAction', {
'page': 1,
})) }}
</div>
</div>
{% endblock %}
{% block footer %}
<div class=\"ibexa-notifications-modal__footer\">
<a class=\"btn ibexa-btn ibexa-btn--ghost ibexa-notifications-modal__view-all-btn\" href=\"{{ path('ibexa.notifications.render.all') }}\">
{{ 'side_panel.view_all'|trans|desc('View all notifications') }}
<span class=\"ibexa-notifications-modal__view-all-btn--count\"></span>
</a>
</div>
{% endblock %}
{% endembed %}
", "@admin/account/notifications/side_panel.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/account/notifications/side_panel.html.twig");
}
}
/* @admin/account/notifications/side_panel.html.twig */
class __TwigTemplate_b9de00443dbbbb20f9b6fc6a37aa8143___1460537288 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 = [
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
'footer' => [$this, 'block_footer'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
return "@ibexadesign/ui/component/side_panel/side_panel.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/account/notifications/side_panel.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/account/notifications/side_panel.html.twig"));
$this->parent = $this->load("@ibexadesign/ui/component/side_panel/side_panel.html.twig", 3);
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 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_header(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", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 13
yield " <div class=\"ibexa-side-panel__header\">
<span>";
// line 14
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ibexa_notifications") == "ibexa_notifications")) ? ("Notifications") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ibexa_notifications"), "html", null, true)));
yield "
<span class=\"ibexa-notifications-modal__count\">(";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["max_visible_notifications_count"]) || array_key_exists("max_visible_notifications_count", $context) ? $context["max_visible_notifications_count"] : (function () { throw new RuntimeError('Variable "max_visible_notifications_count" does not exist.', 15, $this->source); })()), "html", null, true);
yield ")</span>
</span>
<button class=\"btn ibexa-btn ibexa-btn--tertiary ibexa-btn--small ibexa-notifications-modal__mark-all-read-btn\">
";
// line 18
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ibexa_notifications.btn.mark_all_as_read") == "ibexa_notifications.btn.mark_all_as_read")) ? ("Mark all as read") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ibexa_notifications.btn.mark_all_as_read"), "html", null, true)));
yield "
</button>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 23
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 24
yield " <div class=\"ibexa-side-panel__content\">
<div class=\"ibexa-notifications-modal__spinner\">
<svg class=\"ibexa-icon ibexa-spin\">
<use xlink:href=\"";
// line 27
yield $this->extensions['Ibexa\Bundle\AdminUi\Templating\Twig\IconPathExtension']->getIconPath("spinner");
yield "\"></use>
</svg>
</div>
<div class=\"ibexa-notifications-modal__results\">
";
// line 31
yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("Ibexa\\Bundle\\AdminUi\\Controller\\NotificationController::renderNotificationsPageAction", ["page" => 1]));
// line 33
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 38
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_footer(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", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 39
yield " <div class=\"ibexa-notifications-modal__footer\">
<a class=\"btn ibexa-btn ibexa-btn--ghost ibexa-notifications-modal__view-all-btn\" href=\"";
// line 40
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("ibexa.notifications.render.all");
yield "\">
";
// line 41
yield ((($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("side_panel.view_all") == "side_panel.view_all")) ? ("View all notifications") : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("side_panel.view_all"), "html", null, true)));
yield "
<span class=\"ibexa-notifications-modal__view-all-btn--count\"></span>
</a>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@admin/account/notifications/side_panel.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 289 => 41, 285 => 40, 282 => 39, 269 => 38, 255 => 33, 253 => 31, 246 => 27, 241 => 24, 228 => 23, 213 => 18, 207 => 15, 203 => 14, 200 => 13, 187 => 12, 53 => 3, 50 => 2, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% set max_visible_notifications_count = 10 %}
{% embed '@ibexadesign/ui/component/side_panel/side_panel.html.twig' with {
title: 'ibexa_notifications'|trans|desc('Notifications'),
attr: {
'data-actions': \"create\",
class: 'ibexa-notifications-modal ibexa-scroll-disabled',
id: 'view-notifications',
'data-close-reload': 'false',
},
}%}
{% block header %}
<div class=\"ibexa-side-panel__header\">
<span>{{ 'ibexa_notifications'|trans|desc('Notifications')}}
<span class=\"ibexa-notifications-modal__count\">({{max_visible_notifications_count}})</span>
</span>
<button class=\"btn ibexa-btn ibexa-btn--tertiary ibexa-btn--small ibexa-notifications-modal__mark-all-read-btn\">
{{ 'ibexa_notifications.btn.mark_all_as_read'|trans|desc('Mark all as read') }}
</button>
</div>
{% endblock %}
{% block content %}
<div class=\"ibexa-side-panel__content\">
<div class=\"ibexa-notifications-modal__spinner\">
<svg class=\"ibexa-icon ibexa-spin\">
<use xlink:href=\"{{ ibexa_icon_path('spinner') }}\"></use>
</svg>
</div>
<div class=\"ibexa-notifications-modal__results\">
{{ render(controller('Ibexa\\\\Bundle\\\\AdminUi\\\\Controller\\\\NotificationController::renderNotificationsPageAction', {
'page': 1,
})) }}
</div>
</div>
{% endblock %}
{% block footer %}
<div class=\"ibexa-notifications-modal__footer\">
<a class=\"btn ibexa-btn ibexa-btn--ghost ibexa-notifications-modal__view-all-btn\" href=\"{{ path('ibexa.notifications.render.all') }}\">
{{ 'side_panel.view_all'|trans|desc('View all notifications') }}
<span class=\"ibexa-notifications-modal__view-all-btn--count\"></span>
</a>
</div>
{% endblock %}
{% endembed %}
", "@admin/account/notifications/side_panel.html.twig", "/var/www/vhosts/platformv4.alpha.se7enx.com/httpdocs/platformvlegacy4.alpha.se7enx.com/vendor/se7enxweb/admin-ui/src/bundle/Resources/views/themes/admin/account/notifications/side_panel.html.twig");
}
}