From a88a1cb1fec68baf510a86620a767b7e49971ada Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Mon, 27 Sep 2021 14:45:47 -0700 Subject: [PATCH] Added buttons to groups I manage page --- View/GrouperGroups/groupmember.ctp | 22 +++++------ View/GrouperGroups/groupowner.ctp | 63 ++++++++++++++++++++++++------ 2 files changed, 61 insertions(+), 24 deletions(-) diff --git a/View/GrouperGroups/groupmember.ctp b/View/GrouperGroups/groupmember.ctp index 1f2077a..00396cd 100644 --- a/View/GrouperGroups/groupmember.ctp +++ b/View/GrouperGroups/groupmember.ctp @@ -67,16 +67,17 @@ $numColumns = count($columns); 'group' => $group['name'], 'idx' => $key )) : ''; ?> - + - +   @@ -115,8 +116,7 @@ $numColumns = count($columns); 'group' => $wggroup['workingGroupId'], 'idx' => $key )) : ''; ?> - diff --git a/View/GrouperGroups/groupowner.ctp b/View/GrouperGroups/groupowner.ctp index 3a7d62e..9b1f66f 100644 --- a/View/GrouperGroups/groupowner.ctp +++ b/View/GrouperGroups/groupowner.ctp @@ -63,15 +63,34 @@ $numColumns = count($columns); - - - -   - - */ ?> + element('GrouperLite.Components/optAction', array( + 'member' => $group['optOut'], + 'action' => 'leavegroup', + 'group' => $group['name'], + 'idx' => $key + )) : ''; ?> + + + + +   + + + @@ -106,15 +125,32 @@ $numColumns = count($columns); - - - -   - - */ ?> + element('GrouperLite.Components/optAction', array( + 'member' => $group['optOut'], + 'action' => 'leavegroup', + 'group' => $group['name'], + 'idx' => $key + )) : ''; ?> + + + + +   + + + @@ -134,4 +170,5 @@ $numColumns = count($columns);

- \ No newline at end of file + +element('Components/subscriberList'); ?> \ No newline at end of file