浏览代码

[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 %}
     {% endset %}
     {% set text %}
     {% set text %}
         {% if collector.user %}
         {% if collector.user %}
-            {{ collector.user }} ({{ collector.authenticated ? 'auth.' : 'not auth.' }})
+            {{ collector.user }} {% if not collector.authenticated %}<em>(not auth.)</em>{% endif %}
         {% elseif collector.enabled %}
         {% elseif collector.enabled %}
             not authenticated
             not authenticated
         {% else %}
         {% else %}