mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Showing a readonly field for where settings are derived from
This commit is contained in:
parent
3017712dfb
commit
21b6b05fb7
@ -233,10 +233,13 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||||||
));
|
));
|
||||||
$logs = GridField::create('ROReviewNotes', 'Review Notes', $this->owner->ReviewLogs(), $logConfig);
|
$logs = GridField::create('ROReviewNotes', 'Review Notes', $this->owner->ReviewLogs(), $logConfig);
|
||||||
|
|
||||||
|
|
||||||
|
$optionsFrom = ReadonlyField::create('ROType', _t('ContentReview.SETTINGSFROM', "Options are"), $this->owner->ContentReviewType);
|
||||||
$fields->addFieldsToTab("Root.ContentReview", array(
|
$fields->addFieldsToTab("Root.ContentReview", array(
|
||||||
$contentOwners,
|
$contentOwners,
|
||||||
$nextReviewAt->performReadonlyTransformation(),
|
$nextReviewAt->performReadonlyTransformation(),
|
||||||
$reviewFreq,
|
$reviewFreq,
|
||||||
|
$optionsFrom,
|
||||||
$logs
|
$logs
|
||||||
));
|
));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user