Skip to content

Commit

Permalink
Merge branch 'develop' of bitbucket.org:unicon/comanagework into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Aug 24, 2021
2 parents 6456286 + 5780b82 commit f6d86c8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
22 changes: 14 additions & 8 deletions View/GrouperGroups/groupmember.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ $numColumns = count($columns);
<tbody>
<tr class="table-secondary">
<td colspan="<?php echo $numColumns; ?>">
<p class="h6 fw-bold m-0">Ad-hoc groups</p>
<button type="button" class="btn btn-link btn-text collapse-btn fw-bold m-0" data-toggle="collapse" data-target=".collapse-adhoc-group-parent" role="button" aria-expanded="false">
Ad-hoc groups
<i class="fa fa-caret-up fa-sm"></i>
</button>
</td>
</tr>
<?php foreach ($groupmemberships as $key => $group) : ?>
<tr>
<tr class="collapse collapse-adhoc-group-parent show">
<td class="pl-3"><a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
Expand All @@ -66,19 +69,22 @@ $numColumns = count($columns);
<tbody>
<tr class="table-secondary">
<td colspan="<?php echo $numColumns; ?>">
<p class="h6 fw-bold m-0">Working groups</p>
<button type="button" class="btn btn-link btn-text collapse-btn fw-bold m-0" data-toggle="collapse" data-target=".collapse-wg-working-group-parent" role="button" aria-expanded="false">
Working groups
<i class="fa fa-caret-up fa-sm"></i>
</button>
</td>
</tr>
<?php foreach ($wgmemberships as $wggroup) : ?>
<tr class="table-light">
<tr class="table-light collapse collapse-wg-working-group-parent show">
<td colspan="<?php echo $numColumns - 2; ?>">
<button type="button" class="btn btn-link btn-text collapse-btn fw-bold m-0 collapsed" data-toggle="collapse" data-target=".collapse-wg-<?php echo $wggroup['WGName']; ?>" role="button" aria-expanded="false">
<?php echo $wggroup['WGName'] ?? "No Name"; ?>
<i class="fa fa-caret-down fa-sm"></i>
</button>
</td>
<td>
<?php echo $wggroup['workingDesc'] ?? " "; ?>
<?php echo $wggroup['workingDesc'] ?? " "; ?>
</td>
<td>
<?php echo $wggroup['optOut'] ? $this->element('GrouperLite.Components/optAction', array(
Expand All @@ -105,9 +111,9 @@ $numColumns = count($columns);
<td><?php echo $group['WGRole'] ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
<?php endif; ?>
<?php if (strpos($group['WGApp'], '@lists') !== false) : ?>
<td><?php echo _txt('pl.grouperlite.value.email' ); ?></td>
<?php else: ?>
<td><?php echo _txt('pl.grouperlite.value.'.$group['WGApp'] ) ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
<td><?php echo _txt('pl.grouperlite.value.email'); ?></td>
<?php else : ?>
<td><?php echo _txt('pl.grouperlite.value.' . $group['WGApp']) ?? _txt('pl.grouperlite.value.descr.zerostate'); ?></td>
<?php endif; ?>
<td>

Expand Down
14 changes: 10 additions & 4 deletions View/GrouperGroups/groupoptin.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ $numColumns = count($columns);
<tbody>
<tr class="table-secondary">
<td colspan="<?php echo $numColumns; ?>">
<p class="h6 fw-bold m-0">Ad-hoc groups</p>
<button type="button" class="btn btn-link btn-text collapse-btn fw-bold m-0" data-toggle="collapse" data-target=".collapse-adhoc-group-parent" role="button" aria-expanded="false">
Ad-hoc groups
<i class="fa fa-caret-up fa-sm"></i>
</button>
</td>
</tr>
<?php foreach ($groupoptins as $key => $group) : ?>
<tr>
<tr class="collapse collapse-adhoc-group-parent show">
<td class="pl-3"><a href="<?php echo $this->Html->url(
array(
'controller' => 'grouper_groups',
Expand All @@ -64,11 +67,14 @@ $numColumns = count($columns);
<tbody>
<tr class="table-secondary">
<td colspan="<?php echo $numColumns; ?>">
<p class="h6 fw-bold m-0">Working groups</p>
<button type="button" class="btn btn-link btn-text collapse-btn fw-bold m-0" data-toggle="collapse" data-target=".collapse-wg-working-group-parent" role="button" aria-expanded="false">
Working groups
<i class="fa fa-caret-up fa-sm"></i>
</button>
</td>
</tr>
<?php foreach ($wgoptins as $i => $wgoptin) : ?>
<tr class="table-">
<tr class="table- collapse collapse-wg-working-group-parent show">
<td colspan="<?php echo $numColumns - 2; ?>">
<span class="h6"><?php echo $wgoptin['WGName'] ?? "No Name"; ?></span>
</td>
Expand Down

0 comments on commit f6d86c8

Please sign in to comment.