Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit 58f229a

Browse files
authored
Remove facility description from listOfSps (#125)
* Don't show facility description in listOfSps by default
1 parent e95b575 commit 58f229a

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
1111
- Changed the way of getting attribute names for interfaces: through internal attribute names in perun_attributes.php config
1212
- Return sorted eduPersonEntitlement
1313
- Don't show previous selection when user show all entries on the discovery page
14+
- ListOfSps - Don't show the description by default
1415

1516
## [v3.9.0]
1617
#### Added

templates/listOfSps-tpl.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@
9494
<tr>
9595
<th><?php echo $this->t('{perun:listOfSps:name}') ?></th>
9696
<th><?php echo $this->t('{perun:listOfSps:authenticate_protocol}') ?></th>
97-
<th><?php echo $this->t('{perun:listOfSps:description}') ?></th>
9897
<?php
9998
foreach ($attributesToShow as $attr) {
10099
if (!empty($samlServices)) {
@@ -122,7 +121,6 @@
122121
} else {
123122
echo '<td>' . $this->t('{perun:listOfSps:oidc}') . '</td>';
124123
}
125-
echo '<td>' . $service['facility']->getDescription() . '</td>';
126124
foreach ($attributesToShow as $attr) {
127125
$value = ListOfSps::printAttributeValue(
128126
$service['facilityAttributes'][$attr],

www/listOfSps.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@
169169
$a['authenticationProtocol'] = 'OIDC';
170170
}
171171

172-
$a['description'] = $service['facility']->getDescription();
173-
174172
foreach ($attributesToShow as $attr) {
175173
$parsedName = explode(':', $service['facilityAttributes'][$attr]['name']);
176174
$key = end($parsedName);

0 commit comments

Comments
 (0)