Просмотр исходного кода

merged branch snc/issue-2589 (PR #2596)

Commits
-------

932c144 Added a class to the logs ol element to prevent hiding it when toggling an exception (fixes #2589).

Discussion
----------

Fix for issue 2589

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #2589

Added a class to the logs ol element to prevent hiding it when toggling an exception.
Fabien Potencier 13 лет назад
Родитель
Сommit
877e484529

+ 1 - 1
src/Symfony/Bundle/TwigBundle/Resources/views/Exception/logs.html.twig

@@ -1,4 +1,4 @@
-<ol class="traces">
+<ol class="traces logs">
     {% for log in logs %}
         <li{% if log.priorityName in ['EMERG', 'ERR', 'CRIT', 'ALERT', 'ERROR', 'CRITICAL'] %} class="error"{% endif %}>
             {{ log.message }}