From a7cce4013c5040a6c22e7f960e9549b64115089a Mon Sep 17 00:00:00 2001 From: anubis2814 <57196483+anubis2814@users.noreply.github.com> Date: Sun, 4 Jun 2023 22:04:32 -0400 Subject: [PATCH] New group button --- src/Content/GroupManager.php | 4 +++- view/templates/widget/group_list.tpl | 10 +++++++++- view/theme/frio/css/style.css | 17 ++++++++++++----- view/theme/smoothly/style.css | 3 ++- view/theme/vier/style.css | 8 ++++---- 5 files changed, 30 insertions(+), 12 deletions(-) diff --git a/src/Content/GroupManager.php b/src/Content/GroupManager.php index 9377ea32e..36765359b 100644 --- a/src/Content/GroupManager.php +++ b/src/Content/GroupManager.php @@ -151,10 +151,12 @@ class GroupManager '$title' => DI::l10n()->t('Groups'), '$groups' => $entries, '$link_desc' => DI::l10n()->t('External link to group'), + '$New_group_page' => 'register/', '$total' => $total, '$visible_groups' => $visibleGroups, '$showless' => DI::l10n()->t('show less'), - '$showmore' => DI::l10n()->t('show more')] + '$showmore' => DI::l10n()->t('show more'), + '$create_new_group' => DI::l10n()->t('Create new group')] ); } diff --git a/view/templates/widget/group_list.tpl b/view/templates/widget/group_list.tpl index fd71a8e9d..562900803 100644 --- a/view/templates/widget/group_list.tpl +++ b/view/templates/widget/group_list.tpl @@ -16,9 +16,16 @@ function showHideGroupList() {

{{$title}}

+ + +