mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-06-30 16:39:25 +02: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.
|
* Add subsites-specific fields to the folder editor.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user