Skip to content

Commit

Permalink
Fixed accessibility issues, fixed caret icon
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 27, 2021
1 parent f788073 commit ba3a92c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
4 changes: 2 additions & 2 deletions View/CoGrouperLites/display.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ echo $this->element('GrouperLite.base-styles');
</div>
</div>
<div class="col-xs-12 col-md-6 col-lg-4">
<h6 class="text-center mb-2 mt-2"><i class="fa fa-users"></i>&nbsp; <?php echo _txt('pl.grouperlite.dashboard.heading.groups'); ?></h6>
<h3 class="text-center mb-2 mt-2 h6"><i class="fa fa-users"></i>&nbsp; <?php echo _txt('pl.grouperlite.dashboard.heading.groups'); ?></h3>
<div class="px-4 d-flex flex-column justify-content-center align-items-center">
<a class="btn btn-primary btn-block text-nowrap" href="<?php print $this->Html->url(
array(
Expand Down Expand Up @@ -88,7 +88,7 @@ echo $this->element('GrouperLite.base-styles');
</div>
</div>
<div class="col-xs-12 col-md-6 col-lg-4 border-left">
<h6 class="text-center mb-2 mt-2"><i class="fa fa-envelope"></i>&nbsp; <?php echo _txt('pl.grouperlite.dashboard.heading.email-lists'); ?></h6>
<h3 class="text-center mb-2 mt-2 h6"><i class="fa fa-envelope"></i>&nbsp; <?php echo _txt('pl.grouperlite.dashboard.heading.email-lists'); ?></h3>
<div class="px-4 d-flex flex-column justify-content-center align-items-center">
<a class="btn btn-secondary btn-block text-nowrap" href="<?php print $this->Html->url(
array(
Expand Down
2 changes: 1 addition & 1 deletion View/Elements/Components/subscriberList.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="modal-dialog modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modal-title"><?php echo _txt('pl.grouperlite.group.info.members-heading'); ?></h5>
<h3 class="modal-title h5" id="modal-title"><?php echo _txt('pl.grouperlite.group.info.members-heading'); ?></h3>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
<span class="sr-only">Close</span>
Expand Down
2 changes: 1 addition & 1 deletion View/GrouperGroups/emaillistsmanage.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
<?php endif; ?>
<?php if (count($emailgroups) < 1) : ?>
<div class="alert alert-info">
<p class="lead mb-0 text-center"><?php echo _txt('pl.grouperlite.working-groups.zero-state'); ?></p>
<p class="lead mb-0 text-center"><?php echo _txt('pl.grouperlite.email-lists.zero-state'); ?></p>
</div>
<?php endif; ?>
5 changes: 5 additions & 0 deletions View/GrouperGroups/groupmember.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ $numColumns = count($columns);
</button>
</td>
</tr>
<?php if (!count($wggroup)) : ?>
<tr class="table-light collapse collapse-wg-working-group-parent show">
<td colspan="5" class="text-center">No working groups.</td>
</tr>
<?php endif; ?>
<?php foreach ($wgmemberships as $wggroup) : ?>
<tr class="table-light collapse collapse-wg-working-group-parent show">
<td colspan="<?php echo $numColumns - 2; ?>">
Expand Down
6 changes: 6 additions & 0 deletions View/GrouperGroups/groupowner.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ $numColumns = count($columns);
</button>
</td>
</tr>
<?php if (!count($wgowner)) : ?>
<tr class="table-light collapse collapse-wg-working-group-parent show">
<td colspan="5" class="text-center">No working groups.</td>
</tr>
<?php endif; ?>
<?php foreach ($wgowners as $wgowner) : ?>
<tr class="table-light collapse collapse-wg-working-group-parent show">
<td colspan="<?php echo $numColumns; ?>">
Expand All @@ -110,6 +115,7 @@ $numColumns = count($columns);
</button>
</td>
</tr>

<?php foreach ($wgowner['Groups'] as $key => $group) : ?>
<tr class="collapse collapse-wg-<?php echo $wgowner['WGName']; ?> collapse-wg-working-group" id="collapse-wg-<?php echo $wgowner['WGName'] . '-' . $key; ?>">
<td class="pl-3"><?php echo $group['WGApp'] ?? "No Name"; ?></td>
Expand Down

0 comments on commit ba3a92c

Please sign in to comment.