mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
Added * to TreeTitle of folders that are public
This commit is contained in:
parent
f4a9690ec5
commit
9038b4c661
@ -15,6 +15,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…
x
Reference in New Issue
Block a user