2023-06-19 12:13:30 +02:00
< ? 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 ;
2023-06-20 19:14:19 +02:00
/* @EasyAdmin/exception.html.twig */
class __TwigTemplate_781cc0e99d28b7782ded883066114d840159b73a982c46f13d1d5864785f5833 extends Template
2023-06-19 12:13:30 +02:00
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
2023-06-20 19:14:19 +02:00
'body_class' => [ $this , 'block_body_class' ],
'page_title' => [ $this , 'block_page_title' ],
'content_header_wrapper' => [ $this , 'block_content_header_wrapper' ],
'content_footer_wrapper' => [ $this , 'block_content_footer_wrapper' ],
'main' => [ $this , 'block_main' ],
2023-06-19 12:13:30 +02:00
];
}
2023-06-20 19:14:19 +02:00
protected function doGetParent ( array $context )
{
// line 1
return $this -> loadTemplate (( isset ( $context [ " layout_template_path " ]) || array_key_exists ( " layout_template_path " , $context ) ? $context [ " layout_template_path " ] : ( function () { throw new RuntimeError ( 'Variable "layout_template_path" does not exist.' , 1 , $this -> source ); })()), " @EasyAdmin/exception.html.twig " , 1 );
}
2023-06-19 12:13:30 +02:00
protected function doDisplay ( array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " template " , " @EasyAdmin/exception.html.twig " ));
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " template " , " @EasyAdmin/exception.html.twig " ));
2023-06-19 12:13:30 +02:00
2023-06-20 19:14:19 +02:00
$this -> getParent ( $context ) -> display ( $context , array_merge ( $this -> blocks , $blocks ));
2023-06-19 12:13:30 +02:00
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
}
2023-06-20 19:14:19 +02:00
// line 3
public function block_body_class ( $context , array $blocks = [])
2023-06-19 12:13:30 +02:00
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " body_class " ));
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " body_class " ));
2023-06-19 12:13:30 +02:00
2023-06-20 19:14:19 +02:00
echo " error " ;
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
2023-06-20 19:14:19 +02:00
// line 4
public function block_page_title ( $context , array $blocks = [])
2023-06-19 12:13:30 +02:00
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " page_title " ));
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " page_title " ));
2023-06-19 12:13:30 +02:00
2023-06-20 19:14:19 +02:00
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ] -> trans ( " page_title.exception " , [ " %count% " => 1 ], " EasyAdminBundle " ), " html " , null , true );
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
2023-06-20 19:14:19 +02:00
// line 6
public function block_content_header_wrapper ( $context , array $blocks = [])
2023-06-19 12:13:30 +02:00
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " content_header_wrapper " ));
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " content_header_wrapper " ));
2023-06-19 12:13:30 +02:00
2023-06-20 19:14:19 +02:00
echo " " ;
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
2023-06-20 19:14:19 +02:00
// line 7
public function block_content_footer_wrapper ( $context , array $blocks = [])
2023-06-19 12:13:30 +02:00
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " content_footer_wrapper " ));
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " content_footer_wrapper " ));
2023-06-19 12:13:30 +02:00
2023-06-20 19:14:19 +02:00
echo " " ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 8
public function block_main ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " main " ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " main " ));
// line 9
echo " <div class= \" error-message \" >
< h1 >< i class = \ " fa fa-fw fa-exclamation-circle \" ></i> " ;
// line 10
$this -> displayBlock ( " page_title " , $context , $blocks );
echo " </h1>
" ;
// line 11
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ] -> trans ( twig_get_attribute ( $this -> env , $this -> source , ( isset ( $context [ " exception " ]) || array_key_exists ( " exception " , $context ) ? $context [ " exception " ] : ( function () { throw new RuntimeError ( 'Variable "exception" does not exist.' , 11 , $this -> source ); })()), " publicMessage " , [], " any " , false , false , false , 11 ), twig_get_attribute ( $this -> env , $this -> source , ( isset ( $context [ " exception " ]) || array_key_exists ( " exception " , $context ) ? $context [ " exception " ] : ( function () { throw new RuntimeError ( 'Variable "exception" does not exist.' , 11 , $this -> source ); })()), " translationParameters " , [], " any " , false , false , false , 11 ), " EasyAdminBundle " ), " html " , null , true );
echo "
</ div >
" ;
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
public function getTemplateName ()
{
2023-06-20 19:14:19 +02:00
return " @EasyAdmin/exception.html.twig " ;
}
public function isTraitable ()
{
return false ;
2023-06-19 12:13:30 +02:00
}
public function getDebugInfo ()
{
2023-06-20 19:14:19 +02:00
return array ( 154 => 11 , 150 => 10 , 147 => 9 , 137 => 8 , 118 => 7 , 99 => 6 , 80 => 4 , 61 => 3 , 39 => 1 ,);
2023-06-19 12:13:30 +02:00
}
public function getSourceContext ()
{
2023-06-20 19:14:19 +02:00
return new Source ( " { % extends layout_template_path %}
{ % block body_class 'error' % }
{ % block page_title % }{{ 'page_title.exception' | trans ({ '%count%' : 1 }, 'EasyAdminBundle' ) }}{ % endblock % }
{ % block content_header_wrapper '' % }
{ % block content_footer_wrapper '' % }
{ % block main % }
< div class = \ " error-message \" >
< h1 >< i class = \ " fa fa-fw fa-exclamation-circle \" ></i> { { block('page_title') }}</h1>
{{ exception . publicMessage | trans ( exception . translationParameters , 'EasyAdminBundle' ) }}
</ div >
{ % endblock % }
" , " @ EasyAdmin / exception . html . twig " , " / home / poule / encrypted / stockage - syncable / www / development / html / caisse / vendor / easycorp / easyadmin - bundle / src / Resources / views / exception . html . twig " );
2023-06-19 12:13:30 +02:00
}
}