Преглед на файлове

Merge remote branch 'dator/change_twig_if_datacollector'

Fabien Potencier преди 14 години
родител
ревизия
c8ebb3f0c3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Bundle/SwiftmailerBundle/Resources/views/Collector/swiftmailer.html.twig

+ 1 - 1
src/Symfony/Bundle/SwiftmailerBundle/Resources/views/Collector/swiftmailer.html.twig

@@ -23,7 +23,7 @@
 {% endblock %}
 
 {% block panel %}
-    <h2>Messages {% if not collector.isSpool %} sent {% else %} spooled {% endif %}</h2>
+    <h2>Messages {{ collector.isSpool ? 'spooled' : 'sent' }}</h2>
 
     {% if not collector.messages %}
         <p>