* Seldaek/exception_template: [FrameworkBundle] Adjust styling and display of logs
@@ -91,16 +91,16 @@ build: 56
margin-left:20px;
}
-/* fix for Opera not liking empty <li> */
-.sf-exceptionreset .traces li:after {
- content: '\00A0'
-}
-
-.sf-exceptionreset #logs .traces em
+.sf-exceptionreset #logs .traces li.error
{
font-style:normal;
color:#AA3333;
- font-weight: bold;
+ background:#f9ecec;
+}
+
+/* fix for Opera not liking empty <li> */
+.sf-exceptionreset .traces li:after {
+ content: '\00A0'
.sf-exceptionreset .trace
@@ -1,12 +1,6 @@
<ol class="traces">
{% for log in logs %}
- <li>
- {% if log.priorityName in ['EMERG', 'ERR', 'CRIT', 'ALERT', 'ERROR', 'CRITICAL'] %}
- <em>{{ log.priorityName }}</em>
- {% else %}
- {{ log.priorityName }}
- {% endif %}
+ <li{% if log.priorityName in ['EMERG', 'ERR', 'CRIT', 'ALERT', 'ERROR', 'CRITICAL'] %} class="error"{% endif %}>
{{ log.message }}
</li>
{% endfor %}