Fix - force people to use review bell

This commit is contained in:
Torleif West 2018-08-09 12:06:54 +12:00
parent 01c77790f7
commit cf31ca8b6e
2 changed files with 6 additions and 1 deletions

View File

@ -383,7 +383,11 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
->addExtraClass('custom-setting')
->setDescription(_t("ContentReview.REVIEWFREQUENCYDESCRIPTION", "The review date will be set to this far in the future whenever the page is published"));
$notesField = GridField::create("ReviewNotes", "Review Notes", $this->owner->ReviewLogs(), GridFieldConfig_RecordEditor::create());
$notesFieldConfig = GridFieldConfig_RecordEditor::create();
$notesFieldConfig->removeComponentsByType(new GridFieldAddNewButton());
$notesField = GridField::create("ReviewNotes", "Review Notes", $this->owner->ReviewLogs(), $notesFieldConfig)
->setDescription(_t("ContentReview.REVIEWNOTESDESCRIPTION", "To create a new review note, use the bell icon below when the pages is due for a review"));
$fields->addFieldsToTab("Root.ContentReview", array(
new HeaderField(_t("ContentReview.REVIEWHEADER", "Content review"), 2),

View File

@ -27,6 +27,7 @@ en:
REVIEWHEADER: 'Content review'
REVIEWNOTES: 'Review notes'
REVIEWSUCCESSFUL: 'Content reviewed successfully'
REVIEWNOTESDESCRIPTION: 'To create a new review note, use the bell icon below when the pages is due for a review'
SAVE: Save
SETTINGSFROM: 'Options are'
ContentReviewEmails: