MINOR: Don't show 'show' link, as the popup doesn't provide any useful

details (from r87318)
This commit is contained in:
Tom Rix 2010-03-01 03:15:19 +00:00
parent aae828d408
commit 0b77a0fade

View File

@ -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) { if($reverse) {
$text = '<p>In addition, this page is marked as related by the following pages: </p><ul>'; $text = '<p>In addition, this page is marked as related by the following pages: </p><ul>';
foreach($reverse as $rpage) { foreach($reverse as $rpage) {