mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MINOR show ViewCount in document details view
This commit is contained in:
parent
0f89fba3a9
commit
1f89aad168
@ -756,7 +756,8 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
|
|||||||
new DateField_Disabled("LastEdited", _t('AssetTableField.LASTEDIT','Last changed') . ':', $this->LastEdited),
|
new DateField_Disabled("LastEdited", _t('AssetTableField.LASTEDIT','Last changed') . ':', $this->LastEdited),
|
||||||
new DateField_Disabled("LastChanged", _t('AssetTableField.LASTCHANGED','Last replaced') . ':', $this->LastChanged),
|
new DateField_Disabled("LastChanged", _t('AssetTableField.LASTCHANGED','Last replaced') . ':', $this->LastChanged),
|
||||||
new ReadonlyField("PublishedOn", "Published on". ':', $publishedOnValue),
|
new ReadonlyField("PublishedOn", "Published on". ':', $publishedOnValue),
|
||||||
new ReadonlyField("ReferencedOn", "Referenced on". ':', $relationListCountValue)
|
new ReadonlyField("ReferencedOn", "Referenced on". ':', $relationListCountValue),
|
||||||
|
new ReadonlyField("ViewCount", "View count". ':', $this->ViewCount)
|
||||||
)
|
)
|
||||||
)->setName("FilePreviewData")->addExtraClass('cms-file-info-data')
|
)->setName("FilePreviewData")->addExtraClass('cms-file-info-data')
|
||||||
)->setName("FilePreview")->addExtraClass('cms-file-info')
|
)->setName("FilePreview")->addExtraClass('cms-file-info')
|
||||||
|
Loading…
Reference in New Issue
Block a user