Update revert button text and description (#48717)
* Update Revert button text and description * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Add (Classic) as suffix instead of prefix * Button text should be in center * Fix: Button text isn't in center --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
bf6f3bbf41
commit
ab826271d3
|
@ -98,21 +98,22 @@ const RevertClassicTemplateButton = () => {
|
|||
} }
|
||||
>
|
||||
{ __(
|
||||
'Revert to Classic Product Template',
|
||||
'Revert to Classic Template',
|
||||
'woocommerce'
|
||||
) }
|
||||
</Button>
|
||||
<span>
|
||||
{ createInterpolateElement(
|
||||
__(
|
||||
`The <strongText /> template doesn’t allow for reordering or customizing blocks, but might work better with your extensions`,
|
||||
`The <strongText /> template doesn’t allow for reordering or customizing blocks, but might work better with your extensions.`,
|
||||
'woocommerce'
|
||||
),
|
||||
{
|
||||
strongText: (
|
||||
<strong>
|
||||
{ template?.record?.title
|
||||
?.rendered ?? '' }
|
||||
{ template?.record?.title?.rendered
|
||||
? `${ template.record.title.rendered } (Classic)`
|
||||
: '' }
|
||||
</strong>
|
||||
),
|
||||
}
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: $gap;
|
||||
|
||||
button {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
span {
|
||||
color: $gray-700;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix confusing messages prompting switch to classic templates
|
Loading…
Reference in New Issue