mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-06-25 05:59:36 +02:00
Added * to TreeTitle of folders that are public
This commit is contained in:
parent
f4a9690ec5
commit
9038b4c661
|
@ -14,6 +14,12 @@ class FileSubsites extends DataObjectDecorator {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function alternateTreeTitle() {
|
||||
if($this->owner->SubsiteID == 0) return " * " . $this->owner->Title;
|
||||
else return $this->owner->Title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add subsites-specific fields to the folder editor.
|
||||
|
|
Loading…
Reference in New Issue
Block a user