Skip to content

Commit

Permalink
Related to Ticket ICPCO-118
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Mar 31, 2021
1 parent 3e1148f commit 270ad2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Lib/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,6 @@

'pl.grouperlite.search.tags.text' => 'Search',

'pl.grouperlite.pagination.counter' => 'Viewing {:start}-{:end} of {:count}'
'pl.grouperlite.pagination.counter' => 'Viewing {:start}-{:end} of {:count}',
'pl.grouperlite.attributes.zero-state' => 'No Attributes Associated to this Group.'
);
8 changes: 4 additions & 4 deletions View/Elements/Components/groupattributes.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
<tbody>
<?php foreach ($attributes as $attr) : ?>
<tr>
<td><?php echo $attr['displayName']; ?></td>
<td><?php echo $attr['description'] ?></td>
<td><?php echo $attr['attributeDefNameName']; ?></td>
<td><?php echo $attr['attributeDefName'] ?></td>
<td>
<a href="<?php echo $baseUrl . $attr['uuid']; ?>" class="btn btn-grouper btn btn-primary btn btn-raised btn btn-block" target="_blank" role="button">
<a href="<?php echo $baseUrl . $attr['attributeDefNameId']; ?>" class="btn btn-grouper btn btn-primary btn btn-raised btn btn-block" target="_blank" role="button">
<?php echo _txt('pl.grouperlite.action.view'); ?> <i class="fa fa-external-link"></i>
</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php if (count($attr) < 1) : ?>
<?php if (count($attributes) < 1) : ?>
<div class="alert alert-info">
<p class="lead mb-0 text-center"><?php echo _txt('pl.grouperlite.attributes.zero-state'); ?></p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion View/Elements/Components/navigation-groups.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
$createGroupUrl = $this->Html->url(
array(
'controller' => 'grouper_groups',
'action' => 'groupcreateform'
'action' => 'groupcreate'
)
);
?>
Expand Down

0 comments on commit 270ad2c

Please sign in to comment.