mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Merge pull request #421 from creative-commoners/pulls/2.3/subsites-virtual-labels
FIX Field labels for subsites virtual pages are no longer repeated
This commit is contained in:
commit
1595079156
@ -113,7 +113,7 @@ class SubsitesVirtualPage extends VirtualPage
|
||||
'Root.Main',
|
||||
TextareaField::create(
|
||||
'CustomMetaKeywords',
|
||||
$this->fieldLabel('CustomMetaTitle')
|
||||
$this->fieldLabel('CustomMetaKeywords')
|
||||
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
|
||||
'MetaKeywords'
|
||||
);
|
||||
@ -121,7 +121,7 @@ class SubsitesVirtualPage extends VirtualPage
|
||||
'Root.Main',
|
||||
TextareaField::create(
|
||||
'CustomMetaDescription',
|
||||
$this->fieldLabel('CustomMetaTitle')
|
||||
$this->fieldLabel('CustomMetaDescription')
|
||||
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
|
||||
'MetaDescription'
|
||||
);
|
||||
@ -129,7 +129,7 @@ class SubsitesVirtualPage extends VirtualPage
|
||||
'Root.Main',
|
||||
TextField::create(
|
||||
'CustomExtraMeta',
|
||||
$this->fieldLabel('CustomMetaTitle')
|
||||
$this->fieldLabel('CustomExtraMeta')
|
||||
)->setDescription(_t(__CLASS__ . '.OverrideNote', 'Overrides inherited value from the source')),
|
||||
'ExtraMeta'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user