From 5551e0c09105a303d7e2822e3f206c2214589ab9 Mon Sep 17 00:00:00 2001 From: kiler129 Date: Sat, 19 May 2018 16:51:12 -0500 Subject: [PATCH] feature #26824 add exception chain breadcrumbs navigation --- .../TwigBundle/Resources/views/Exception/exception.html.twig | 4 ++-- .../TwigBundle/Resources/views/Exception/traces.html.twig | 2 +- .../Bundle/TwigBundle/Resources/views/exception.css.twig | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig b/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig index 2f29571ae327..00b1988ec3e6 100644 --- a/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig +++ b/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/exception.html.twig @@ -3,10 +3,10 @@

{% for previousException in exception.allPrevious|reverse %} - {{ previousException.class|abbr_class }} + {{ previousException.class|abbr_class }} {{ include('@Twig/images/chevron-right.svg') }} {% endfor %} - {{ exception.class|abbr_class }} + {{ exception.class|abbr_class }}

HTTP {{ status_code }} {{ status_text }} diff --git a/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig b/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig index 29952e2cb75b..01f3796079c0 100644 --- a/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig +++ b/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig @@ -1,4 +1,4 @@ -
+
diff --git a/src/Symfony/Bundle/TwigBundle/Resources/views/exception.css.twig b/src/Symfony/Bundle/TwigBundle/Resources/views/exception.css.twig index 8cd6e6d07c0c..e252281975e3 100644 --- a/src/Symfony/Bundle/TwigBundle/Resources/views/exception.css.twig +++ b/src/Symfony/Bundle/TwigBundle/Resources/views/exception.css.twig @@ -73,7 +73,7 @@ header .container { display: flex; justify-content: space-between; } .exception-summary { background: #B0413E; border-bottom: 2px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(0, 0, 0, .3); flex: 0 0 auto; margin-bottom: 15px; } .exception-metadata { background: rgba(0, 0, 0, 0.1); padding: 7px 0; } .exception-metadata .container { display: flex; flex-direction: row; justify-content: space-between; } -.exception-metadata h2 { color: rgba(255, 255, 255, 0.8); font-size: 13px; font-weight: 400; margin: 0; } +.exception-metadata h2, .exception-metadata h2 > a { color: rgba(255, 255, 255, 0.8); font-size: 13px; font-weight: 400; margin: 0; } .exception-http small { font-size: 13px; opacity: .7; } .exception-hierarchy { flex: 1; } .exception-hierarchy .icon { margin: 0 3px; opacity: .7; }