From ce4c507e4593f377e8674aa9b7902542f3725b92 Mon Sep 17 00:00:00 2001 From: amosfolz <33728190+amosfolz@users.noreply.github.com> Date: Thu, 11 Jul 2019 10:28:29 -0400 Subject: [PATCH] Update user.html.twig Hide group name if user is not in a group. --- app/sprinkles/admin/templates/pages/user.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sprinkles/admin/templates/pages/user.html.twig b/app/sprinkles/admin/templates/pages/user.html.twig index 16522084a..350eb5254 100644 --- a/app/sprinkles/admin/templates/pages/user.html.twig +++ b/app/sprinkles/admin/templates/pages/user.html.twig @@ -94,7 +94,7 @@ {% endif %} -

{{user.user_name}}{% if 'group' not in fields.hidden %} • {{user.group.name}}{% endif %}

+

{{user.user_name}}{% if 'group' not in fields.hidden and user.group.name is not null %} • {{user.group.name}}{% endif %}

{% if 'email' not in fields.hidden %}