<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @ProductsNotifications/dashboard/messages/details.html.twig */
class __TwigTemplate_566a6f1faedf33fa74e766970bb3f0f1 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'wrap' => [$this, 'block_wrap'],
'header' => [$this, 'block_header'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@ProductsNotifications/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/dashboard/messages/details.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/dashboard/messages/details.html.twig"));
// line 3
$this->extensions['App\Twig\Extension\DomExtension']->dom_title_($context, "section", "Messages");
// line 1
$this->parent = $this->loadTemplate("@ProductsNotifications/base.html.twig", "@ProductsNotifications/dashboard/messages/details.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_wrap($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrap"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "wrap"));
echo "content__area--uilib reports";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 8
echo " ";
$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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 9, $this->source); })()), "title", [], "any", false, false, false, 9), "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", false, false, false, 9), "back" => ["text" => "Back to Messages", "link" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app.notifications.dashboard.messages.main")]])]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 27
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 28
echo " ";
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", false, false, false, 28)) {
// line 29
echo " <div class=\"content__data reports__message pt-2\">
<div class=\"blockgroup\">
<label class=\"blockgroup__label\">Message</label>
<h2 class=\"h4\">";
// line 32
echo twig_escape_filter($this->env, 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.', 32, $this->source); })()), "title", [], "any", false, false, false, 32), "html", null, true);
echo "</h2>
</div>
</div>
";
} else {
// line 36
echo "
<div class=\"content__data reports__message pt-2\">
";
// line 38
$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" => [0 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 43, $this->source); })()), "id", [], "any", false, false, false, 43)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 45
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "attributes", [], "any", false, false, false, 45), "get", [0 => "_route"], "method", false, false, false, 45) === "app.notifications.dashboard.messages.report")], 1 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 50, $this->source); })()), "id", [], "any", false, false, false, 50)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 52
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "attributes", [], "any", false, false, false, 52), "get", [0 => "_route"], "method", false, false, false, 52) === "app.notifications.dashboard.messages.logs")], 2 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 57, $this->source); })()), "id", [], "any", false, false, false, 57)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 59
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 59, $this->source); })()), "request", [], "any", false, false, false, 59), "attributes", [], "any", false, false, false, 59), "get", [0 => "_route"], "method", false, false, false, 59) === "app.notifications.dashboard.messages.debugging")], 3 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 64, $this->source); })()), "id", [], "any", false, false, false, 64)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 66
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "request", [], "any", false, false, false, 66), "attributes", [], "any", false, false, false, 66), "get", [0 => "_route"], "method", false, false, false, 66) === "app.notifications.dashboard.messages.details")]]]), ['_args' => twig_to_array(["items" => [0 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 43, $this->source); })()), "id", [], "any", false, false, false, 43)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 45
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "request", [], "any", false, false, false, 45), "attributes", [], "any", false, false, false, 45), "get", [0 => "_route"], "method", false, false, false, 45) === "app.notifications.dashboard.messages.report")], 1 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 50, $this->source); })()), "id", [], "any", false, false, false, 50)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 52
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "attributes", [], "any", false, false, false, 52), "get", [0 => "_route"], "method", false, false, false, 52) === "app.notifications.dashboard.messages.logs")], 2 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 57, $this->source); })()), "id", [], "any", false, false, false, 57)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 59
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 59, $this->source); })()), "request", [], "any", false, false, false, 59), "attributes", [], "any", false, false, false, 59), "get", [0 => "_route"], "method", false, false, false, 59) === "app.notifications.dashboard.messages.debugging")], 3 => ["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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 64, $this->source); })()), "id", [], "any", false, false, false, 64)]), "active" => (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 66
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "request", [], "any", false, false, false, 66), "attributes", [], "any", false, false, false, 66), "get", [0 => "_route"], "method", false, false, false, 66) === "app.notifications.dashboard.messages.details")]]])]));
// line 74
echo " </div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProductsNotifications/dashboard/messages/details.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
{% do dom_title_section('Messages') %}
{% block wrap %}content__area--uilib reports{% endblock %}
{% block header %}
{% embed '@ui2022/schoolnow/header.html.twig' with {
title: message.title,
back: {
text: 'Back to Messages',
link: path('app.notifications.dashboard.messages.main'),
},
} %}
{% block actions %}
{% include '@ui2022/button--a.html.twig' with {
text: 'Clone message',
link: path('app.notifications.dashboard.messages.create', {
clone: message.id,
}),
styles: 'gray',
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
{% if not message.firstJob %}
<div class=\"content__data reports__message pt-2\">
<div class=\"blockgroup\">
<label class=\"blockgroup__label\">Message</label>
<h2 class=\"h4\">{{- message.title -}}</h2>
</div>
</div>
{% else %}
<div class=\"content__data reports__message pt-2\">
{% embed '@ui2022/tabs--static.html.twig' with {
items: [
{
text: 'Summary',
link: path('app.notifications.dashboard.messages.report', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.report')),
},
{
text: 'Logs',
link: path('app.notifications.dashboard.messages.logs', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.logs')),
},
{
text: 'Debugging',
link: path('app.notifications.dashboard.messages.debugging', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.debugging')),
},
{
text: 'Details',
link: path('app.notifications.dashboard.messages.details', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.details')),
},
],
} %}
{% block tab %}
{% include '@ProductsNotifications/dashboard/messages/includes/_message_details.html.twig' with { message: message, preview: true} %}
{% endblock %}
{% endembed %}
</div>
{% endif %}
{% endblock %}
", "@ProductsNotifications/dashboard/messages/details.html.twig", "/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/details.html.twig");
}
}
/* @ProductsNotifications/dashboard/messages/details.html.twig */
class __TwigTemplate_566a6f1faedf33fa74e766970bb3f0f1___194452935 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'actions' => [$this, 'block_actions'],
];
}
protected function doGetParent(array $context)
{
// line 8
return "@ui2022/schoolnow/header.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/dashboard/messages/details.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/dashboard/messages/details.html.twig"));
$this->parent = $this->loadTemplate("@ui2022/schoolnow/header.html.twig", "@ProductsNotifications/dashboard/messages/details.html.twig", 8);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
public function block_actions($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "actions"));
// line 16
echo " ";
$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
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 19, $this->source); })()), "id", [], "any", false, false, false, 19)]), "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", false, false, false, 19)]), "styles" => "gray"])]));
// line 23
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProductsNotifications/dashboard/messages/details.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
{% do dom_title_section('Messages') %}
{% block wrap %}content__area--uilib reports{% endblock %}
{% block header %}
{% embed '@ui2022/schoolnow/header.html.twig' with {
title: message.title,
back: {
text: 'Back to Messages',
link: path('app.notifications.dashboard.messages.main'),
},
} %}
{% block actions %}
{% include '@ui2022/button--a.html.twig' with {
text: 'Clone message',
link: path('app.notifications.dashboard.messages.create', {
clone: message.id,
}),
styles: 'gray',
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
{% if not message.firstJob %}
<div class=\"content__data reports__message pt-2\">
<div class=\"blockgroup\">
<label class=\"blockgroup__label\">Message</label>
<h2 class=\"h4\">{{- message.title -}}</h2>
</div>
</div>
{% else %}
<div class=\"content__data reports__message pt-2\">
{% embed '@ui2022/tabs--static.html.twig' with {
items: [
{
text: 'Summary',
link: path('app.notifications.dashboard.messages.report', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.report')),
},
{
text: 'Logs',
link: path('app.notifications.dashboard.messages.logs', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.logs')),
},
{
text: 'Debugging',
link: path('app.notifications.dashboard.messages.debugging', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.debugging')),
},
{
text: 'Details',
link: path('app.notifications.dashboard.messages.details', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.details')),
},
],
} %}
{% block tab %}
{% include '@ProductsNotifications/dashboard/messages/includes/_message_details.html.twig' with { message: message, preview: true} %}
{% endblock %}
{% endembed %}
</div>
{% endif %}
{% endblock %}
", "@ProductsNotifications/dashboard/messages/details.html.twig", "/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/details.html.twig");
}
}
/* @ProductsNotifications/dashboard/messages/details.html.twig */
class __TwigTemplate_566a6f1faedf33fa74e766970bb3f0f1___1989812457 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'tab' => [$this, 'block_tab'],
];
}
protected function doGetParent(array $context)
{
// line 38
return "@ui2022/tabs--static.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/dashboard/messages/details.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@ProductsNotifications/dashboard/messages/details.html.twig"));
$this->parent = $this->loadTemplate("@ui2022/tabs--static.html.twig", "@ProductsNotifications/dashboard/messages/details.html.twig", 38);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 70
public function block_tab($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "tab"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "tab"));
// line 71
echo " ";
$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])]));
// line 72
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@ProductsNotifications/dashboard/messages/details.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends '@ProductsNotifications/base.html.twig' %}
{% do dom_title_section('Messages') %}
{% block wrap %}content__area--uilib reports{% endblock %}
{% block header %}
{% embed '@ui2022/schoolnow/header.html.twig' with {
title: message.title,
back: {
text: 'Back to Messages',
link: path('app.notifications.dashboard.messages.main'),
},
} %}
{% block actions %}
{% include '@ui2022/button--a.html.twig' with {
text: 'Clone message',
link: path('app.notifications.dashboard.messages.create', {
clone: message.id,
}),
styles: 'gray',
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block content %}
{% if not message.firstJob %}
<div class=\"content__data reports__message pt-2\">
<div class=\"blockgroup\">
<label class=\"blockgroup__label\">Message</label>
<h2 class=\"h4\">{{- message.title -}}</h2>
</div>
</div>
{% else %}
<div class=\"content__data reports__message pt-2\">
{% embed '@ui2022/tabs--static.html.twig' with {
items: [
{
text: 'Summary',
link: path('app.notifications.dashboard.messages.report', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.report')),
},
{
text: 'Logs',
link: path('app.notifications.dashboard.messages.logs', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.logs')),
},
{
text: 'Debugging',
link: path('app.notifications.dashboard.messages.debugging', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.debugging')),
},
{
text: 'Details',
link: path('app.notifications.dashboard.messages.details', {
message: message.id,
}),
active: (app.request.attributes.get('_route') is same as('app.notifications.dashboard.messages.details')),
},
],
} %}
{% block tab %}
{% include '@ProductsNotifications/dashboard/messages/includes/_message_details.html.twig' with { message: message, preview: true} %}
{% endblock %}
{% endembed %}
</div>
{% endif %}
{% endblock %}
", "@ProductsNotifications/dashboard/messages/details.html.twig", "/var/www/campussuite/src/Products/NotificationsBundle/Resources/views/dashboard/messages/details.html.twig");
}
}