var/cache/test/twig/eb/eb660c99dd4a389d137296ddc8f24a8e.php line 40

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. /* @App/dashboard/settings/accounts/main.html.twig */
  14. class __TwigTemplate_14bee992f19e13d75851cc3395e17234 extends \Twig\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->blocks = [
  23.             'header' => [$this'block_header'],
  24.             'content' => [$this'block_content'],
  25.             'modals' => [$this'block_modals'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@App/dashboard/settings/base.html.twig";
  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""@App/dashboard/settings/accounts/main.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""@App/dashboard/settings/accounts/main.html.twig"));
  40.         // line 3
  41.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'3$this->source); })()), [=> "@ui2022/schoolnow/forms/themes/default.html.twig"], true);
  42.         // line 1
  43.         $this->parent $this->loadTemplate("@App/dashboard/settings/base.html.twig""@App/dashboard/settings/accounts/main.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 5
  51.     public function block_header($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  58.         // line 6
  59.         echo "    ";
  60.         $this->loadTemplate("@App/dashboard/settings/accounts/main.html.twig""@App/dashboard/settings/accounts/main.html.twig"6"665492094")->display(twig_array_merge(twig_array_merge($context, ["title" => "User accounts"]), ['_args' => twig_to_array(["title" => "User accounts"])]));
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.     }
  66.     // line 20
  67.     public function block_content($context, array $blocks = [])
  68.     {
  69.         $macros $this->macros;
  70.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  71.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  74.         // line 21
  75.         echo "    <div class=\"row\">
  76.         <div class=\"col\">
  77.             ";
  78.         // line 23
  79.         $this->loadTemplate("@App/dashboard/settings/accounts/includes/_filter.html.twig""@App/dashboard/settings/accounts/main.html.twig"23)->display(twig_array_merge($context, ['_args' => []]));
  80.         // line 24
  81.         echo "            <div id=\"";
  82.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'24$this->source); })()), "vars", [], "any"falsefalsefalse24), "id", [], "any"falsefalsefalse24), "html"nulltrue);
  83.         echo "__results\" class=\"user-table\">
  84.                 ";
  85.         // line 25
  86.         $this->loadTemplate("@App/dashboard/settings/accounts/includes/_results.html.twig""@App/dashboard/settings/accounts/main.html.twig"25)->display(twig_array_merge(twig_array_merge($context, ["sidepanel" => "sidepanel__result_view"]), ['_args' => twig_to_array(["sidepanel" => "sidepanel__result_view"])]));
  87.         // line 28
  88.         echo "            </div>
  89.         </div>
  90.     </div>
  91. ";
  92.         
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  94.         
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  96.     }
  97.     // line 33
  98.     public function block_modals($context, array $blocks = [])
  99.     {
  100.         $macros $this->macros;
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  102.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  103.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  104.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  105.         // line 34
  106.         echo "    ";
  107.         $this->displayParentBlock("modals"$context$blocks);
  108.         echo "
  109.     ";
  110.         // line 35
  111.         $this->loadTemplate("@ui2022/modal.html.twig""@App/dashboard/settings/accounts/main.html.twig"35)->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "modal__result""class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"]), ['_args' => twig_to_array(["attr" => ["id" => "modal__result""class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"])]));
  112.         // line 42
  113.         echo "    ";
  114.         $this->loadTemplate("@ui2022/schoolnow/modal--sidepanel.html.twig""@App/dashboard/settings/accounts/main.html.twig"42)->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "sidepanel__result_view""class" => "sidepanel-user"], "preserveScroll" => true]), ['_args' => twig_to_array(["attr" => ["id" => "sidepanel__result_view""class" => "sidepanel-user"], "preserveScroll" => true])]));
  115.         
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  117.         
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  119.     }
  120.     public function getTemplateName()
  121.     {
  122.         return "@App/dashboard/settings/accounts/main.html.twig";
  123.     }
  124.     public function isTraitable()
  125.     {
  126.         return false;
  127.     }
  128.     public function getDebugInfo()
  129.     {
  130.         return array (  137 => 42,  135 => 35,  130 => 34,  120 => 33,  107 => 28,  105 => 25,  100 => 24,  98 => 23,  94 => 21,  84 => 20,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  131.     }
  132.     public function getSourceContext()
  133.     {
  134.         return new Source("{% extends '@App/dashboard/settings/base.html.twig' %}
  135. {% form_theme form '@ui2022/schoolnow/forms/themes/default.html.twig' %}
  136. {% block header %}
  137.     {% embed '@ui2022/page__header.html.twig' with {
  138.         title: 'User accounts',
  139.     } %}
  140.         {% block actions %}
  141.             {% include '@ui2022/button--a.html.twig' with {
  142.                 text: '+ Add user',
  143.                 styles: 'gray',
  144.                 link: path('app.app.dashboard.settings.accounts.create'),
  145.                 modal: 'modal__result',
  146.             } %}
  147.         {% endblock %}
  148.     {% endembed %}
  149. {% endblock %}
  150. {% block content %}
  151.     <div class=\"row\">
  152.         <div class=\"col\">
  153.             {% include '@App/dashboard/settings/accounts/includes/_filter.html.twig' %}
  154.             <div id=\"{{ form.vars.id }}__results\" class=\"user-table\">
  155.                 {% include '@App/dashboard/settings/accounts/includes/_results.html.twig' with {
  156.                     sidepanel: 'sidepanel__result_view',
  157.                 } %}
  158.             </div>
  159.         </div>
  160.     </div>
  161. {% endblock %}
  162. {% block modals %}
  163.     {{ parent() }}
  164.     {% include '@ui2022/modal.html.twig' with {
  165.         attr: {
  166.             id: 'modal__result',
  167.             class: 'modal-ajax modal-delete',
  168.         },
  169.         dialog_styles: 'dialog--createmsg',
  170.     } %}
  171.     {% include '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  172.         attr: {
  173.             id: 'sidepanel__result_view',
  174.             class: 'sidepanel-user'
  175.         },
  176.         preserveScroll: true,
  177.     } %}
  178. {% endblock %}
  179. ""@App/dashboard/settings/accounts/main.html.twig""/var/www/campussuite/src/App/Resources/views/dashboard/settings/accounts/main.html.twig");
  180.     }
  181. }
  182. /* @App/dashboard/settings/accounts/main.html.twig */
  183. class __TwigTemplate_14bee992f19e13d75851cc3395e17234___665492094 extends \Twig\Template
  184. {
  185.     private $source;
  186.     private $macros = [];
  187.     public function __construct(Environment $env)
  188.     {
  189.         parent::__construct($env);
  190.         $this->source $this->getSourceContext();
  191.         $this->blocks = [
  192.             'actions' => [$this'block_actions'],
  193.         ];
  194.     }
  195.     protected function doGetParent(array $context)
  196.     {
  197.         // line 6
  198.         return "@ui2022/page__header.html.twig";
  199.     }
  200.     protected function doDisplay(array $context, array $blocks = [])
  201.     {
  202.         $macros $this->macros;
  203.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/accounts/main.html.twig"));
  205.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  206.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@App/dashboard/settings/accounts/main.html.twig"));
  207.         $this->parent $this->loadTemplate("@ui2022/page__header.html.twig""@App/dashboard/settings/accounts/main.html.twig"6);
  208.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  209.         
  210.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  211.         
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  213.     }
  214.     // line 9
  215.     public function block_actions($context, array $blocks = [])
  216.     {
  217.         $macros $this->macros;
  218.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  219.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  220.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  221.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  222.         // line 10
  223.         echo "            ";
  224.         $this->loadTemplate("@ui2022/button--a.html.twig""@App/dashboard/settings/accounts/main.html.twig"10)->display(twig_array_merge(twig_array_merge($context, ["text" => "+ Add user""styles" => "gray""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.app.dashboard.settings.accounts.create"), "modal" => "modal__result"]), ['_args' => twig_to_array(["text" => "+ Add user""styles" => "gray""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.app.dashboard.settings.accounts.create"), "modal" => "modal__result"])]));
  225.         // line 16
  226.         echo "        ";
  227.         
  228.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  229.         
  230.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  231.     }
  232.     public function getTemplateName()
  233.     {
  234.         return "@App/dashboard/settings/accounts/main.html.twig";
  235.     }
  236.     public function isTraitable()
  237.     {
  238.         return false;
  239.     }
  240.     public function getDebugInfo()
  241.     {
  242.         return array (  274 => 16,  271 => 10,  261 => 9,  238 => 6,  137 => 42,  135 => 35,  130 => 34,  120 => 33,  107 => 28,  105 => 25,  100 => 24,  98 => 23,  94 => 21,  84 => 20,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  243.     }
  244.     public function getSourceContext()
  245.     {
  246.         return new Source("{% extends '@App/dashboard/settings/base.html.twig' %}
  247. {% form_theme form '@ui2022/schoolnow/forms/themes/default.html.twig' %}
  248. {% block header %}
  249.     {% embed '@ui2022/page__header.html.twig' with {
  250.         title: 'User accounts',
  251.     } %}
  252.         {% block actions %}
  253.             {% include '@ui2022/button--a.html.twig' with {
  254.                 text: '+ Add user',
  255.                 styles: 'gray',
  256.                 link: path('app.app.dashboard.settings.accounts.create'),
  257.                 modal: 'modal__result',
  258.             } %}
  259.         {% endblock %}
  260.     {% endembed %}
  261. {% endblock %}
  262. {% block content %}
  263.     <div class=\"row\">
  264.         <div class=\"col\">
  265.             {% include '@App/dashboard/settings/accounts/includes/_filter.html.twig' %}
  266.             <div id=\"{{ form.vars.id }}__results\" class=\"user-table\">
  267.                 {% include '@App/dashboard/settings/accounts/includes/_results.html.twig' with {
  268.                     sidepanel: 'sidepanel__result_view',
  269.                 } %}
  270.             </div>
  271.         </div>
  272.     </div>
  273. {% endblock %}
  274. {% block modals %}
  275.     {{ parent() }}
  276.     {% include '@ui2022/modal.html.twig' with {
  277.         attr: {
  278.             id: 'modal__result',
  279.             class: 'modal-ajax modal-delete',
  280.         },
  281.         dialog_styles: 'dialog--createmsg',
  282.     } %}
  283.     {% include '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  284.         attr: {
  285.             id: 'sidepanel__result_view',
  286.             class: 'sidepanel-user'
  287.         },
  288.         preserveScroll: true,
  289.     } %}
  290. {% endblock %}
  291. ""@App/dashboard/settings/accounts/main.html.twig""/var/www/campussuite/src/App/Resources/views/dashboard/settings/accounts/main.html.twig");
  292.     }
  293. }