FIX Change right title to description for alignment

This commit is contained in:
Robbie Averill 2017-09-07 14:43:41 +12:00
parent a93d8046f4
commit 038c41f5bf
2 changed files with 1 additions and 2 deletions

View File

@ -161,7 +161,7 @@ class ContentReviewDefaultSettings extends DataExtension
'Root.ContentReview',
array(
TextField::create('ReviewFrom', _t('ContentReview.EMAILFROM', 'From email address'))
->setRightTitle(_t('Review.EMAILFROM_RIGHTTITLE', 'e.g: do-not-reply@site.com')),
->setDescription(_t('Review.EMAILFROM_RIGHTTITLE', 'e.g: do-not-reply@site.com')),
TextField::create('ReviewSubject', _t('ContentReview.EMAILSUBJECT', 'Subject line')),
TextAreaField::create('ReviewBody', _t('ContentReview.EMAILTEMPLATE', 'Email template')),
LiteralField::create(

View File

@ -483,7 +483,6 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
*/
public function canBeReviewedBy(Member $member = null)
{
return true;
if (!$this->owner->obj("NextReviewDate")->exists()) {
return false;
}