123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?php
-
- /* WebProfilerBundle:Collector:exception.html.twig */
- class __TwigTemplate_20f5c7e7f80b4e0287e520115d68f1ec extends Twig_Template
- {
- protected $parent;
-
- public function __construct(Twig_Environment $env)
- {
- parent::__construct($env);
-
- $this->parent = array();
- $this->blocks = array(
- 'head' => array($this, 'block_head'),
- 'menu' => array($this, 'block_menu'),
- 'panel' => array($this, 'block_panel'),
- );
- }
-
- public function getParent(array $context)
- {
- $parent = "WebProfilerBundle:Profiler:layout.html.twig";
- if ($parent instanceof Twig_Template) {
- $name = $parent->getTemplateName();
- $this->parent[$name] = $parent;
- $parent = $name;
- } elseif (!isset($this->parent[$parent])) {
- $this->parent[$parent] = $this->env->loadTemplate($parent);
- }
-
- return $this->parent[$parent];
- }
-
- protected function doDisplay(array $context, array $blocks = array())
- {
- $context = array_merge($this->env->getGlobals(), $context);
-
- $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
- }
-
- // line 3
- public function block_head($context, array $blocks = array())
- {
- // line 4
- echo " <link href=\"";
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/framework/css/exception.css"), "html");
- echo "\" rel=\"stylesheet\" type=\"text/css\" media=\"screen\" />
- ";
- // line 5
- echo $this->renderParentBlock("head", $context, $blocks);
- echo "
- ";
- }
-
- // line 8
- public function block_menu($context, array $blocks = array())
- {
- // line 9
- echo "<span class=\"label\">
- <span class=\"icon\"><img src=\"";
- // line 10
- echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("bundles/webprofiler/images/profiler/exception.png"), "html");
- echo "\" alt=\"Exception\" /></span>
- <strong>Exception</strong>
- <span class=\"count\">
- ";
- // line 13
- if ($this->getAttribute($this->getContext($context, 'collector'), "hasexception", array(), "any", false)) {
- // line 14
- echo " <span>1</span>
- ";
- }
- // line 16
- echo " </span>
- </span>
- ";
- }
-
- // line 20
- public function block_panel($context, array $blocks = array())
- {
- // line 21
- echo " <h2>Exception</h2>
-
- ";
- // line 23
- if ((!$this->getAttribute($this->getContext($context, 'collector'), "hasexception", array(), "any", false))) {
- // line 24
- echo " <p>
- <em>No exception was thrown and uncaught during the request.</em>
- </p>
- ";
- } else {
- // line 28
- echo " ";
- echo $this->env->getExtension('actions')->renderAction("WebProfilerBundle:Exception:show", array("exception" => $this->getAttribute($this->getContext($context, 'collector'), "exception", array(), "any", false), "format" => "html"), array());
- // line 29
- echo " ";
- }
- }
-
- public function getTemplateName()
- {
- return "WebProfilerBundle:Collector:exception.html.twig";
- }
-
- public function isTraitable()
- {
- return false;
- }
- }
|