Skip to content

Commit

Permalink
removed links
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Sep 29, 2021
1 parent f29ba76 commit 36576b5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 52 deletions.
22 changes: 3 additions & 19 deletions View/GrouperGroups/groupmember.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,7 @@ $numColumns = count($columns);
<?php foreach ($groupmemberships as $key => $group) : ?>
<tr class="collapse collapse-adhoc-group-parent">
<td class="pl-3">
<a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
'action' => 'groupinfo',
'?' => array('groupname' => urlencode($group['name']))
)
) ?>" title="<?php echo $group['name']; ?>">
<?php echo $group['friendlyName'] ?? "No Name"; ?>
</a>
<?php echo $group['friendlyName'] ?? "No Name"; ?>
</td>
<?php if ($isuserowner === 'T') { ?>
<td>&mdash;</td>
Expand All @@ -67,8 +59,7 @@ $numColumns = count($columns);
'group' => $group['name'],
'idx' => $key
)) : ''; ?>
<button class="btn btn-grouper btn-block btn-primary btn-sm my-1 text-nowrap members-btn"
data-id="<?php echo urlencode($group['name']); ?>"><?php echo _txt('pl.grouperlite.action.members'); ?> <i class="fa fa-group"></i></button>
<button class="btn btn-grouper btn-block btn-primary btn-sm my-1 text-nowrap members-btn" data-id="<?php echo urlencode($group['name']); ?>"><?php echo _txt('pl.grouperlite.action.members'); ?> <i class="fa fa-group"></i></button>
<?php if ($isuserowner === 'T') : ?>
<?php
$baseUrl = $grouperbaseurl;
Expand Down Expand Up @@ -139,14 +130,7 @@ $numColumns = count($columns);
<?php foreach ($wggroup['Groups'] as $key => $group) : ?>
<tr class="collapse collapse-wg-<?php echo $wggroup['WGName']; ?>" id="collapse-wg-<?php echo $wggroup['WGName'] . '-' . $key; ?>">
<td class="pl-3">
<a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
'action' => 'groupinfo',
'?' => array('groupname' => urlencode($group['name']))
)
) ?>" title="<?php echo $group['name']; ?>">
<?php echo $group['WGApp'] ?? "No Name"; ?></a>
<?php echo $group['WGApp'] ?? "No Name"; ?>
</td>
<?php if ($isuserowner === 'T') : ?>
<td><?php echo $group['WGRole'] ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
Expand Down
8 changes: 1 addition & 7 deletions View/GrouperGroups/groupoptin.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ $numColumns = count($columns);
</tr>
<?php foreach ($groupoptins as $key => $group) : ?>
<tr class="collapse collapse-adhoc-group-parent">
<td class="pl-3"><a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
'action' => 'groupinfo',
'?' => array('groupname' => urlencode($group['name']))
)
) ?>" title="<?php echo $group['name']; ?>"><?php echo $group['friendlyName'] ?? "No Name"; ?></a>
<td class="pl-3"><?php echo $group['friendlyName'] ?? "No Name"; ?>
</td>
<td><?php echo $group['description'] ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
<td>
Expand Down
29 changes: 3 additions & 26 deletions View/GrouperGroups/groupowner.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,7 @@ $numColumns = count($columns);
<?php endif; ?>
<?php foreach ($groupsowners as $group) : ?>
<tr class="collapse collapse-adhoc-group-parent">
<td class="pl-3"><a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
'action' => 'groupinfo',
'?' => array('groupname' => urlencode($group['name']))
)
) ?>" title="<?php echo $group['name']; ?>"><?php echo $group['friendlyName'] ?? "No Name"; ?></a>
</td>
<td class="pl-3"><?php echo $group['friendlyName'] ?? "No Name"; ?></td>
<?php if ($isuserowner === 'T') { ?>
<td>&mdash;</td>
<?php } ?>
Expand Down Expand Up @@ -119,14 +112,7 @@ $numColumns = count($columns);
</tr>
<?php foreach ($wgowner['Groups'] as $key => $group) : ?>
<tr class="collapse collapse-wg-<?php echo $wgowner['WGName']; ?>" id="collapse-wg-<?php echo $wgowner['WGName'] . '-' . $key; ?>">
<td class="pl-3"><a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
'action' => 'groupinfo',
'?' => array('groupname' => urlencode($group['name']))
)
) ?>" title="<?php echo $group['name']; ?>"><?php echo $group['WGApp'] ?? "No Name"; ?></a>
</td>
<td class="pl-3"><?php echo $group['WGApp'] ?? "No Name"; ?></td>
<td><?php echo $group['WGRole'] ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
<td><?php echo $group['description'] ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
<td><?php echo isset($group['enabled']) && $group['enabled'] === 'T' ? 'Enabled' : 'Disabled'; ?></td>
Expand Down Expand Up @@ -163,16 +149,7 @@ $numColumns = count($columns);
<?php endforeach; ?>
<?php foreach ($wggroup['Groups'] as $key => $group) : ?>
<tr class="collapse collapse-wg-<?php echo $wggroup['WGName']; ?>" id="collapse-wg-<?php echo $wggroup['WGName'] . '-' . $key; ?>">
<td class="pl-3">
<a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
'action' => 'groupinfo',
'?' => array('groupname' => urlencode($group['name']))
)
) ?>" title="<?php echo $group['name']; ?>">
<?php echo $group['WGApp'] ?? "No Name"; ?></a>
</td>
<td class="pl-3"><?php echo $group['WGApp'] ?? "No Name"; ?></td>
<?php if ($isuserowner === 'T') : ?>
<td><?php echo $group['WGRole'] ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
<?php endif; ?>
Expand Down

0 comments on commit 36576b5

Please sign in to comment.