Forráskód Böngészése

[SecurityBundle] made a small tweak to the WDT panel

Fabien Potencier 14 éve
szülő
commit
db27b4d288

+ 1 - 1
src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig

@@ -6,7 +6,7 @@
     {% endset %}
     {% set text %}
         {% if collector.user %}
-            {{ collector.user }} ({{ collector.authenticated ? 'auth.' : 'not auth.' }})
+            {{ collector.user }} {% if not collector.authenticated %}<em>(not auth.)</em>{% endif %}
         {% elseif collector.enabled %}
             not authenticated
         {% else %}