Permalink
Browse files

Added an item in the toolbar when the mapping is invalid

  • Loading branch information...
1 parent 64deb49 commit e69a6fd75fa3979e35b7004e6da6e9aea3765997 @stof stof committed Oct 3, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 Resources/views/Collector/db.html.twig
View
3 Resources/views/Collector/db.html.twig
@@ -7,6 +7,9 @@
{% if collector.querycount > 0 %}
<span class="sf-toolbar-info-piece-additional-detail">in {{ '%0.2f'|format(collector.time * 1000) }} ms</span>
{% endif %}
+ {% if collector.invalidEntityCount > 0 %}
+ <span class="sf-toolbar-info-piece-additional sf-toolbar-status sf-toolbar-status-red"> </span>
+ {% endif %}
{% endset %}
{% set text %}
<div class="sf-toolbar-info-piece">

0 comments on commit e69a6fd

Please sign in to comment.