var/cache/dev/twig/a3/a38f3e8662bba37f12a59b15d6ac4b03.php line 239

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @UVDeskCoreFramework/Templates/layout.html.twig */
  14. class __TwigTemplate_ed51fc9af5646bbeeb45fc996d1e4271 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'templateCSS' => [$this'block_templateCSS'],
  26.             'sidebar' => [$this'block_sidebar'],
  27.             'pageWrapper' => [$this'block_pageWrapper'],
  28.             'pageHeader' => [$this'block_pageHeader'],
  29.             'pageContent' => [$this'block_pageContent'],
  30.             'footer' => [$this'block_footer'],
  31.         ];
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework/Templates/layout.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@UVDeskCoreFramework/Templates/layout.html.twig"));
  40.         // line 1
  41.         echo "<!DOCTYPE html>
  42. <html>
  43.     <head>
  44.         <title>";
  45.         // line 4
  46.         $this->displayBlock('title'$context$blocks);
  47.         echo "</title>
  48.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  49.         <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"";
  50.         // line 6
  51.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html"nulltrue);
  52.         echo "\" />
  53.         <!-- Stylesheets -->
  54.         <link href=\"";
  55.         // line 9
  56.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_uikit.css"), "html"nulltrue);
  57.         echo "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  58.         <link href=\"";
  59.         // line 10
  60.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/css/_custom.css"), "html"nulltrue);
  61.         echo "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  62.         <link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
  63.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
  64.         <!-- Custom CSS -->
  65.         ";
  66.         // line 15
  67.         $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"falsefalsefalse15);
  68.         // line 16
  69.         echo "        ";
  70.         $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"falsefalsefalse16);
  71.         // line 17
  72.         echo "
  73.         ";
  74.         // line 18
  75.         echo twig_include($this->env$context"@UVDeskCoreFramework/Templates/lightskin.html.twig");
  76.         echo "
  77.         <!-- Custom Stylesheets -->
  78.         ";
  79.         // line 21
  80.         $context['_parent'] = $context;
  81.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse21), "getDashboardTemplate", [], "method"falsefalsefalse21), "getStylesheetResources", [], "method"falsefalsefalse21));
  82.         foreach ($context['_seq'] as $context["_key"] => $context["stylesheet"]) {
  83.             // line 22
  84.             echo "            <link href=\"";
  85.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["stylesheet"]), "html"nulltrue);
  86.             echo "\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  87.         ";
  88.         }
  89.         $_parent $context['_parent'];
  90.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stylesheet'], $context['_parent'], $context['loop']);
  91.         $context array_intersect_key($context$_parent) + $_parent;
  92.         // line 24
  93.         echo "        
  94.         ";
  95.         // line 25
  96.         $this->displayBlock('templateCSS'$context$blocks);
  97.         // line 26
  98.         echo "
  99.         <!-- Scripts -->
  100.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  101.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  102.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  103.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  104.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  105.         <script src=\"";
  106.         // line 33
  107.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_dropdown.js"), "html"nulltrue);
  108.         echo "\"></script>
  109.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
  110.         <script src=\"";
  111.         // line 35
  112.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/viewer.js"), "html"nulltrue);
  113.         echo "\"></script>
  114.         <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  115.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  116.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  117.     </head>
  118.     ";
  119.         // line 41
  120.         $context["bodyClass"] = "";
  121.         // line 42
  122.         echo "    ";
  123.         $context["bodySkinClass"] = "";
  124.         // line 43
  125.         echo "
  126.     ";
  127.         // line 44
  128.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'44$this->source); })()), "request", [], "any"falsefalsefalse44), "locale", [], "any"falsefalsefalse44) == "ar")) {
  129.             // line 45
  130.             echo "        ";
  131.             $context["bodyClass"] = "uv-rtl";
  132.             // line 46
  133.             echo "    ";
  134.         }
  135.         // line 47
  136.         echo "    
  137.     <body class=\"";
  138.         // line 48
  139.         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"nulltrue);
  140.         echo "\">
  141.         <div class=\"uv-notifications-wrapper\">
  142.             <noscript>
  143.                 <div class=\"uv-notification page-load uv-error\">
  144.                     <p>";
  145.         // line 52
  146.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Your browser does not support JavaScript or You disabled JavaScript, Please enable those !", [], "messages");
  147.         echo "</p>
  148.                 </div>
  149.                 <style>.uv-loader-view {display: none;}</style>
  150.             </noscript>
  151.             ";
  152.         // line 57
  153.         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"falsefalsefalse57) == false)) {
  154.             // line 58
  155.             echo "                ";
  156.             $context['_parent'] = $context;
  157.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'58$this->source); })()), "session", [], "any"falsefalsefalse58), "flashbag", [], "any"falsefalsefalse58), "get", [=> "success"], "method"falsefalsefalse58));
  158.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  159.                 // line 59
  160.                 echo "                    <div class=\"uv-notification page-load uv-success\">
  161.                         <span class=\"uv-notification-close\"></span>
  162.                         <p>";
  163.                 // line 61
  164.                 echo $context["flashMessage"];
  165.                 echo "</p>
  166.                     </div>
  167.                 ";
  168.             }
  169.             $_parent $context['_parent'];
  170.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
  171.             $context array_intersect_key($context$_parent) + $_parent;
  172.             // line 64
  173.             echo "                
  174.                 ";
  175.             // line 65
  176.             $context['_parent'] = $context;
  177.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'65$this->source); })()), "session", [], "any"falsefalsefalse65), "flashbag", [], "any"falsefalsefalse65), "get", [=> "warning"], "method"falsefalsefalse65));
  178.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  179.                 // line 66
  180.                 echo "                    <div class=\"uv-notification page-load uv-error\">
  181.                         <span class=\"uv-notification-close\"></span>
  182.                         <p>";
  183.                 // line 68
  184.                 echo $context["flashMessage"];
  185.                 echo "</p>
  186.                     </div>
  187.                 ";
  188.             }
  189.             $_parent $context['_parent'];
  190.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashMessage'], $context['_parent'], $context['loop']);
  191.             $context array_intersect_key($context$_parent) + $_parent;
  192.             // line 71
  193.             echo "            ";
  194.         }
  195.         // line 72
  196.         echo "        </div>
  197.         <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  198.             <div class=\"uv-pop-up-box uv-pop-up-slim\">
  199.                 <span class=\"uv-pop-up-close\"></span>
  200.                 <h2>";
  201.         // line 77
  202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html"nulltrue);
  203.         echo "</h2>
  204.                 <p>";
  205.         // line 78
  206.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html"nulltrue);
  207.         echo "</p>
  208.                 <div class=\"uv-pop-up-actions\">
  209.                     <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
  210.         // line 81
  211.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html"nulltrue);
  212.         echo "</a>
  213.                     <a href=\"#\" class=\"uv-btn cancel\">";
  214.         // line 82
  215.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html"nulltrue);
  216.         echo "</a>
  217.                 </div>
  218.             </div>
  219.         </div>
  220.         ";
  221.         // line 87
  222.         $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"falsefalsefalse87);
  223.         // line 88
  224.         echo "        ";
  225.         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"falsefalsefalse88)))) {
  226.             // line 89
  227.             echo "            ";
  228.             $context["currentUserDetails"] = twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse89), "getPartialDetails", [], "method"falsefalsefalse89);
  229.             // line 90
  230.             echo "        ";
  231.         }
  232.         // line 91
  233.         echo "
  234.         ";
  235.         // line 92
  236.         $this->displayBlock('sidebar'$context$blocks);
  237.         // line 97
  238.         echo "
  239.         ";
  240.         // line 98
  241.         $this->displayBlock('pageWrapper'$context$blocks);
  242.         // line 111
  243.         echo "        
  244.         ";
  245.         // line 112
  246.         $this->displayBlock('footer'$context$blocks);
  247.         // line 166
  248.         echo "
  249.         ";
  250.         // line 168
  251.         echo "        ";
  252.         $context['_parent'] = $context;
  253.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse168), "getDashboardTemplate", [], "method"falsefalsefalse168), "getJavascriptResources", [], "method"falsefalsefalse168));
  254.         foreach ($context['_seq'] as $context["_key"] => $context["javascript"]) {
  255.             // line 169
  256.             echo "            <script src=\"";
  257.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["javascript"]), "html"nulltrue);
  258.             echo "\" type=\"text/javascript\"></script>
  259.         ";
  260.         }
  261.         $_parent $context['_parent'];
  262.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['javascript'], $context['_parent'], $context['loop']);
  263.         $context array_intersect_key($context$_parent) + $_parent;
  264.         // line 171
  265.         echo "    </body>
  266. </html>";
  267.         
  268.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  269.         
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  271.     }
  272.     // line 4
  273.     public function block_title($context, array $blocks = [])
  274.     {
  275.         $macros $this->macros;
  276.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  277.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  278.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  279.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  280.         echo "HelpDesk";
  281.         
  282.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  283.         
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  285.     }
  286.     // line 25
  287.     public function block_templateCSS($context, array $blocks = [])
  288.     {
  289.         $macros $this->macros;
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  291.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  292.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  293.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""templateCSS"));
  294.         
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  296.         
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  298.     }
  299.     // line 92
  300.     public function block_sidebar($context, array $blocks = [])
  301.     {
  302.         $macros $this->macros;
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  304.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  305.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  306.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""sidebar"));
  307.         // line 93
  308.         echo "            ";
  309.         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); })())))) {
  310.             // line 94
  311.             echo "                ";
  312.             $this->loadTemplate("@UVDeskCoreFramework/Templates/sidebar.html.twig""@UVDeskCoreFramework/Templates/layout.html.twig"94)->display($context);
  313.             // line 95
  314.             echo "            ";
  315.         }
  316.         // line 96
  317.         echo "        ";
  318.         
  319.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  320.         
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  322.     }
  323.     // line 98
  324.     public function block_pageWrapper($context, array $blocks = [])
  325.     {
  326.         $macros $this->macros;
  327.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageWrapper"));
  329.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageWrapper"));
  331.         // line 99
  332.         echo "            <div class=\"uv-paper\">
  333.                 ";
  334.         // line 100
  335.         $this->displayBlock('pageHeader'$context$blocks);
  336.         // line 103
  337.         echo "
  338.                 <div class=\"uv-wrapper\">
  339.                     <div class=\"uv-container\">
  340.                         ";
  341.         // line 106
  342.         $this->displayBlock('pageContent'$context$blocks);
  343.         // line 107
  344.         echo "                    </div>
  345.                 </div>
  346.             </div>
  347.         ";
  348.         
  349.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  350.         
  351.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  352.     }
  353.     // line 100
  354.     public function block_pageHeader($context, array $blocks = [])
  355.     {
  356.         $macros $this->macros;
  357.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  358.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageHeader"));
  359.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  360.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageHeader"));
  361.         // line 101
  362.         echo "                    ";
  363.         $this->loadTemplate("@UVDeskCoreFramework/Templates/header.html.twig""@UVDeskCoreFramework/Templates/layout.html.twig"101)->display($context);
  364.         // line 102
  365.         echo "                ";
  366.         
  367.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  368.         
  369.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  370.     }
  371.     // line 106
  372.     public function block_pageContent($context, array $blocks = [])
  373.     {
  374.         $macros $this->macros;
  375.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  376.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  377.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  378.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageContent"));
  379.         
  380.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  381.         
  382.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  383.     }
  384.     // line 112
  385.     public function block_footer($context, array $blocks = [])
  386.     {
  387.         $macros $this->macros;
  388.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  389.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  390.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  391.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  392.         // line 113
  393.         echo "            <script src=\"";
  394.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/uvdeskcoreframework/js/_common.js"), "html"nulltrue);
  395.         echo "\"></script>
  396.             ";
  397.         // line 114
  398.         $this->loadTemplate("@UVDeskCoreFramework/Templates/pagination.html.twig""@UVDeskCoreFramework/Templates/layout.html.twig"114)->display($context);
  399.         // line 115
  400.         echo "
  401.             ";
  402.         // line 117
  403.         echo "            <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  404.                 <div class=\"uv-pop-up-box uv-pop-up-slim\">
  405.                     <span class=\"uv-pop-up-close\"></span>
  406.                     <h2>";
  407.         // line 120
  408.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm Action"), "html"nulltrue);
  409.         echo "</h2>
  410.                     <p>";
  411.         // line 121
  412.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Are you sure? You want to perform this action."), "html"nulltrue);
  413.         echo "</p>
  414.                     <div class=\"uv-pop-up-actions\">
  415.                         <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">";
  416.         // line 124
  417.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Confirm"), "html"nulltrue);
  418.         echo "</a>
  419.                         <a href=\"#\" class=\"uv-btn cancel\">";
  420.         // line 125
  421.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel"), "html"nulltrue);
  422.         echo "</a>
  423.                     </div>
  424.                 </div>
  425.             </div>
  426.             ";
  427.         // line 131
  428.         echo "            <script type=\"text/template\" id=\"loader-tmp\">
  429.                 <div class=\"uv-loader\">
  430.                     <span></span>
  431.                     <span></span>
  432.                     <span></span>
  433.                 </div>
  434.             </script>
  435.             ";
  436.         // line 140
  437.         echo "            <script type=\"text/template\" id=\"full-view-loader\">
  438.                 <div class=\"uv-loader-view\">
  439.                     <div class=\"uv-loader\">
  440.                         <span></span>
  441.                         <span></span>
  442.                         <span></span>
  443.                     </div>
  444.                 </div>
  445.             </script>
  446.             ";
  447.         // line 151
  448.         echo "            <script type=\"text/template\" id=\"notification-template\">
  449.                 <div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  450.                     <span class=\"uv-notification-close\"></span>
  451.                     <p><%= alertMessage %> </p>
  452.                 </div>
  453.             </script>
  454.             <script type=\"text/javascript\">
  455.                 var warningResponse = {
  456.                     'alertClass' : 'danger',
  457.                     'alertMessage' : '";
  458.         // line 161
  459.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Error : Something went wrong, please try again later"), "html"nulltrue);
  460.         echo "',
  461.                 };
  462.             </script>
  463.         ";
  464.         
  465.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  466.         
  467.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  468.     }
  469.     public function getTemplateName()
  470.     {
  471.         return "@UVDeskCoreFramework/Templates/layout.html.twig";
  472.     }
  473.     public function isTraitable()
  474.     {
  475.         return false;
  476.     }
  477.     public function getDebugInfo()
  478.     {
  479.         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,);
  480.     }
  481.     public function getSourceContext()
  482.     {
  483.         return new Source("<!DOCTYPE html>
  484. <html>
  485.     <head>
  486.         <title>{% block title %}HelpDesk{% endblock %}</title>
  487.         <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  488.         <link rel=\"icon\" type=\"image/x-icon\" sizes=\"16x16 32x32 48x48\" href=\"{{ asset('favicon.ico') }}\" />
  489.         <!-- Stylesheets -->
  490.         <link href=\"{{ asset('bundles/uvdeskcoreframework/css/_uikit.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  491.         <link href=\"{{ asset('bundles/uvdeskcoreframework/css/_custom.css') }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  492.         <link href=\"//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\" type=\"text/css\" rel=\"stylesheet\">
  493.         <link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css\" type=\"text/css\" rel=\"stylesheet\">
  494.         <!-- Custom CSS -->
  495.         {% set websiteConfiguration = user_service.getWebsiteConfiguration('knowledgebase') %}
  496.         {% set website = user_service.getWebsiteDetails('helpdesk') %}
  497.         {{ include('@UVDeskCoreFramework/Templates/lightskin.html.twig') }}
  498.         <!-- Custom Stylesheets -->
  499.         {% for stylesheet in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getStylesheetResources() %}
  500.             <link href=\"{{ asset(stylesheet) }}\" type=\"text/css\" rel=\"stylesheet\" media=\"all\" />
  501.         {% endfor %}
  502.         
  503.         {% block templateCSS %}{% endblock %}
  504.         <!-- Scripts -->
  505.         <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js\"></script>
  506.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.13.1/underscore-min.js\"></script>
  507.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.4.0/backbone-min.js\"></script>
  508.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.validation/0.11.5/backbone-validation-min.js\"></script>
  509.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/backbone.paginator/2.0.8/backbone.paginator.min.js\"></script>
  510.         <script src=\"{{ asset('bundles/uvdeskcoreframework/js/_dropdown.js') }}\"></script>
  511.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/d3/6.2.0/d3.min.js\"></script>
  512.         <script src=\"{{ asset('bundles/uvdeskcoreframework/js/viewer.js') }}\"></script>
  513.         <script src=\"https://code.jquery.com/ui/1.12.1/jquery-ui.js\"></script>
  514.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.0/moment.min.js\"></script>\t
  515.         <script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js\"></script>
  516.     </head>
  517.     {% set bodyClass = '' %}
  518.     {% set bodySkinClass = '' %}
  519.     {% if app.request.locale == \"ar\" %}
  520.         {% set bodyClass = 'uv-rtl' %}
  521.     {% endif %}
  522.     
  523.     <body class=\"{{ bodySkinClass ~ ' ' ~ bodyClass }}\">
  524.         <div class=\"uv-notifications-wrapper\">
  525.             <noscript>
  526.                 <div class=\"uv-notification page-load uv-error\">
  527.                     <p>{% trans %}Your browser does not support JavaScript or You disabled JavaScript, Please enable those !{% endtrans %}</p>
  528.                 </div>
  529.                 <style>.uv-loader-view {display: none;}</style>
  530.             </noscript>
  531.             {% if uvdesk_service.requestHeadersSent() == false %}
  532.                 {% for flashMessage in app.session.flashbag.get('success') %}
  533.                     <div class=\"uv-notification page-load uv-success\">
  534.                         <span class=\"uv-notification-close\"></span>
  535.                         <p>{{ flashMessage|raw }}</p>
  536.                     </div>
  537.                 {% endfor %}
  538.                 
  539.                 {% for flashMessage in app.session.flashbag.get('warning') %}
  540.                     <div class=\"uv-notification page-load uv-error\">
  541.                         <span class=\"uv-notification-close\"></span>
  542.                         <p>{{ flashMessage|raw }}</p>
  543.                     </div>
  544.                 {% endfor %}
  545.             {% endif %}
  546.         </div>
  547.         <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  548.             <div class=\"uv-pop-up-box uv-pop-up-slim\">
  549.                 <span class=\"uv-pop-up-close\"></span>
  550.                 <h2>{{ 'Confirm Action'|trans }}</h2>
  551.                 <p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
  552.                 <div class=\"uv-pop-up-actions\">
  553.                     <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
  554.                     <a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
  555.                 </div>
  556.             </div>
  557.         </div>
  558.         {% set currentUser = user_service.getSessionUser() %}
  559.         {% if currentUser is not empty and currentUser.getAgentInstance() is not empty %}
  560.             {% set currentUserDetails = currentUser.getAgentInstance().getPartialDetails() %}
  561.         {% endif %}
  562.         {% block sidebar %}
  563.             {% if currentUser is defined and currentUser is not empty %}
  564.                 {% include \"@UVDeskCoreFramework/Templates/sidebar.html.twig\" %}
  565.             {% endif %}
  566.         {% endblock %}
  567.         {% block pageWrapper %}
  568.             <div class=\"uv-paper\">
  569.                 {% block pageHeader %}
  570.                     {% include \"@UVDeskCoreFramework/Templates/header.html.twig\" %}
  571.                 {% endblock %}
  572.                 <div class=\"uv-wrapper\">
  573.                     <div class=\"uv-container\">
  574.                         {% block pageContent %}{% endblock %}
  575.                     </div>
  576.                 </div>
  577.             </div>
  578.         {% endblock %}
  579.         
  580.         {% block footer %}
  581.             <script src=\"{{ asset('bundles/uvdeskcoreframework/js/_common.js') }}\"></script>
  582.             {% include \"@UVDeskCoreFramework/Templates/pagination.html.twig\" %}
  583.             {# Confirm Action Dialog #}
  584.             <div class=\"uv-pop-up-overlay\" id=\"confirm-modal\">
  585.                 <div class=\"uv-pop-up-box uv-pop-up-slim\">
  586.                     <span class=\"uv-pop-up-close\"></span>
  587.                     <h2>{{ 'Confirm Action'|trans }}</h2>
  588.                     <p>{{ 'Are you sure? You want to perform this action.'|trans }}</p>
  589.                     <div class=\"uv-pop-up-actions\">
  590.                         <a href=\"#\" class=\"uv-btn uv-btn-error confirm\">{{ 'Confirm'|trans }}</a>
  591.                         <a href=\"#\" class=\"uv-btn cancel\">{{ 'Cancel'|trans }}</a>
  592.                     </div>
  593.                 </div>
  594.             </div>
  595.             {# Loader Template #}
  596.             <script type=\"text/template\" id=\"loader-tmp\">
  597.                 <div class=\"uv-loader\">
  598.                     <span></span>
  599.                     <span></span>
  600.                     <span></span>
  601.                 </div>
  602.             </script>
  603.             {# Full View Loader Template #}
  604.             <script type=\"text/template\" id=\"full-view-loader\">
  605.                 <div class=\"uv-loader-view\">
  606.                     <div class=\"uv-loader\">
  607.                         <span></span>
  608.                         <span></span>
  609.                         <span></span>
  610.                     </div>
  611.                 </div>
  612.             </script>
  613.             {# Notification Template #}
  614.             <script type=\"text/template\" id=\"notification-template\">
  615.                 <div class=\"uv-notification <% if(alertClass == 'danger') { %>uv-error<% } else { %> <%= 'uv-' + alertClass %> <% } %>\">
  616.                     <span class=\"uv-notification-close\"></span>
  617.                     <p><%= alertMessage %> </p>
  618.                 </div>
  619.             </script>
  620.             <script type=\"text/javascript\">
  621.                 var warningResponse = {
  622.                     'alertClass' : 'danger',
  623.                     'alertMessage' : '{{ \"Error : Something went wrong, please try again later\"|trans }}',
  624.                 };
  625.             </script>
  626.         {% endblock %}
  627.         {# Custom Javascript #}
  628.         {% for javascript in uvdesk_extensibles.getRegisteredComponent('Webkul\\\\UVDesk\\\\CoreFrameworkBundle\\\\Dashboard\\\\Dashboard').getDashboardTemplate().getJavascriptResources() %}
  629.             <script src=\"{{ asset(javascript) }}\" type=\"text/javascript\"></script>
  630.         {% endfor %}
  631.     </body>
  632. </html>""@UVDeskCoreFramework/Templates/layout.html.twig""/var/www/support.eidi.net/uvdesk/vendor/uvdesk/core-framework/Resources/views/Templates/layout.html.twig");
  633.     }
  634. }