var/cache/test/twig/4e/4e262f279aa07c47ec974e49aee9f4d8.php line 152

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. /* @ProductsNotifications/dashboard/messages/main.html.twig */
  14. class __TwigTemplate_725aaf0dd487b3bcf729762ce7df7d3d 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 "@ProductsNotifications/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""@ProductsNotifications/dashboard/messages/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""@ProductsNotifications/dashboard/messages/main.html.twig"));
  40.         // line 3
  41.         $this->extensions['App\Twig\Extension\DomExtension']->dom_title_($context"section""Messages");
  42.         // line 1
  43.         $this->parent $this->loadTemplate("@ProductsNotifications/base.html.twig""@ProductsNotifications/dashboard/messages/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("@ProductsNotifications/dashboard/messages/main.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"6"863024648")->display(twig_array_merge(twig_array_merge($context, ["title" => "Messages"]), ['_args' => twig_to_array(["title" => "Messages"])]));
  61.         
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  63.         
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65.     }
  66.     // line 23
  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 24
  75.         echo "    <div class=\"row\">
  76.         <div class=\"col\">
  77.             ";
  78.         // line 26
  79.         $context["filterParameterCount"] = (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "results", [], "any"falsetruefalse26), "query", [], "any"falsetruefalse26), "parameters", [], "any"falsetruefalse26), "count", [], "any"truetruefalse26) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "results", [], "any"falsetruefalse26), "query", [], "any"falsetruefalse26), "parameters", [], "any"falsetruefalse26), "count", [], "any"falsefalsefalse26)))) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "results", [], "any"falsetruefalse26), "query", [], "any"falsetruefalse26), "parameters", [], "any"falsetruefalse26), "count", [], "any"falsefalsefalse26)) : (0));
  80.         // line 27
  81.         echo "            ";
  82.         if (( !twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'27$this->source); })()), "results_max", [], "any"falsefalsefalse27) && ((isset($context["filterParameterCount"]) || array_key_exists("filterParameterCount"$context) ? $context["filterParameterCount"] : (function () { throw new RuntimeError('Variable "filterParameterCount" does not exist.'27$this->source); })()) == 0))) {
  83.             // line 28
  84.             echo "                <div class=\"row\">
  85.                     <div class=\"col-3\"></div>
  86.                     <div class=\"col-5\">
  87.                         <div class=\"my-5 py-5\">
  88.                             <h2>Create your first message</h2>
  89.                             <p>
  90.                                 Click \"Create Message\" to send your first communication.
  91.                             </p>
  92.                             ";
  93.             // line 36
  94.             $this->loadTemplate("@ui2022/button--a.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"36)->display(twig_array_merge(twig_array_merge($context, ["text" => "Create Message""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.default.select_modal"), "styles" => "primary""modal" => "modal__new_broadcast"]), ['_args' => twig_to_array(["text" => "Create Message""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.default.select_modal"), "styles" => "primary""modal" => "modal__new_broadcast"])]));
  95.             // line 42
  96.             echo "                            ";
  97.             $this->loadTemplate("@ui2022/button--a.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"42)->display(twig_array_merge(twig_array_merge($context, ["text" => "Watch Video""link" => "https://www.schoolnow.com""target" => "_blank""styles" => "white"]), ['_args' => twig_to_array(["text" => "Watch Video""link" => "https://www.schoolnow.com""target" => "_blank""styles" => "white"])]));
  98.             // line 48
  99.             echo "                        </div>
  100.                     </div>
  101.                     <div class=\"col-1\">
  102.                         <div class=\"my-5 py-5 text-center text-black-50\">
  103.                             <i class=\"far fa-fw fa-8x fa-comment-alt-lines\"></i>
  104.                         </div>
  105.                     </div>
  106.                 </div>
  107.             ";
  108.         } elseif (( !twig_get_attribute($this->env$this->source,         // line 57
  109. (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'57$this->source); })()), "results_max", [], "any"falsefalsefalse57) && ((isset($context["filterParameterCount"]) || array_key_exists("filterParameterCount"$context) ? $context["filterParameterCount"] : (function () { throw new RuntimeError('Variable "filterParameterCount" does not exist.'57$this->source); })()) > 0))) {
  110.             // line 58
  111.             echo "                <div class=\"row\">
  112.                     <div class=\"col-3\"></div>
  113.                     <div class=\"col-5\">
  114.                         <div class=\"my-5 py-5\">
  115.                             <h2>Sorry, no messages were found matching that criteria</h2>
  116.                             ";
  117.             // line 63
  118.             $this->loadTemplate("@ui2022/button--a.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"63)->display(twig_array_merge(twig_array_merge($context, ["text" => "Clear Search Filter""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.main"), "styles" => "white"]), ['_args' => twig_to_array(["text" => "Clear Search Filter""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.main"), "styles" => "white"])]));
  119.             // line 68
  120.             echo "                        </div>
  121.                     </div>
  122.                     <div class=\"col-1\">
  123.                         <div class=\"my-5 py-5 text-center text-black-50\">
  124.                             <i class=\"far fa-fw fa-8x fa-comment-alt-lines\"></i>
  125.                         </div>
  126.                     </div>
  127.                 </div>
  128.             ";
  129.         } else {
  130.             // line 77
  131.             echo "                ";
  132.             $this->loadTemplate("@ProductsNotifications/dashboard/messages/includes/_filter.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"77)->display(twig_array_merge($context, ['_args' => []]));
  133.             // line 78
  134.             echo "                <div id=\"";
  135.             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.'78$this->source); })()), "vars", [], "any"falsefalsefalse78), "id", [], "any"falsefalsefalse78), "html"nulltrue);
  136.             echo "__results\">
  137.                     ";
  138.             // line 79
  139.             $this->loadTemplate("@ProductsNotifications/dashboard/messages/includes/_results.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"79)->display(twig_array_merge($context, ['_args' => []]));
  140.             // line 80
  141.             echo "                </div>
  142.             ";
  143.         }
  144.         // line 82
  145.         echo "        </div>
  146.     </div>
  147. ";
  148.         
  149.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  150.         
  151.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  152.     }
  153.     // line 86
  154.     public function block_modals($context, array $blocks = [])
  155.     {
  156.         $macros $this->macros;
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  158.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modals"));
  161.         // line 87
  162.         echo "    ";
  163.         $this->displayParentBlock("modals"$context$blocks);
  164.         echo "
  165.     ";
  166.         // line 88
  167.         $this->loadTemplate("@ui2022/modal.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"88)->display(twig_array_merge(twig_array_merge($context, ["dialog_styles" => "scrollable centered""attr" => ["id" => "modal__new_broadcast""class" => "modal-ajax"]]), ['_args' => twig_to_array(["dialog_styles" => "scrollable centered""attr" => ["id" => "modal__new_broadcast""class" => "modal-ajax"]])]));
  168.         // line 95
  169.         echo "    ";
  170.         $this->loadTemplate("@ui2022/modal.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"95)->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "modal__result_delete""class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"]), ['_args' => twig_to_array(["attr" => ["id" => "modal__result_delete""class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"])]));
  171.         // line 102
  172.         echo "    ";
  173.         $this->loadTemplate("@ui2022/modal.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"102)->display(twig_array_merge(twig_array_merge($context, ["attr" => ["id" => "modal__result_unschedule""class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"]), ['_args' => twig_to_array(["attr" => ["id" => "modal__result_unschedule""class" => "modal-ajax modal-delete"], "dialog_styles" => "dialog--createmsg"])]));
  174.         
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  176.         
  177.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  178.     }
  179.     public function getTemplateName()
  180.     {
  181.         return "@ProductsNotifications/dashboard/messages/main.html.twig";
  182.     }
  183.     public function isTraitable()
  184.     {
  185.         return false;
  186.     }
  187.     public function getDebugInfo()
  188.     {
  189.         return array (  197 => 102,  194 => 95,  192 => 88,  187 => 87,  177 => 86,  165 => 82,  161 => 80,  159 => 79,  154 => 78,  151 => 77,  140 => 68,  138 => 63,  131 => 58,  129 => 57,  118 => 48,  115 => 42,  113 => 36,  103 => 28,  100 => 27,  98 => 26,  94 => 24,  84 => 23,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  190.     }
  191.     public function getSourceContext()
  192.     {
  193.         return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
  194. {% do dom_title_section('Messages') %}
  195. {% block header %}
  196.     {% embed '@ui2022/page__header.html.twig' with {
  197.         title: 'Messages',
  198.     } %}
  199.         {% block actions %}
  200.             {% if pagination.results_max %}
  201.                 {% include '@ui2022/button--a.html.twig' with {
  202.                     text: 'Create Message',
  203.                     link: path('app.notifications.dashboard.default.select_modal'),
  204.                     icon: 'icon-message-plane',
  205.                     styles: 'primary',
  206.                     modal: 'modal__new_broadcast',
  207.                 } %}
  208.             {% endif %}
  209.         {% endblock %}
  210.     {% endembed %}
  211. {% endblock %}
  212. {% block content %}
  213.     <div class=\"row\">
  214.         <div class=\"col\">
  215.             {% set filterParameterCount = pagination.results.query.parameters.count ?? 0 %}
  216.             {% if not pagination.results_max and filterParameterCount == 0 %}
  217.                 <div class=\"row\">
  218.                     <div class=\"col-3\"></div>
  219.                     <div class=\"col-5\">
  220.                         <div class=\"my-5 py-5\">
  221.                             <h2>Create your first message</h2>
  222.                             <p>
  223.                                 Click \"Create Message\" to send your first communication.
  224.                             </p>
  225.                             {% include '@ui2022/button--a.html.twig' with {
  226.                                 text: 'Create Message',
  227.                                 link: path('app.notifications.dashboard.default.select_modal'),
  228.                                 styles: 'primary',
  229.                                 modal: 'modal__new_broadcast',
  230.                             } %}
  231.                             {% include '@ui2022/button--a.html.twig' with {
  232.                                 text: 'Watch Video',
  233.                                 link: 'https://www.schoolnow.com',
  234.                                 target: '_blank',
  235.                                 styles: 'white',
  236.                             } %}
  237.                         </div>
  238.                     </div>
  239.                     <div class=\"col-1\">
  240.                         <div class=\"my-5 py-5 text-center text-black-50\">
  241.                             <i class=\"far fa-fw fa-8x fa-comment-alt-lines\"></i>
  242.                         </div>
  243.                     </div>
  244.                 </div>
  245.             {% elseif not pagination.results_max and filterParameterCount > 0 %}
  246.                 <div class=\"row\">
  247.                     <div class=\"col-3\"></div>
  248.                     <div class=\"col-5\">
  249.                         <div class=\"my-5 py-5\">
  250.                             <h2>Sorry, no messages were found matching that criteria</h2>
  251.                             {% include '@ui2022/button--a.html.twig' with {
  252.                                 text: 'Clear Search Filter',
  253.                                 link: path('app.notifications.dashboard.messages.main'),
  254.                                 styles: 'white',
  255.                             } %}
  256.                         </div>
  257.                     </div>
  258.                     <div class=\"col-1\">
  259.                         <div class=\"my-5 py-5 text-center text-black-50\">
  260.                             <i class=\"far fa-fw fa-8x fa-comment-alt-lines\"></i>
  261.                         </div>
  262.                     </div>
  263.                 </div>
  264.             {% else %}
  265.                 {% include '@ProductsNotifications/dashboard/messages/includes/_filter.html.twig' %}
  266.                 <div id=\"{{ form.vars.id }}__results\">
  267.                     {% include '@ProductsNotifications/dashboard/messages/includes/_results.html.twig' %}
  268.                 </div>
  269.             {% endif %}
  270.         </div>
  271.     </div>
  272. {% endblock %}
  273. {% block modals %}
  274.     {{ parent() }}
  275.     {% include '@ui2022/modal.html.twig' with {
  276.         dialog_styles: 'scrollable centered',
  277.         attr: {
  278.             id: 'modal__new_broadcast',
  279.             class: 'modal-ajax',
  280.         },
  281.     } %}
  282.     {% include '@ui2022/modal.html.twig' with {
  283.         attr: {
  284.             id: 'modal__result_delete',
  285.             class: 'modal-ajax modal-delete',
  286.         },
  287.         dialog_styles: 'dialog--createmsg',
  288.     } %}
  289.     {% include '@ui2022/modal.html.twig' with {
  290.         attr: {
  291.             id: 'modal__result_unschedule',
  292.             class: 'modal-ajax modal-delete',
  293.         },
  294.         dialog_styles: 'dialog--createmsg',
  295.     } %}
  296. {% endblock %}
  297. ""@ProductsNotifications/dashboard/messages/main.html.twig""/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/main.html.twig");
  298.     }
  299. }
  300. /* @ProductsNotifications/dashboard/messages/main.html.twig */
  301. class __TwigTemplate_725aaf0dd487b3bcf729762ce7df7d3d___863024648 extends \Twig\Template
  302. {
  303.     private $source;
  304.     private $macros = [];
  305.     public function __construct(Environment $env)
  306.     {
  307.         parent::__construct($env);
  308.         $this->source $this->getSourceContext();
  309.         $this->blocks = [
  310.             'actions' => [$this'block_actions'],
  311.         ];
  312.     }
  313.     protected function doGetParent(array $context)
  314.     {
  315.         // line 6
  316.         return "@ui2022/page__header.html.twig";
  317.     }
  318.     protected function doDisplay(array $context, array $blocks = [])
  319.     {
  320.         $macros $this->macros;
  321.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  322.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/dashboard/messages/main.html.twig"));
  323.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/dashboard/messages/main.html.twig"));
  325.         $this->parent $this->loadTemplate("@ui2022/page__header.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"6);
  326.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  327.         
  328.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  329.         
  330.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  331.     }
  332.     // line 9
  333.     public function block_actions($context, array $blocks = [])
  334.     {
  335.         $macros $this->macros;
  336.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  337.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  338.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  339.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  340.         // line 10
  341.         echo "            ";
  342.         if (twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'10$this->source); })()), "results_max", [], "any"falsefalsefalse10)) {
  343.             // line 11
  344.             echo "                ";
  345.             $this->loadTemplate("@ui2022/button--a.html.twig""@ProductsNotifications/dashboard/messages/main.html.twig"11)->display(twig_array_merge(twig_array_merge($context, ["text" => "Create Message""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.default.select_modal"), "icon" => "icon-message-plane""styles" => "primary""modal" => "modal__new_broadcast"]), ['_args' => twig_to_array(["text" => "Create Message""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.default.select_modal"), "icon" => "icon-message-plane""styles" => "primary""modal" => "modal__new_broadcast"])]));
  346.             // line 18
  347.             echo "            ";
  348.         }
  349.         // line 19
  350.         echo "        ";
  351.         
  352.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  353.         
  354.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  355.     }
  356.     public function getTemplateName()
  357.     {
  358.         return "@ProductsNotifications/dashboard/messages/main.html.twig";
  359.     }
  360.     public function isTraitable()
  361.     {
  362.         return false;
  363.     }
  364.     public function getDebugInfo()
  365.     {
  366.         return array (  400 => 19,  397 => 18,  394 => 11,  391 => 10,  381 => 9,  358 => 6,  197 => 102,  194 => 95,  192 => 88,  187 => 87,  177 => 86,  165 => 82,  161 => 80,  159 => 79,  154 => 78,  151 => 77,  140 => 68,  138 => 63,  131 => 58,  129 => 57,  118 => 48,  115 => 42,  113 => 36,  103 => 28,  100 => 27,  98 => 26,  94 => 24,  84 => 23,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  367.     }
  368.     public function getSourceContext()
  369.     {
  370.         return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
  371. {% do dom_title_section('Messages') %}
  372. {% block header %}
  373.     {% embed '@ui2022/page__header.html.twig' with {
  374.         title: 'Messages',
  375.     } %}
  376.         {% block actions %}
  377.             {% if pagination.results_max %}
  378.                 {% include '@ui2022/button--a.html.twig' with {
  379.                     text: 'Create Message',
  380.                     link: path('app.notifications.dashboard.default.select_modal'),
  381.                     icon: 'icon-message-plane',
  382.                     styles: 'primary',
  383.                     modal: 'modal__new_broadcast',
  384.                 } %}
  385.             {% endif %}
  386.         {% endblock %}
  387.     {% endembed %}
  388. {% endblock %}
  389. {% block content %}
  390.     <div class=\"row\">
  391.         <div class=\"col\">
  392.             {% set filterParameterCount = pagination.results.query.parameters.count ?? 0 %}
  393.             {% if not pagination.results_max and filterParameterCount == 0 %}
  394.                 <div class=\"row\">
  395.                     <div class=\"col-3\"></div>
  396.                     <div class=\"col-5\">
  397.                         <div class=\"my-5 py-5\">
  398.                             <h2>Create your first message</h2>
  399.                             <p>
  400.                                 Click \"Create Message\" to send your first communication.
  401.                             </p>
  402.                             {% include '@ui2022/button--a.html.twig' with {
  403.                                 text: 'Create Message',
  404.                                 link: path('app.notifications.dashboard.default.select_modal'),
  405.                                 styles: 'primary',
  406.                                 modal: 'modal__new_broadcast',
  407.                             } %}
  408.                             {% include '@ui2022/button--a.html.twig' with {
  409.                                 text: 'Watch Video',
  410.                                 link: 'https://www.schoolnow.com',
  411.                                 target: '_blank',
  412.                                 styles: 'white',
  413.                             } %}
  414.                         </div>
  415.                     </div>
  416.                     <div class=\"col-1\">
  417.                         <div class=\"my-5 py-5 text-center text-black-50\">
  418.                             <i class=\"far fa-fw fa-8x fa-comment-alt-lines\"></i>
  419.                         </div>
  420.                     </div>
  421.                 </div>
  422.             {% elseif not pagination.results_max and filterParameterCount > 0 %}
  423.                 <div class=\"row\">
  424.                     <div class=\"col-3\"></div>
  425.                     <div class=\"col-5\">
  426.                         <div class=\"my-5 py-5\">
  427.                             <h2>Sorry, no messages were found matching that criteria</h2>
  428.                             {% include '@ui2022/button--a.html.twig' with {
  429.                                 text: 'Clear Search Filter',
  430.                                 link: path('app.notifications.dashboard.messages.main'),
  431.                                 styles: 'white',
  432.                             } %}
  433.                         </div>
  434.                     </div>
  435.                     <div class=\"col-1\">
  436.                         <div class=\"my-5 py-5 text-center text-black-50\">
  437.                             <i class=\"far fa-fw fa-8x fa-comment-alt-lines\"></i>
  438.                         </div>
  439.                     </div>
  440.                 </div>
  441.             {% else %}
  442.                 {% include '@ProductsNotifications/dashboard/messages/includes/_filter.html.twig' %}
  443.                 <div id=\"{{ form.vars.id }}__results\">
  444.                     {% include '@ProductsNotifications/dashboard/messages/includes/_results.html.twig' %}
  445.                 </div>
  446.             {% endif %}
  447.         </div>
  448.     </div>
  449. {% endblock %}
  450. {% block modals %}
  451.     {{ parent() }}
  452.     {% include '@ui2022/modal.html.twig' with {
  453.         dialog_styles: 'scrollable centered',
  454.         attr: {
  455.             id: 'modal__new_broadcast',
  456.             class: 'modal-ajax',
  457.         },
  458.     } %}
  459.     {% include '@ui2022/modal.html.twig' with {
  460.         attr: {
  461.             id: 'modal__result_delete',
  462.             class: 'modal-ajax modal-delete',
  463.         },
  464.         dialog_styles: 'dialog--createmsg',
  465.     } %}
  466.     {% include '@ui2022/modal.html.twig' with {
  467.         attr: {
  468.             id: 'modal__result_unschedule',
  469.             class: 'modal-ajax modal-delete',
  470.         },
  471.         dialog_styles: 'dialog--createmsg',
  472.     } %}
  473. {% endblock %}
  474. ""@ProductsNotifications/dashboard/messages/main.html.twig""/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/main.html.twig");
  475.     }
  476. }