Skip to content

Commit

Permalink
finished Template Delete process
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Mar 24, 2021
1 parent 6372f30 commit 6f1ef7a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ public function groupInfo() {
$this->set('groupergroupssubscribers', array());
$this->Flash->set(_txt('pl.grouperlite.message.flash.group-detail-members-failed'), array('key' => 'error'));
}

$this->set('grouperbaseurl', $this->Session->read('Plugin.Grouper.Api.url'));
}

/**
Expand Down Expand Up @@ -554,5 +556,7 @@ public function emaillistInfo() {
'enabled' => 'T',
'attributes' => array()
));
$this->set('grouperbaseurl', $this->Session->read('Plugin.Grouper.Api.url'));

}
}
4 changes: 2 additions & 2 deletions View/GrouperGroups/emaillistinfo.ctp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php $this->extend('/GrouperGroups/base'); ?>
<?php
$baseUrl = 'https://grouper.staging.at.internet2.edu/grouper/';
$path = 'grouperUi/app/UiV2Main.index';
$baseUrl = $grouperbaseurl;
$path = '/grouper/grouperUi/app/UiV2Main.index';
$groupOperation = '?operation=UiV2Group.viewGroup&groupId=';
$groupUrlBase = $baseUrl . $path . $groupOperation;
$attrOperation = '?operation=UiV2AttributeDefName.viewAttributeDefName&attributeDefNameId=';
Expand Down
4 changes: 2 additions & 2 deletions View/GrouperGroups/groupinfo.ctp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php $this->extend('/GrouperGroups/base'); ?>
<?php $this->Html->addCrumb('Group configuration'); ?>
<?php
$baseUrl = 'https://grouper.staging.at.internet2.edu/grouper/';
$path = 'grouperUi/app/UiV2Main.index';
$baseUrl = $grouperbaseurl;
$path = '/grouper/grouperUi/app/UiV2Main.index';
$groupOperation = '?operation=UiV2Group.viewGroup&groupId=';
$groupUrlBase = $baseUrl . $path . $groupOperation;
$attrOperation = '?operation=UiV2AttributeDefName.viewAttributeDefName&attributeDefNameId=';
Expand Down

0 comments on commit 6f1ef7a

Please sign in to comment.