<?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;
/* @UVDeskCoreFramework/Templates/layout.html.twig */
class __TwigTemplate_7f500db1c1b619f805bc80698a9564d4 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'templateCSS' => [$this, 'block_templateCSS'],
'sidebar' => [$this, 'block_sidebar'],
'pageWrapper' => [$this, 'block_pageWrapper'],
'pageHeader' => [$this, 'block_pageHeader'],
'pageContent' => [$this, 'block_pageContent'],
'footer' => [$this, 'block_footer'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "@UVDeskCoreFramework/Templates/layout.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@UVDeskCoreFramework/Templates/layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html>
<head>
<title>";
// line 4
$this->displayBlock('title', $context, $blocks);
echo "</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"";
// line 6
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
echo "\" />
<!-- Stylesheets -->
<link href=\"";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_uikit.css"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link href=\"";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_custom.css"), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
<!-- Custom CSS -->
";
// line 15
$context["websiteConfiguration"] = twig_get_attribute($this->env, $this->source, (isset($context["user_service"]) || array_key_exists("user_service", $context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.', 15, $this->source); })()), "getWebsiteConfiguration", ["knowledgebase"], "method", false, false, false, 15);
// line 16
echo " ";
$context["website"] = twig_get_attribute($this->env, $this->source, (isset($context["user_service"]) || array_key_exists("user_service", $context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.', 16, $this->source); })()), "getWebsiteDetails", ["helpdesk"], "method", false, false, false, 16);
// line 17
echo "
";
// line 18
echo twig_include($this->env, $context, "@UVDeskCoreFramework/Templates/lightskin.html.twig");
echo "
<!-- Custom Stylesheets -->
";
// line 21
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles", $context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.', 21, $this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method", false, false, false, 21), "getDashboardTemplate", [], "method", false, false, false, 21), "getStylesheetResources", [], "method", false, false, false, 21));
foreach ($context['_seq'] as $context["_key"] => $context["stylesheet"]) {
// line 22
echo " <link href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["stylesheet"]), "html", null, true);
echo "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stylesheet'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo "
";
// line 25
$this->displayBlock('templateCSS', $context, $blocks);
// line 26
echo "
<!-- Scripts -->
<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
<script src=\"";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_dropdown.js"), "html", null, true);
echo "\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
<script src=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/viewer.js"), "html", null, true);
echo "\"></script>
<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
</head>
";
// line 41
$context["bodyClass"] = "";
// line 42
echo " ";
$context["bodySkinClass"] = "";
// line 43
echo "
";
// line 44
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "request", [], "any", false, false, false, 44), "locale", [], "any", false, false, false, 44) == "ar")) {
// line 45
echo " ";
$context["bodyClass"] = "uv-rtl";
// line 46
echo " ";
}
// line 47
echo "
<body class=\"";
// line 48
echo twig_escape_filter($this->env, (((isset($context["bodySkinClass"]) || array_key_exists("bodySkinClass", $context) ? $context["bodySkinClass"] : (function () { throw new RuntimeError('Variable "bodySkinClass" does not exist.', 48, $this->source); })()) . " ") . (isset($context["bodyClass"]) || array_key_exists("bodyClass", $context) ? $context["bodyClass"] : (function () { throw new RuntimeError('Variable "bodyClass" does not exist.', 48, $this->source); })())), "html", null, true);
echo "\">
<div class=\"uv-notifications-wrapper\">
<noscript>
<div class=\"uv-notification page-load uv-error\">
<p>";
// line 52
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Your browser does not support JavaScript or You disabled JavaScript, Please enable those !", [], "messages");
echo "</p>
</div>
<style>.uv-loader-view {display: none;}</style>
</noscript>
";
// line 57
if ((twig_get_attribute($this->env, $this->source, (isset($context["uvdesk_service"]) || array_key_exists("uvdesk_service", $context) ? $context["uvdesk_service"] : (function () { throw new RuntimeError('Variable "uvdesk_service" does not exist.', 57, $this->source); })()), "requestHeadersSent", [], "method", false, false, false, 57) == false)) {
// line 58
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "session", [], "any", false, false, false, 58), "flashbag", [], "any", false, false, false, 58), "get", ["success"], "method", false, false, false, 58));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 59
echo " <div class=\"uv-notification page-load uv-success\">
<span class=\"uv-notification-close\"></span>
<p>";
// line 61
echo $context["flashMessage"];
echo "</p>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
echo "
";
// line 65
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 65, $this->source); })()), "session", [], "any", false, false, false, 65), "flashbag", [], "any", false, false, false, 65), "get", ["warning"], "method", false, false, false, 65));
foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
// line 66
echo " <div class=\"uv-notification page-load uv-error\">
<span class=\"uv-notification-close\"></span>
<p>";
// line 68
echo $context["flashMessage"];
echo "</p>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 71
echo " ";
}
// line 72
echo " </div>
<div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>";
// line 77
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html", null, true);
echo "</h2>
<p>";
// line 78
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html", null, true);
echo "</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
// line 81
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html", null, true);
echo "</a>
<a href=\"#\" class=\"uv-btn cancel\">";
// line 82
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html", null, true);
echo "</a>
</div>
</div>
</div>
";
// line 87
$context["currentUser"] = twig_get_attribute($this->env, $this->source, (isset($context["user_service"]) || array_key_exists("user_service", $context) ? $context["user_service"] : (function () { throw new RuntimeError('Variable "user_service" does not exist.', 87, $this->source); })()), "getSessionUser", [], "method", false, false, false, 87);
// line 88
echo " ";
if (( !twig_test_empty((isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 88, $this->source); })())) && !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 88, $this->source); })()), "getAgentInstance", [], "method", false, false, false, 88)))) {
// line 89
echo " ";
$context["currentUserDetails"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 89, $this->source); })()), "getAgentInstance", [], "method", false, false, false, 89), "getPartialDetails", [], "method", false, false, false, 89);
// line 90
echo " ";
}
// line 91
echo "
";
// line 92
$this->displayBlock('sidebar', $context, $blocks);
// line 97
echo "
";
// line 98
$this->displayBlock('pageWrapper', $context, $blocks);
// line 111
echo "
";
// line 112
$this->displayBlock('footer', $context, $blocks);
// line 166
echo "
";
// line 168
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["uvdesk_extensibles"]) || array_key_exists("uvdesk_extensibles", $context) ? $context["uvdesk_extensibles"] : (function () { throw new RuntimeError('Variable "uvdesk_extensibles" does not exist.', 168, $this->source); })()), "getRegisteredComponent", ["Webkul\\UVDesk\\CoreFrameworkBundle\\Dashboard\\Dashboard"], "method", false, false, false, 168), "getDashboardTemplate", [], "method", false, false, false, 168), "getJavascriptResources", [], "method", false, false, false, 168));
foreach ($context['_seq'] as $context["_key"] => $context["javascript"]) {
// line 169
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["javascript"]), "html", null, true);
echo "\" type=\"text/javascript\"></script>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['javascript'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 171
echo " </body>
</html>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_title($context, array $blocks = [])
{
$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", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "HelpDesk";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 25
public function block_templateCSS($context, array $blocks = [])
{
$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", "templateCSS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "templateCSS"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 92
public function block_sidebar($context, array $blocks = [])
{
$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", "sidebar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
// line 93
echo " ";
if ((array_key_exists("currentUser", $context) && !twig_test_empty((isset($context["currentUser"]) || array_key_exists("currentUser", $context) ? $context["currentUser"] : (function () { throw new RuntimeError('Variable "currentUser" does not exist.', 93, $this->source); })())))) {
// line 94
echo " ";
$this->loadTemplate("@UVDeskCoreFramework/Templates/sidebar.html.twig", "@UVDeskCoreFramework/Templates/layout.html.twig", 94)->display($context);
// line 95
echo " ";
}
// line 96
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 98
public function block_pageWrapper($context, array $blocks = [])
{
$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", "pageWrapper"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageWrapper"));
// line 99
echo " <div class=\"uv-paper\">
";
// line 100
$this->displayBlock('pageHeader', $context, $blocks);
// line 103
echo "
<div class=\"uv-wrapper\">
<div class=\"uv-container\">
";
// line 106
$this->displayBlock('pageContent', $context, $blocks);
// line 107
echo " </div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 100
public function block_pageHeader($context, array $blocks = [])
{
$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", "pageHeader"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageHeader"));
// line 101
echo " ";
$this->loadTemplate("@UVDeskCoreFramework/Templates/header.html.twig", "@UVDeskCoreFramework/Templates/layout.html.twig", 101)->display($context);
// line 102
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 106
public function block_pageContent($context, array $blocks = [])
{
$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", "pageContent"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageContent"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 112
public function block_footer($context, array $blocks = [])
{
$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 113
echo " <script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_common.js"), "html", null, true);
echo "\"></script>
";
// line 114
$this->loadTemplate("@UVDeskCoreFramework/Templates/pagination.html.twig", "@UVDeskCoreFramework/Templates/layout.html.twig", 114)->display($context);
// line 115
echo "
";
// line 117
echo " <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>";
// line 120
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html", null, true);
echo "</h2>
<p>";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html", null, true);
echo "</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html", null, true);
echo "</a>
<a href=\"#\" class=\"uv-btn cancel\">";
// line 125
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html", null, true);
echo "</a>
</div>
</div>
</div>
";
// line 131
echo " <script type=\"text/template\" id=\"loader-tmp\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</script>
";
// line 140
echo " <script type=\"text/template\" id=\"full-view-loader\">
<div class=\"uv-loader-view\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</div>
</script>
";
// line 151
echo " <script type=\"text/template\" id=\"notification-template\">
<div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
<span class=\"uv-notification-close\"></span>
<p><%= alertMessage %> </p>
</div>
</script>
<script type=\"text/javascript\">
var warningResponse = {
'alertClass' : 'danger',
'alertMessage' : '";
// line 161
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Error : Something went wrong, please try again later"), "html", null, true);
echo "',
};
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@UVDeskCoreFramework/Templates/layout.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 516 => 161, 504 => 151, 492 => 140, 482 => 131, 474 => 125, 470 => 124, 464 => 121, 460 => 120, 455 => 117, 452 => 115, 450 => 114, 445 => 113, 435 => 112, 417 => 106, 407 => 102, 404 => 101, 394 => 100, 381 => 107, 379 => 106, 374 => 103, 372 => 100, 369 => 99, 359 => 98, 349 => 96, 346 => 95, 343 => 94, 340 => 93, 330 => 92, 312 => 25, 293 => 4, 282 => 171, 273 => 169, 268 => 168, 265 => 166, 263 => 112, 260 => 111, 258 => 98, 255 => 97, 253 => 92, 250 => 91, 247 => 90, 244 => 89, 241 => 88, 239 => 87, 231 => 82, 227 => 81, 221 => 78, 217 => 77, 210 => 72, 207 => 71, 198 => 68, 194 => 66, 190 => 65, 187 => 64, 178 => 61, 174 => 59, 169 => 58, 167 => 57, 159 => 52, 152 => 48, 149 => 47, 146 => 46, 143 => 45, 141 => 44, 138 => 43, 135 => 42, 133 => 41, 124 => 35, 119 => 33, 110 => 26, 108 => 25, 105 => 24, 96 => 22, 92 => 21, 86 => 18, 83 => 17, 80 => 16, 78 => 15, 70 => 10, 66 => 9, 60 => 6, 55 => 4, 50 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html>
<head>
<title>{% block title %}HelpDesk{% endblock %}</title>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"{{ asset('favicon.ico') }}\" />
<!-- Stylesheets -->
<link href=\"{{ asset('bundles/uvdeskcoreframework/css/_uikit.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link href=\"{{ asset('bundles/uvdeskcoreframework/css/_custom.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
<link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
<link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
<!-- Custom CSS -->
{% set websiteConfiguration = user_service.getWebsiteConfiguration('knowledgebase') %}
{% set website = user_service.getWebsiteDetails('helpdesk') %}
{{ include('@UVDeskCoreFramework/Templates/lightskin.html.twig') }}
<!-- Custom Stylesheets -->
{% for stylesheet in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getStylesheetResources() %}
<link href=\"{{ asset(stylesheet) }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
{% endfor %}
{% block templateCSS %}{% endblock %}
<!-- Scripts -->
<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
<script src=\"{{ asset('bundles/uvdeskcoreframework/js/_dropdown.js') }}\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
<script src=\"{{ asset('bundles/uvdeskcoreframework/js/viewer.js') }}\"></script>
<script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
</head>
{% set bodyClass = '' %}
{% set bodySkinClass = '' %}
{% if app.request.locale == \"ar\" %}
{% set bodyClass = 'uv-rtl' %}
{% endif %}
<body class=\"{{ bodySkinClass ~ ' ' ~ bodyClass }}\">
<div class=\"uv-notifications-wrapper\">
<noscript>
<div class=\"uv-notification page-load uv-error\">
<p>{% trans %}Your browser does not support JavaScript or You disabled JavaScript, Please enable those !{% endtrans %}</p>
</div>
<style>.uv-loader-view {display: none;}</style>
</noscript>
{% if uvdesk_service.requestHeadersSent() == false %}
{% for flashMessage in app.session.flashbag.get('success') %}
<div class=\"uv-notification page-load uv-success\">
<span class=\"uv-notification-close\"></span>
<p>{{ flashMessage|raw }}</p>
</div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('warning') %}
<div class=\"uv-notification page-load uv-error\">
<span class=\"uv-notification-close\"></span>
<p>{{ flashMessage|raw }}</p>
</div>
{% endfor %}
{% endif %}
</div>
<div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>{{ 'Confirm Action'|trans }}</h2>
<p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
<a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
</div>
</div>
</div>
{% set currentUser = user_service.getSessionUser() %}
{% if currentUser is not empty and currentUser.getAgentInstance() is not empty %}
{% set currentUserDetails = currentUser.getAgentInstance().getPartialDetails() %}
{% endif %}
{% block sidebar %}
{% if currentUser is defined and currentUser is not empty %}
{% include \"@UVDeskCoreFramework/Templates/sidebar.html.twig\" %}
{% endif %}
{% endblock %}
{% block pageWrapper %}
<div class=\"uv-paper\">
{% block pageHeader %}
{% include \"@UVDeskCoreFramework/Templates/header.html.twig\" %}
{% endblock %}
<div class=\"uv-wrapper\">
<div class=\"uv-container\">
{% block pageContent %}{% endblock %}
</div>
</div>
</div>
{% endblock %}
{% block footer %}
<script src=\"{{ asset('bundles/uvdeskcoreframework/js/_common.js') }}\"></script>
{% include \"@UVDeskCoreFramework/Templates/pagination.html.twig\" %}
{# Confirm Action Dialog #}
<div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
<div class=\"uv-pop-up-box uv-pop-up-slim\">
<span class=\"uv-pop-up-close\"></span>
<h2>{{ 'Confirm Action'|trans }}</h2>
<p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
<div class=\"uv-pop-up-actions\">
<a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
<a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
</div>
</div>
</div>
{# Loader Template #}
<script type=\"text/template\" id=\"loader-tmp\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</script>
{# Full View Loader Template #}
<script type=\"text/template\" id=\"full-view-loader\">
<div class=\"uv-loader-view\">
<div class=\"uv-loader\">
<span></span>
<span></span>
<span></span>
</div>
</div>
</script>
{# Notification Template #}
<script type=\"text/template\" id=\"notification-template\">
<div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
<span class=\"uv-notification-close\"></span>
<p><%= alertMessage %> </p>
</div>
</script>
<script type=\"text/javascript\">
var warningResponse = {
'alertClass' : 'danger',
'alertMessage' : '{{ \"Error : Something went wrong, please try again later\"|trans }}',
};
</script>
{% endblock %}
{# Custom Javascript #}
{% for javascript in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getJavascriptResources() %}
<script src=\"{{ asset(javascript) }}\" type=\"text/javascript\"></script>
{% endfor %}
</body>
</html>", "@UVDeskCoreFramework/Templates/layout.html.twig", "/home/akshay/workstation/projects/crypque-support/packages/core-framework/Resources/views/Templates/layout.html.twig");
}
}