From 4235883af3b20b9c759085a4e11e0d7cecf348d0 Mon Sep 17 00:00:00 2001 From: ayato <58212796+ayaaop@users.noreply.github.com> Date: Sun, 1 Jun 2025 17:31:12 +0500 Subject: [PATCH 1/2] feat(user>groups): make the search bar and create group button more accessible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Повторяет вид отсюда: https://archive.is/hZ59B --- Web/Presenters/templates/User/Groups.xml | 41 ++++++++---------------- Web/static/css/main.css | 13 +++----- locales/en.strings | 4 --- locales/hy.strings | 4 --- locales/id.strings | 6 +--- locales/kk.strings | 4 --- locales/ru.strings | 4 --- locales/ru_lat.strings | 4 --- locales/uk.strings | 4 --- 9 files changed, 19 insertions(+), 65 deletions(-) diff --git a/Web/Presenters/templates/User/Groups.xml b/Web/Presenters/templates/User/Groups.xml index d3528268..79c13d95 100644 --- a/Web/Presenters/templates/User/Groups.xml +++ b/Web/Presenters/templates/User/Groups.xml @@ -8,9 +8,7 @@ {/block} {block header} - {if !is_null($thisUser) && $user->getId() === $thisUser->getId()} - {_my_groups} - {else} + {if is_null($thisUser) || $user->getId() !== $thisUser->getId()} {$user->getCanonicalName()} » {_groups} {/if} {/block} @@ -21,7 +19,7 @@ {if !is_null($thisUser) && $user->getId() === $thisUser->getId()}