var/cache/dev/twig/00/002b0cb63597f195e6613a7a819bde3a9bc840a195a326c9c0139f34b1a448bd.php line 376

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