mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MINOR: Add document count to tab title
This commit is contained in:
parent
e7e98140cc
commit
3c05ca0316
@ -76,7 +76,7 @@ class DMSSiteTreeExtension extends DataExtension {
|
|||||||
);
|
);
|
||||||
|
|
||||||
$fields->addFieldsToTab(
|
$fields->addFieldsToTab(
|
||||||
'Root.Documents',
|
'Root.Documents (' . $this->owner->Documents()->Count() . ')',
|
||||||
array(
|
array(
|
||||||
$uploadBtn,
|
$uploadBtn,
|
||||||
$gridField
|
$gridField
|
||||||
|
Loading…
Reference in New Issue
Block a user