Skip to content

Commit

Permalink
Removed grouper button from ad-hoc groups
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 22, 2022
1 parent 060c958 commit 8b9539c
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions View/GrouperGroups/groupmember.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,6 @@ $collapsed = $config['defaultCollapse'] === 'collapsed' ? true : false;
)) : ''; ?>
<button class="btn btn-grouper btn-block btn-primary btn-sm m-1 text-nowrap members-btn" data-id="<?php echo urlencode($group['name']); ?>"><?php echo _txt('pl.grouperlite.action.members'); ?> <em class="material-icons mt-0" aria-hidden="true">group</em>
</button>
<?php if ($isuserowner === 'T') : ?>
<?php
$baseUrl = $grouperbaseurl;
$path = '/grouper/grouperUi/app/UiV2Main.index';
$groupOperation = '?operation=UiV2Group.viewGroup&groupId=';
$groupUrlBase = $baseUrl . $path . $groupOperation;
$attrOperation = '?operation=UiV2AttributeDefName.viewAttributeDefName&attributeDefNameId=';
$attrUrlBase = $baseUrl . $path . $attrOperation;
?>
<a href="<?php echo $groupUrlBase . $group['uuid']; ?>" class="btn btn-grouper btn-block btn-sm btn-success mt-0 text-nowrap" target="_blank" role="button">
<?php echo _txt('pl.grouperlite.action.grouper'); ?> &nbsp;
<em class="material-icons mt-0" aria-hidden="true">link</em>
</a>
<?php endif ?>
</span>
</td>
</tr>
Expand Down

0 comments on commit 8b9539c

Please sign in to comment.