From b7654c8d16b95fd4daf9a5889072e5406395a62e Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko Date: Tue, 1 Feb 2022 18:58:39 +0200 Subject: [PATCH] Fixup "Groups: Update groups layout (#444)" --- Web/Presenters/templates/@listView.xml | 6 +++--- Web/Presenters/templates/User/Groups.xml | 23 +++++++++++------------ locales/en.strings | 1 + locales/ru.strings | 1 + 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/Web/Presenters/templates/@listView.xml b/Web/Presenters/templates/@listView.xml index ffdcf620..9b47d992 100644 --- a/Web/Presenters/templates/@listView.xml +++ b/Web/Presenters/templates/@listView.xml @@ -2,7 +2,7 @@ {block wrap}
- -
- + @@ -32,7 +32,7 @@ {/block} {block size} -
+
{if !is_null($thisUser) && $user->getId() === $thisUser->getId()} {tr("groups_list", $thisUser->getClubCount())} @@ -51,15 +51,15 @@ Фотография группы {/block} -{block infotable} +{block infoTable} - + - + @@ -73,11 +73,11 @@ {block actions} {var clubPinned = $thisUser->isClubPinned($x)} {if $x->canBeModifiedBy($thisUser ?? NULL) && ($clubPinned || $thisUser->getPinnedClubCount() <= 10)} - + {_check_community} - + {if $clubPinned} {_remove_from_left_menu} {else} @@ -89,16 +89,15 @@ - + - {/if} {/block} {block bottom} {if !is_null($thisUser) && $user->getId() === $thisUser->getId()}
-
+

{_open_new_group}

{_open_group_desc}
@@ -110,7 +109,7 @@ {_search_group_desc} - +
diff --git a/locales/en.strings b/locales/en.strings index fe40e638..55b6ba28 100644 --- a/locales/en.strings +++ b/locales/en.strings @@ -241,6 +241,7 @@ "only_administrators" = "Only administrators"; "website" = "Website"; "managed" = "Managed"; +"size" = "Size"; "administrators_one" = "$1 administrator"; "administrators_other" = "$1 administrators"; diff --git a/locales/ru.strings b/locales/ru.strings index 8a073ce0..085d9fae 100644 --- a/locales/ru.strings +++ b/locales/ru.strings @@ -250,6 +250,7 @@ "only_administrators" = "Только администраторы"; "website" = "Сайт"; "managed" = "Управляемые"; +"size" = "Размер"; "administrators_one" = "$1 администратор"; "administrators_few" = "$1 администратора";
Название: {_name}: {$x->getName()}
Размер:{_size}: {tr("participants", $x->getFollowersCount())}