From b77103627f35f220b96acce9b4181d95fd688121 Mon Sep 17 00:00:00 2001 From: ayato <58212796+ayaaop@users.noreply.github.com> Date: Sun, 1 Jun 2025 18:35:06 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=B5=D1=80=D0=BD=D1=83=D0=BB=20=D0=B6?= =?UTF-8?q?=D0=B5=D0=BB=D1=82=D1=83=D1=8E=20=D1=81=D1=82=D1=80=D0=BE=D0=BA?= =?UTF-8?q?=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/Presenters/templates/User/Groups.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Web/Presenters/templates/User/Groups.xml b/Web/Presenters/templates/User/Groups.xml index 79c13d95..83d39e0b 100644 --- a/Web/Presenters/templates/User/Groups.xml +++ b/Web/Presenters/templates/User/Groups.xml @@ -8,7 +8,9 @@ {/block} {block header} - {if is_null($thisUser) || $user->getId() !== $thisUser->getId()} + {if !is_null($thisUser) && $user->getId() === $thisUser->getId()} + {_my_groups} + {else} {$user->getCanonicalName()} ยป {_groups} {/if} {/block} @@ -19,7 +21,7 @@ {if !is_null($thisUser) && $user->getId() === $thisUser->getId()}