Revert "Fix - force people to use review bell"

This reverts commit cdf9a7ddb4.
This commit is contained in:
Torleif West 2018-08-09 12:00:49 +12:00
parent cdf9a7ddb4
commit 418307aa04
2 changed files with 1 additions and 6 deletions

View File

@ -377,11 +377,7 @@ 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"));
$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"));
$notesField = GridField::create("ReviewNotes", "Review Notes", $this->owner->ReviewLogs(), GridFieldConfig_RecordEditor::create());
$fields->addFieldsToTab("Root.ContentReview", array(
new HeaderField(_t("ContentReview.REVIEWHEADER", "Content review"), 2),

View File

@ -27,7 +27,6 @@ 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: