var/cache/test/twig/fa/fa2450cfa965a164840b746908433216.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. /* @ProductsNotifications/dashboard/messages/details.html.twig */
  14. class __TwigTemplate_566a6f1faedf33fa74e766970bb3f0f1 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.             'wrap' => [$this'block_wrap'],
  24.             'header' => [$this'block_header'],
  25.             'content' => [$this'block_content'],
  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/details.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/details.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/details.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_wrap($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""wrap"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""wrap"));
  58.         echo "content__area--uilib reports";
  59.         
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  61.         
  62.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63.     }
  64.     // line 7
  65.     public function block_header($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  72.         // line 8
  73.         echo "    ";
  74.         $this->loadTemplate("@ProductsNotifications/dashboard/messages/details.html.twig""@ProductsNotifications/dashboard/messages/details.html.twig"8"194452935")->display(twig_array_merge(twig_array_merge($context, ["title" => twig_get_attribute($this->env$this->source,         // line 9
  75. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'9$this->source); })()), "title", [], "any"falsefalsefalse9), "back" => ["text" => "Back to Messages""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.main")]]), ['_args' => twig_to_array(["title" => twig_get_attribute($this->env$this->source, (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'9$this->source); })()), "title", [], "any"falsefalsefalse9), "back" => ["text" => "Back to Messages""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.main")]])]));
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.     }
  81.     // line 27
  82.     public function block_content($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  87.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  89.         // line 28
  90.         echo "    ";
  91.         if ( !twig_get_attribute($this->env$this->source, (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'28$this->source); })()), "firstJob", [], "any"falsefalsefalse28)) {
  92.             // line 29
  93.             echo "        <div class=\"content__data reports__message pt-2\">
  94.             <div class=\"blockgroup\">
  95.                 <label class=\"blockgroup__label\">Message</label>
  96.                 <h2 class=\"h4\">";
  97.             // line 32
  98.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'32$this->source); })()), "title", [], "any"falsefalsefalse32), "html"nulltrue);
  99.             echo "</h2>
  100.             </div>
  101.         </div>
  102.     ";
  103.         } else {
  104.             // line 36
  105.             echo "
  106.         <div class=\"content__data reports__message pt-2\">
  107.             ";
  108.             // line 38
  109.             $this->loadTemplate("@ProductsNotifications/dashboard/messages/details.html.twig""@ProductsNotifications/dashboard/messages/details.html.twig"38"1989812457")->display(twig_array_merge(twig_array_merge($context, ["items" => [=> ["text" => "Summary""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.report", ["message" => twig_get_attribute($this->env$this->source,             // line 43
  110. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'43$this->source); })()), "id", [], "any"falsefalsefalse43)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 45
  111. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'45$this->source); })()), "request", [], "any"falsefalsefalse45), "attributes", [], "any"falsefalsefalse45), "get", [=> "_route"], "method"falsefalsefalse45) === "app.notifications.dashboard.messages.report")], => ["text" => "Logs""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.logs", ["message" => twig_get_attribute($this->env$this->source,             // line 50
  112. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'50$this->source); })()), "id", [], "any"falsefalsefalse50)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 52
  113. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'52$this->source); })()), "request", [], "any"falsefalsefalse52), "attributes", [], "any"falsefalsefalse52), "get", [=> "_route"], "method"falsefalsefalse52) === "app.notifications.dashboard.messages.logs")], => ["text" => "Debugging""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.debugging", ["message" => twig_get_attribute($this->env$this->source,             // line 57
  114. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'57$this->source); })()), "id", [], "any"falsefalsefalse57)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 59
  115. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'59$this->source); })()), "request", [], "any"falsefalsefalse59), "attributes", [], "any"falsefalsefalse59), "get", [=> "_route"], "method"falsefalsefalse59) === "app.notifications.dashboard.messages.debugging")], => ["text" => "Details""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.details", ["message" => twig_get_attribute($this->env$this->source,             // line 64
  116. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'64$this->source); })()), "id", [], "any"falsefalsefalse64)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 66
  117. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'66$this->source); })()), "request", [], "any"falsefalsefalse66), "attributes", [], "any"falsefalsefalse66), "get", [=> "_route"], "method"falsefalsefalse66) === "app.notifications.dashboard.messages.details")]]]), ['_args' => twig_to_array(["items" => [=> ["text" => "Summary""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.report", ["message" => twig_get_attribute($this->env$this->source,             // line 43
  118. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'43$this->source); })()), "id", [], "any"falsefalsefalse43)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 45
  119. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'45$this->source); })()), "request", [], "any"falsefalsefalse45), "attributes", [], "any"falsefalsefalse45), "get", [=> "_route"], "method"falsefalsefalse45) === "app.notifications.dashboard.messages.report")], => ["text" => "Logs""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.logs", ["message" => twig_get_attribute($this->env$this->source,             // line 50
  120. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'50$this->source); })()), "id", [], "any"falsefalsefalse50)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 52
  121. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'52$this->source); })()), "request", [], "any"falsefalsefalse52), "attributes", [], "any"falsefalsefalse52), "get", [=> "_route"], "method"falsefalsefalse52) === "app.notifications.dashboard.messages.logs")], => ["text" => "Debugging""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.debugging", ["message" => twig_get_attribute($this->env$this->source,             // line 57
  122. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'57$this->source); })()), "id", [], "any"falsefalsefalse57)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 59
  123. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'59$this->source); })()), "request", [], "any"falsefalsefalse59), "attributes", [], "any"falsefalsefalse59), "get", [=> "_route"], "method"falsefalsefalse59) === "app.notifications.dashboard.messages.debugging")], => ["text" => "Details""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.details", ["message" => twig_get_attribute($this->env$this->source,             // line 64
  124. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'64$this->source); })()), "id", [], "any"falsefalsefalse64)]), "active" => (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 66
  125. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'66$this->source); })()), "request", [], "any"falsefalsefalse66), "attributes", [], "any"falsefalsefalse66), "get", [=> "_route"], "method"falsefalsefalse66) === "app.notifications.dashboard.messages.details")]]])]));
  126.             // line 74
  127.             echo "        </div>
  128.     ";
  129.         }
  130.         
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  132.         
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  134.     }
  135.     public function getTemplateName()
  136.     {
  137.         return "@ProductsNotifications/dashboard/messages/details.html.twig";
  138.     }
  139.     public function isTraitable()
  140.     {
  141.         return false;
  142.     }
  143.     public function getDebugInfo()
  144.     {
  145.         return array (  151 => 74,  149 => 66,  148 => 64,  147 => 59,  146 => 57,  145 => 52,  144 => 50,  143 => 45,  142 => 43,  141 => 66,  140 => 64,  139 => 59,  138 => 57,  137 => 52,  136 => 50,  135 => 45,  134 => 43,  133 => 38,  129 => 36,  122 => 32,  117 => 29,  114 => 28,  104 => 27,  94 => 9,  92 => 8,  82 => 7,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  146.     }
  147.     public function getSourceContext()
  148.     {
  149.         return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
  150. {% do dom_title_section('Messages') %}
  151. {% block wrap %}content__area--uilib reports{% endblock %}
  152. {% block header %}
  153.     {% embed '@ui2022/schoolnow/header.html.twig' with {
  154.         title: message.title,
  155.         back: {
  156.             text: 'Back to Messages',
  157.             link: path('app.notifications.dashboard.messages.main'),
  158.         },
  159.     } %}
  160.         {% block actions %}
  161.             {% include '@ui2022/button--a.html.twig' with {
  162.                 text: 'Clone message',
  163.                 link: path('app.notifications.dashboard.messages.create', {
  164.                     clone: message.id,
  165.                 }),
  166.                 styles: 'gray',
  167.             } %}
  168.         {% endblock %}
  169.     {% endembed %}
  170. {% endblock %}
  171. {% block content %}
  172.     {% if not message.firstJob %}
  173.         <div class=\"content__data reports__message pt-2\">
  174.             <div class=\"blockgroup\">
  175.                 <label class=\"blockgroup__label\">Message</label>
  176.                 <h2 class=\"h4\">{{- message.title -}}</h2>
  177.             </div>
  178.         </div>
  179.     {% else %}
  180.         <div class=\"content__data reports__message pt-2\">
  181.             {% embed '@ui2022/tabs--static.html.twig' with {
  182.                 items: [
  183.                     {
  184.                         text: 'Summary',
  185.                         link: path('app.notifications.dashboard.messages.report', {
  186.                         message: message.id,
  187.                     }),
  188.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.report')),
  189.                     },
  190.                     {
  191.                         text: 'Logs',
  192.                         link: path('app.notifications.dashboard.messages.logs', {
  193.                         message: message.id,
  194.                     }),
  195.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.logs')),
  196.                     },
  197.                     {
  198.                         text: 'Debugging',
  199.                         link: path('app.notifications.dashboard.messages.debugging', {
  200.                         message: message.id,
  201.                     }),
  202.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.debugging')),
  203.                     },
  204.                     {
  205.                         text: 'Details',
  206.                         link: path('app.notifications.dashboard.messages.details', {
  207.                             message: message.id,
  208.                         }),
  209.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.details')),
  210.                     },
  211.                 ],
  212.             } %}
  213.                 {% block tab %}
  214.                     {% include '@ProductsNotifications/dashboard/messages/includes/_message_details.html.twig' with { message: message, preview: true} %}
  215.                 {% endblock %}
  216.             {% endembed %}
  217.         </div>
  218.     {% endif %}
  219. {% endblock %}
  220. ""@ProductsNotifications/dashboard/messages/details.html.twig""/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/details.html.twig");
  221.     }
  222. }
  223. /* @ProductsNotifications/dashboard/messages/details.html.twig */
  224. class __TwigTemplate_566a6f1faedf33fa74e766970bb3f0f1___194452935 extends \Twig\Template
  225. {
  226.     private $source;
  227.     private $macros = [];
  228.     public function __construct(Environment $env)
  229.     {
  230.         parent::__construct($env);
  231.         $this->source $this->getSourceContext();
  232.         $this->blocks = [
  233.             'actions' => [$this'block_actions'],
  234.         ];
  235.     }
  236.     protected function doGetParent(array $context)
  237.     {
  238.         // line 8
  239.         return "@ui2022/schoolnow/header.html.twig";
  240.     }
  241.     protected function doDisplay(array $context, array $blocks = [])
  242.     {
  243.         $macros $this->macros;
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  245.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/dashboard/messages/details.html.twig"));
  246.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  247.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/dashboard/messages/details.html.twig"));
  248.         $this->parent $this->loadTemplate("@ui2022/schoolnow/header.html.twig""@ProductsNotifications/dashboard/messages/details.html.twig"8);
  249.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  250.         
  251.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  252.         
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  254.     }
  255.     // line 15
  256.     public function block_actions($context, array $blocks = [])
  257.     {
  258.         $macros $this->macros;
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""actions"));
  263.         // line 16
  264.         echo "            ";
  265.         $this->loadTemplate("@ui2022/button--a.html.twig""@ProductsNotifications/dashboard/messages/details.html.twig"16)->display(twig_array_merge(twig_array_merge($context, ["text" => "Clone message""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.create", ["clone" => twig_get_attribute($this->env$this->source,         // line 19
  266. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'19$this->source); })()), "id", [], "any"falsefalsefalse19)]), "styles" => "gray"]), ['_args' => twig_to_array(["text" => "Clone message""link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.create", ["clone" => twig_get_attribute($this->env$this->source, (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'19$this->source); })()), "id", [], "any"falsefalsefalse19)]), "styles" => "gray"])]));
  267.         // line 23
  268.         echo "        ";
  269.         
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  271.         
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  273.     }
  274.     public function getTemplateName()
  275.     {
  276.         return "@ProductsNotifications/dashboard/messages/details.html.twig";
  277.     }
  278.     public function isTraitable()
  279.     {
  280.         return false;
  281.     }
  282.     public function getDebugInfo()
  283.     {
  284.         return array (  317 => 23,  315 => 19,  313 => 16,  303 => 15,  280 => 8,  151 => 74,  149 => 66,  148 => 64,  147 => 59,  146 => 57,  145 => 52,  144 => 50,  143 => 45,  142 => 43,  141 => 66,  140 => 64,  139 => 59,  138 => 57,  137 => 52,  136 => 50,  135 => 45,  134 => 43,  133 => 38,  129 => 36,  122 => 32,  117 => 29,  114 => 28,  104 => 27,  94 => 9,  92 => 8,  82 => 7,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  285.     }
  286.     public function getSourceContext()
  287.     {
  288.         return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
  289. {% do dom_title_section('Messages') %}
  290. {% block wrap %}content__area--uilib reports{% endblock %}
  291. {% block header %}
  292.     {% embed '@ui2022/schoolnow/header.html.twig' with {
  293.         title: message.title,
  294.         back: {
  295.             text: 'Back to Messages',
  296.             link: path('app.notifications.dashboard.messages.main'),
  297.         },
  298.     } %}
  299.         {% block actions %}
  300.             {% include '@ui2022/button--a.html.twig' with {
  301.                 text: 'Clone message',
  302.                 link: path('app.notifications.dashboard.messages.create', {
  303.                     clone: message.id,
  304.                 }),
  305.                 styles: 'gray',
  306.             } %}
  307.         {% endblock %}
  308.     {% endembed %}
  309. {% endblock %}
  310. {% block content %}
  311.     {% if not message.firstJob %}
  312.         <div class=\"content__data reports__message pt-2\">
  313.             <div class=\"blockgroup\">
  314.                 <label class=\"blockgroup__label\">Message</label>
  315.                 <h2 class=\"h4\">{{- message.title -}}</h2>
  316.             </div>
  317.         </div>
  318.     {% else %}
  319.         <div class=\"content__data reports__message pt-2\">
  320.             {% embed '@ui2022/tabs--static.html.twig' with {
  321.                 items: [
  322.                     {
  323.                         text: 'Summary',
  324.                         link: path('app.notifications.dashboard.messages.report', {
  325.                         message: message.id,
  326.                     }),
  327.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.report')),
  328.                     },
  329.                     {
  330.                         text: 'Logs',
  331.                         link: path('app.notifications.dashboard.messages.logs', {
  332.                         message: message.id,
  333.                     }),
  334.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.logs')),
  335.                     },
  336.                     {
  337.                         text: 'Debugging',
  338.                         link: path('app.notifications.dashboard.messages.debugging', {
  339.                         message: message.id,
  340.                     }),
  341.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.debugging')),
  342.                     },
  343.                     {
  344.                         text: 'Details',
  345.                         link: path('app.notifications.dashboard.messages.details', {
  346.                             message: message.id,
  347.                         }),
  348.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.details')),
  349.                     },
  350.                 ],
  351.             } %}
  352.                 {% block tab %}
  353.                     {% include '@ProductsNotifications/dashboard/messages/includes/_message_details.html.twig' with { message: message, preview: true} %}
  354.                 {% endblock %}
  355.             {% endembed %}
  356.         </div>
  357.     {% endif %}
  358. {% endblock %}
  359. ""@ProductsNotifications/dashboard/messages/details.html.twig""/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/details.html.twig");
  360.     }
  361. }
  362. /* @ProductsNotifications/dashboard/messages/details.html.twig */
  363. class __TwigTemplate_566a6f1faedf33fa74e766970bb3f0f1___1989812457 extends \Twig\Template
  364. {
  365.     private $source;
  366.     private $macros = [];
  367.     public function __construct(Environment $env)
  368.     {
  369.         parent::__construct($env);
  370.         $this->source $this->getSourceContext();
  371.         $this->blocks = [
  372.             'tab' => [$this'block_tab'],
  373.         ];
  374.     }
  375.     protected function doGetParent(array $context)
  376.     {
  377.         // line 38
  378.         return "@ui2022/tabs--static.html.twig";
  379.     }
  380.     protected function doDisplay(array $context, array $blocks = [])
  381.     {
  382.         $macros $this->macros;
  383.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  384.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/dashboard/messages/details.html.twig"));
  385.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  386.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProductsNotifications/dashboard/messages/details.html.twig"));
  387.         $this->parent $this->loadTemplate("@ui2022/tabs--static.html.twig""@ProductsNotifications/dashboard/messages/details.html.twig"38);
  388.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  389.         
  390.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  391.         
  392.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  393.     }
  394.     // line 70
  395.     public function block_tab($context, array $blocks = [])
  396.     {
  397.         $macros $this->macros;
  398.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  399.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab"));
  400.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  401.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""tab"));
  402.         // line 71
  403.         echo "                    ";
  404.         $this->loadTemplate("@ProductsNotifications/dashboard/messages/includes/_message_details.html.twig""@ProductsNotifications/dashboard/messages/details.html.twig"71)->display(twig_array_merge(twig_array_merge($context, ["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'71$this->source); })()), "preview" => true]), ['_args' => twig_to_array(["message" => (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'71$this->source); })()), "preview" => true])]));
  405.         // line 72
  406.         echo "                ";
  407.         
  408.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  409.         
  410.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  411.     }
  412.     public function getTemplateName()
  413.     {
  414.         return "@ProductsNotifications/dashboard/messages/details.html.twig";
  415.     }
  416.     public function isTraitable()
  417.     {
  418.         return false;
  419.     }
  420.     public function getDebugInfo()
  421.     {
  422.         return array (  480 => 72,  477 => 71,  467 => 70,  444 => 38,  317 => 23,  315 => 19,  313 => 16,  303 => 15,  280 => 8,  151 => 74,  149 => 66,  148 => 64,  147 => 59,  146 => 57,  145 => 52,  144 => 50,  143 => 45,  142 => 43,  141 => 66,  140 => 64,  139 => 59,  138 => 57,  137 => 52,  136 => 50,  135 => 45,  134 => 43,  133 => 38,  129 => 36,  122 => 32,  117 => 29,  114 => 28,  104 => 27,  94 => 9,  92 => 8,  82 => 7,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  423.     }
  424.     public function getSourceContext()
  425.     {
  426.         return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
  427. {% do dom_title_section('Messages') %}
  428. {% block wrap %}content__area--uilib reports{% endblock %}
  429. {% block header %}
  430.     {% embed '@ui2022/schoolnow/header.html.twig' with {
  431.         title: message.title,
  432.         back: {
  433.             text: 'Back to Messages',
  434.             link: path('app.notifications.dashboard.messages.main'),
  435.         },
  436.     } %}
  437.         {% block actions %}
  438.             {% include '@ui2022/button--a.html.twig' with {
  439.                 text: 'Clone message',
  440.                 link: path('app.notifications.dashboard.messages.create', {
  441.                     clone: message.id,
  442.                 }),
  443.                 styles: 'gray',
  444.             } %}
  445.         {% endblock %}
  446.     {% endembed %}
  447. {% endblock %}
  448. {% block content %}
  449.     {% if not message.firstJob %}
  450.         <div class=\"content__data reports__message pt-2\">
  451.             <div class=\"blockgroup\">
  452.                 <label class=\"blockgroup__label\">Message</label>
  453.                 <h2 class=\"h4\">{{- message.title -}}</h2>
  454.             </div>
  455.         </div>
  456.     {% else %}
  457.         <div class=\"content__data reports__message pt-2\">
  458.             {% embed '@ui2022/tabs--static.html.twig' with {
  459.                 items: [
  460.                     {
  461.                         text: 'Summary',
  462.                         link: path('app.notifications.dashboard.messages.report', {
  463.                         message: message.id,
  464.                     }),
  465.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.report')),
  466.                     },
  467.                     {
  468.                         text: 'Logs',
  469.                         link: path('app.notifications.dashboard.messages.logs', {
  470.                         message: message.id,
  471.                     }),
  472.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.logs')),
  473.                     },
  474.                     {
  475.                         text: 'Debugging',
  476.                         link: path('app.notifications.dashboard.messages.debugging', {
  477.                         message: message.id,
  478.                     }),
  479.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.debugging')),
  480.                     },
  481.                     {
  482.                         text: 'Details',
  483.                         link: path('app.notifications.dashboard.messages.details', {
  484.                             message: message.id,
  485.                         }),
  486.                         active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.details')),
  487.                     },
  488.                 ],
  489.             } %}
  490.                 {% block tab %}
  491.                     {% include '@ProductsNotifications/dashboard/messages/includes/_message_details.html.twig' with { message: message, preview: true} %}
  492.                 {% endblock %}
  493.             {% endembed %}
  494.         </div>
  495.     {% endif %}
  496. {% endblock %}
  497. ""@ProductsNotifications/dashboard/messages/details.html.twig""/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/details.html.twig");
  498.     }
  499. }