mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
MINOR: Don't show 'show' link, as the popup doesn't provide any useful
details (from r87318)
This commit is contained in:
parent
aae828d408
commit
0b77a0fade
@ -181,6 +181,9 @@ class SiteTreeSubsites extends SiteTreeDecorator {
|
||||
)
|
||||
);
|
||||
|
||||
// The 'show' link doesn't provide any useful info
|
||||
$related->setPermissions(array('add', 'edit', 'delete'));
|
||||
|
||||
if($reverse) {
|
||||
$text = '<p>In addition, this page is marked as related by the following pages: </p><ul>';
|
||||
foreach($reverse as $rpage) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user