mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
FIX Change right title to description for alignment
This commit is contained in:
parent
a93d8046f4
commit
038c41f5bf
@ -161,7 +161,7 @@ class ContentReviewDefaultSettings extends DataExtension
|
|||||||
'Root.ContentReview',
|
'Root.ContentReview',
|
||||||
array(
|
array(
|
||||||
TextField::create('ReviewFrom', _t('ContentReview.EMAILFROM', 'From email address'))
|
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')),
|
TextField::create('ReviewSubject', _t('ContentReview.EMAILSUBJECT', 'Subject line')),
|
||||||
TextAreaField::create('ReviewBody', _t('ContentReview.EMAILTEMPLATE', 'Email template')),
|
TextAreaField::create('ReviewBody', _t('ContentReview.EMAILTEMPLATE', 'Email template')),
|
||||||
LiteralField::create(
|
LiteralField::create(
|
||||||
|
@ -483,7 +483,6 @@ class SiteTreeContentReview extends DataExtension implements PermissionProvider
|
|||||||
*/
|
*/
|
||||||
public function canBeReviewedBy(Member $member = null)
|
public function canBeReviewedBy(Member $member = null)
|
||||||
{
|
{
|
||||||
return true;
|
|
||||||
if (!$this->owner->obj("NextReviewDate")->exists()) {
|
if (!$this->owner->obj("NextReviewDate")->exists()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user