var/cache/dev/twig/11/112a9f3c46ea429bba00f2bc66e83596.php line 103

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. /* content/email/envoie_mail_page.html.twig */
  14. class __TwigTemplate_48b5d48a8cc999eeb8613070c4550aca extends 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/email/envoie_mail_page.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/email/envoie_mail_page.html.twig"));
  33.         // line 1
  34.         echo "<header class=\"page-header page-header-compact page-header-light border-bottom bg-white mb-4 positionToHeader\">
  35.     <div class=\"container-fluid px-4\">
  36.         <div class=\"page-header-content\">
  37.             <div class=\"row align-items-center justify-content-between pt-3\">
  38.                 <div class=\"col-auto\">
  39.                     <h1 class=\"text-center text-uppercase \"><i class=\"bi bi-send\"></i> Boîte de d'envoi</h1>
  40.                     <p class=\"text-center\">Consulter vos message envoyé.</p>
  41.                 </div>
  42.                 <div class=\"col-12 col-xl-auto mb-3\">
  43.                     <a class=\"btn btn-sm btn-primary \" href=\"";
  44.         // line 10
  45.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("reception_mail");
  46.         echo "\">
  47.                         <i class=\"bi bi-mailbox2\"></i> &nbsp;
  48.                         Boîte de reception
  49.                     </a>
  50.                 </div>
  51.             </div>
  52.         </div>
  53.     </div>
  54. </header>
  55. <div class=\"container-xl px-4 mt-2 mb-4 h-100\">
  56.     <div class=\"card mb-4\">
  57.         <div class=\"card-header \">Message envoyé</div>
  58.         <div class=\"card-body text-center\">
  59.             <table id=\"datatablesSimple\">
  60.                 <thead>
  61.                     <tr>
  62.                         <th></th>
  63.                         <th>A</th>
  64.                         <th>Sujet</th>
  65.                         <th>Date</th>
  66.                     </tr>
  67.                 </thead>
  68.                 <tfoot>
  69.                     <tr>
  70.                         <th></th>
  71.                         <th>A</th>
  72.                         <th>Sujet</th>
  73.                         <th>Date</th>
  74.                     </tr>
  75.                 </tfoot>
  76.                 <tbody class=\"text-dark \">
  77.                     ";
  78.         // line 52
  79.         $context["i"] = 0;
  80.         // line 53
  81.         echo "                    ";
  82.         $context['_parent'] = $context;
  83.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_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"falsefalsefalse53), "emailsSend", [], "any"falsefalsefalse53));
  84.         foreach ($context['_seq'] as $context["_key"] => $context["mail"]) {
  85.             // line 54
  86.             echo "                    <tr>
  87.                         <td>
  88.                             <a href=\"";
  89.             // line 58
  90.             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"nulltrue);
  91.             echo "\" class=\"_link\">
  92.                                 <i class=\"bi bi-send-check\" style=\"font-size: 2em; color: green;\"></i>
  93.                             </a>
  94.                         </td>
  95.                         <td> <a href=\"";
  96.             // line 65
  97.             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"nulltrue);
  98.             echo "\" class=\"_link\">
  99.                                 ";
  100.             // line 66
  101.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["mail"], "userPseudo", [], "any"falsefalsefalse66), "html"nulltrue);
  102.             echo "
  103.                             </a>
  104.                         </td>
  105.                         <td>
  106.                             <a href=\"";
  107.             // line 70
  108.             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"nulltrue);
  109.             echo "\" class=\"_link\">
  110.                                 ";
  111.             // line 71
  112.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["mail"], "title", [], "any"falsefalsefalse71), "html"nulltrue);
  113.             echo "
  114.                             </a>
  115.                         </td>
  116.                         <td> <a href=\"";
  117.             // line 74
  118.             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"nulltrue);
  119.             echo "\" class=\"_link\">
  120.                                 ";
  121.             // line 75
  122.             echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->formatDateTime($this->envtwig_get_attribute($this->env$this->source$context["mail"], "date", [], "any"falsefalsefalse75), "medium""medium"""null"gregorian""fr"), "html"nulltrue);
  123.             echo "
  124.                             </a> </td>
  125.                     </tr>
  126.                     ";
  127.             // line 79
  128.             $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);
  129.             // line 80
  130.             echo "                    ";
  131.         }
  132.         $_parent $context['_parent'];
  133.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['mail'], $context['_parent'], $context['loop']);
  134.         $context array_intersect_key($context$_parent) + $_parent;
  135.         // line 81
  136.         echo "                </tbody>
  137.             </table>
  138.         </div>
  139.     </div>
  140. </div>
  141. <script src=\"https://cdn.jsdelivr.net/npm/simple-datatables@latest\" crossorigin=\"anonymous\"></script>
  142. ";
  143.         
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  145.         
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  147.     }
  148.     public function getTemplateName()
  149.     {
  150.         return "content/email/envoie_mail_page.html.twig";
  151.     }
  152.     public function isTraitable()
  153.     {
  154.         return false;
  155.     }
  156.     public function getDebugInfo()
  157.     {
  158.         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,);
  159.     }
  160.     public function getSourceContext()
  161.     {
  162.         return new Source("<header class=\"page-header page-header-compact page-header-light border-bottom bg-white mb-4 positionToHeader\">
  163.     <div class=\"container-fluid px-4\">
  164.         <div class=\"page-header-content\">
  165.             <div class=\"row align-items-center justify-content-between pt-3\">
  166.                 <div class=\"col-auto\">
  167.                     <h1 class=\"text-center text-uppercase \"><i class=\"bi bi-send\"></i> Boîte de d'envoi</h1>
  168.                     <p class=\"text-center\">Consulter vos message envoyé.</p>
  169.                 </div>
  170.                 <div class=\"col-12 col-xl-auto mb-3\">
  171.                     <a class=\"btn btn-sm btn-primary \" href=\"{{path('reception_mail')}}\">
  172.                         <i class=\"bi bi-mailbox2\"></i> &nbsp;
  173.                         Boîte de reception
  174.                     </a>
  175.                 </div>
  176.             </div>
  177.         </div>
  178.     </div>
  179. </header>
  180. <div class=\"container-xl px-4 mt-2 mb-4 h-100\">
  181.     <div class=\"card mb-4\">
  182.         <div class=\"card-header \">Message envoyé</div>
  183.         <div class=\"card-body text-center\">
  184.             <table id=\"datatablesSimple\">
  185.                 <thead>
  186.                     <tr>
  187.                         <th></th>
  188.                         <th>A</th>
  189.                         <th>Sujet</th>
  190.                         <th>Date</th>
  191.                     </tr>
  192.                 </thead>
  193.                 <tfoot>
  194.                     <tr>
  195.                         <th></th>
  196.                         <th>A</th>
  197.                         <th>Sujet</th>
  198.                         <th>Date</th>
  199.                     </tr>
  200.                 </tfoot>
  201.                 <tbody class=\"text-dark \">
  202.                     {% set i = 0%}
  203.                     {% for mail in app.user.emailsSend %}
  204.                     <tr>
  205.                         <td>
  206.                             <a href=\"{{path('mail_view',  {id : i})}}\" class=\"_link\">
  207.                                 <i class=\"bi bi-send-check\" style=\"font-size: 2em; color: green;\"></i>
  208.                             </a>
  209.                         </td>
  210.                         <td> <a href=\"{{path('mail_view',  {id : i})}}\" class=\"_link\">
  211.                                 {{mail.userPseudo}}
  212.                             </a>
  213.                         </td>
  214.                         <td>
  215.                             <a href=\"{{path('mail_view',  {id : i})}}\" class=\"_link\">
  216.                                 {{mail.title}}
  217.                             </a>
  218.                         </td>
  219.                         <td> <a href=\"{{path('mail_view',  {id : i})}}\" class=\"_link\">
  220.                                 {{mail.date|format_datetime(locale='fr')}}
  221.                             </a> </td>
  222.                     </tr>
  223.                     {% set i = i + 1 %}
  224.                     {% endfor %}
  225.                 </tbody>
  226.             </table>
  227.         </div>
  228.     </div>
  229. </div>
  230. <script src=\"https://cdn.jsdelivr.net/npm/simple-datatables@latest\" crossorigin=\"anonymous\"></script>
  231. ""content/email/envoie_mail_page.html.twig""/home/clients/04fa2f0875cd0ec80d39116efaaa4c72/sites/voyance-telephone.eu/templates/content/email/envoie_mail_page.html.twig");
  232.     }
  233. }