MINOR: Add document count to tab title

This commit is contained in:
Andrew O'Neil 2012-09-03 13:29:13 +12:00
parent e7e98140cc
commit 3c05ca0316

View File

@ -76,7 +76,7 @@ class DMSSiteTreeExtension extends DataExtension {
);
$fields->addFieldsToTab(
'Root.Documents',
'Root.Documents (' . $this->owner->Documents()->Count() . ')',
array(
$uploadBtn,
$gridField