소스 검색

[SecurityBundle] made a small tweak to the WDT panel

Fabien Potencier 14 년 전
부모
커밋
db27b4d288
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig

+ 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 %}