Skip to content

Commit

Permalink
ui improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Apr 1, 2024
1 parent 700f48c commit 2911ca0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function beforeRender() {
$cfg = $this->CoGrouperLiteWidget->getConfig();
$this->set('vv_config', $cfg);

$this->set('title', _txt('pl.grouperlite.title.groupmember'));
$this->set('vv_title', _txt('pl.grouperlite.title.dashboard'));
$this->set('vv_is_user_owner', $this->GrouperGroup->isUserGroupOwner($this->userId ?? '', $cfg) );
// $this->set('vv_is_template_user', $this->GrouperGroup->isTemplateUser($this->userId ?? '', $cfg) );
// $this->set('vv_is_grouper_visible', $this->GrouperGroup->isGrouperVisible($this->userId ?? '', $cfg));
Expand Down
3 changes: 2 additions & 1 deletion Lib/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'pl.grouperlite.dashboard.heading.groups' => 'Groups',
'pl.grouperlite.dashboard.heading.email-lists' => 'Email lists',

'pl.grouperlite.title.root' => 'Grouper Collaborations:',
'pl.grouperlite.title.dashboard' => 'Grouper Lite Dashboard',
'pl.grouperlite.title.groupinfo' => 'Group configuration and attributes',
'pl.grouperlite.title.groupowner' => 'Groups I manage',
'pl.grouperlite.title.groupmember' => 'My Memberships',
Expand All @@ -48,6 +48,7 @@
'pl.grouperlite.title.emaillistsinfo' => 'Email list configuration and attributes',
'pl.grouperlite.title.groupcreate' => 'Create a group',
'pl.grouperlite.title.templatecreate' => 'Create a working group',
'pl.grouperlite.title.root' => 'Grouper Collaborations:',

'pl.grouperlite.message.flash.join-group-success' => 'You have been added to the group:',
'pl.grouperlite.message.flash.join-group-failed' => 'You are unable to join the group:',
Expand Down
2 changes: 1 addition & 1 deletion View/CoGrouperLiteWidgets/display.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ $idsuffix = rand();
<div class="row no-gutters">
<div class="col-xl-6 col-lg-8 col-xs-12">
<div class="border rounded container ml-0 mr-auto">
<div class="row no-gutters py-2">
<div class="row no-gutters py-2 mb-2">
<div class="col-xs-12 col-md-6">
<div class="p-4 h-100 d-flex flex-md-column justify-content-center flex-row align-items-center">
<?php print $this->Html->image('GrouperLiteWidget.grouper-logo.png', array('class' => 'logo-fluid')); ?>
Expand Down
4 changes: 2 additions & 2 deletions View/GrouperGroups/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ $this->extend('/GrouperGroups/base');
print $this->Html->script('GrouperLiteWidget.vue-router.js');

// Add Breadcrumb
$this->Html->addCrumb(_txt('pl.grouperlite.nav.memberships'));
$this->Html->addCrumb(_txt('pl.grouperlite.title.dashboard'));

?>
<!--/nocache-->
<div class="d-flex align-items-center mb-4">
<?= $this->Html->image('GrouperLiteWidget.Grouper.jpg', ['class' => 'img-fluid mr-2', 'style' => 'height: 50px']) ?>
<h1 class="h2"><?= $title; ?></h1>
<h1 class="h2"><?= $vv_title ?></h1>
</div>

<script type="module">
Expand Down

0 comments on commit 2911ca0

Please sign in to comment.