<?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;
/* content/email/envoie_mail_page.html.twig */
class __TwigTemplate_48b5d48a8cc999eeb8613070c4550aca extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "content/email/envoie_mail_page.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/email/envoie_mail_page.html.twig"));
// line 1
echo "<header class=\"page-header page-header-compact page-header-light border-bottom bg-white mb-4 positionToHeader\">
<div class=\"container-fluid px-4\">
<div class=\"page-header-content\">
<div class=\"row align-items-center justify-content-between pt-3\">
<div class=\"col-auto\">
<h1 class=\"text-center text-uppercase \"><i class=\"bi bi-send\"></i> Boîte de d'envoi</h1>
<p class=\"text-center\">Consulter vos message envoyé.</p>
</div>
<div class=\"col-12 col-xl-auto mb-3\">
<a class=\"btn btn-sm btn-primary \" href=\"";
// line 10
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reception_mail");
echo "\">
<i class=\"bi bi-mailbox2\"></i>
Boîte de reception
</a>
</div>
</div>
</div>
</div>
</header>
<div class=\"container-xl px-4 mt-2 mb-4 h-100\">
<div class=\"card mb-4\">
<div class=\"card-header \">Message envoyé</div>
<div class=\"card-body text-center\">
<table id=\"datatablesSimple\">
<thead>
<tr>
<th></th>
<th>A</th>
<th>Sujet</th>
<th>Date</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th>A</th>
<th>Sujet</th>
<th>Date</th>
</tr>
</tfoot>
<tbody class=\"text-dark \">
";
// line 52
$context["i"] = 0;
// line 53
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 53, $this->source); })()), "user", [], "any", false, false, false, 53), "emailsSend", [], "any", false, false, false, 53));
foreach ($context['_seq'] as $context["_key"] => $context["mail"]) {
// line 54
echo " <tr>
<td>
<a href=\"";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mail_view", ["id" => (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 58, $this->source); })())]), "html", null, true);
echo "\" class=\"_link\">
<i class=\"bi bi-send-check\" style=\"font-size: 2em; color: green;\"></i>
</a>
</td>
<td> <a href=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mail_view", ["id" => (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 65, $this->source); })())]), "html", null, true);
echo "\" class=\"_link\">
";
// line 66
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["mail"], "userPseudo", [], "any", false, false, false, 66), "html", null, true);
echo "
</a>
</td>
<td>
<a href=\"";
// line 70
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mail_view", ["id" => (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 70, $this->source); })())]), "html", null, true);
echo "\" class=\"_link\">
";
// line 71
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["mail"], "title", [], "any", false, false, false, 71), "html", null, true);
echo "
</a>
</td>
<td> <a href=\"";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("mail_view", ["id" => (isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 74, $this->source); })())]), "html", null, true);
echo "\" class=\"_link\">
";
// line 75
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->env, twig_get_attribute($this->env, $this->source, $context["mail"], "date", [], "any", false, false, false, 75), "medium", "medium", "", null, "gregorian", "fr"), "html", null, true);
echo "
</a> </td>
</tr>
";
// line 79
$context["i"] = ((isset($context["i"]) || array_key_exists("i", $context) ? $context["i"] : (function () { throw new RuntimeError('Variable "i" does not exist.', 79, $this->source); })()) + 1);
// line 80
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mail'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 81
echo " </tbody>
</table>
</div>
</div>
</div>
<script src=\"https://cdn.jsdelivr.net/npm/simple-datatables@latest\" crossorigin=\"anonymous\"></script>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "content/email/envoie_mail_page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 162 => 81, 156 => 80, 154 => 79, 147 => 75, 143 => 74, 137 => 71, 133 => 70, 126 => 66, 122 => 65, 112 => 58, 106 => 54, 101 => 53, 99 => 52, 54 => 10, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<header class=\"page-header page-header-compact page-header-light border-bottom bg-white mb-4 positionToHeader\">
<div class=\"container-fluid px-4\">
<div class=\"page-header-content\">
<div class=\"row align-items-center justify-content-between pt-3\">
<div class=\"col-auto\">
<h1 class=\"text-center text-uppercase \"><i class=\"bi bi-send\"></i> Boîte de d'envoi</h1>
<p class=\"text-center\">Consulter vos message envoyé.</p>
</div>
<div class=\"col-12 col-xl-auto mb-3\">
<a class=\"btn btn-sm btn-primary \" href=\"{{path('reception_mail')}}\">
<i class=\"bi bi-mailbox2\"></i>
Boîte de reception
</a>
</div>
</div>
</div>
</div>
</header>
<div class=\"container-xl px-4 mt-2 mb-4 h-100\">
<div class=\"card mb-4\">
<div class=\"card-header \">Message envoyé</div>
<div class=\"card-body text-center\">
<table id=\"datatablesSimple\">
<thead>
<tr>
<th></th>
<th>A</th>
<th>Sujet</th>
<th>Date</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th>A</th>
<th>Sujet</th>
<th>Date</th>
</tr>
</tfoot>
<tbody class=\"text-dark \">
{% set i = 0%}
{% for mail in app.user.emailsSend %}
<tr>
<td>
<a href=\"{{path('mail_view', {id : i})}}\" class=\"_link\">
<i class=\"bi bi-send-check\" style=\"font-size: 2em; color: green;\"></i>
</a>
</td>
<td> <a href=\"{{path('mail_view', {id : i})}}\" class=\"_link\">
{{mail.userPseudo}}
</a>
</td>
<td>
<a href=\"{{path('mail_view', {id : i})}}\" class=\"_link\">
{{mail.title}}
</a>
</td>
<td> <a href=\"{{path('mail_view', {id : i})}}\" class=\"_link\">
{{mail.date|format_datetime(locale='fr')}}
</a> </td>
</tr>
{% set i = i + 1 %}
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
<script src=\"https://cdn.jsdelivr.net/npm/simple-datatables@latest\" crossorigin=\"anonymous\"></script>
", "content/email/envoie_mail_page.html.twig", "/home/clients/04fa2f0875cd0ec80d39116efaaa4c72/sites/voyance-telephone.eu/templates/content/email/envoie_mail_page.html.twig");
}
}