var/cache/dev/twig/cf/cfd12ed995d912f47561bbf955cf302321e0eedb5b4361cb2fe35661a131c05a.php line 216

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