From ce7fddd4ea7cb8113be8d22d73dfb4007f3c0f58 Mon Sep 17 00:00:00 2001 From: hhamon Date: Mon, 28 Feb 2011 17:01:53 +0100 Subject: [PATCH] [SecurityBundle] updated profiler panel for the latest profiler theme --- .../views/Collector/security.html.twig | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig b/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig index 02fa802759..c10711fdcf 100644 --- a/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig +++ b/src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig @@ -16,18 +16,25 @@ {% endblock %} {% block menu %} -Security -Security + + Security + {% endblock %} {% block panel %}

Security

{% if collector.authenticated %} - Username: {{ collector.user }}
- Roles: {{ collector.roles|yaml_encode }} +

+ Username: {{ collector.user }}
+ Roles: {{ collector.roles|yaml_encode }} +

{% elseif collector.enabled %} - No token +

+ No token +

{% else %} - The security component is disabled +

+ The security component is disabled +

{% endif %} {% endblock %}