This commit is contained in:
Timmy Crawford 2020-09-03 16:35:06 -07:00 committed by GitHub
parent 3c6483e842
commit 6e419e14ee
2 changed files with 41 additions and 11 deletions

View File

@ -17,6 +17,7 @@ import { keys, get, pickBy } from 'lodash';
import { import {
H, H,
Card, Card,
Link,
SelectControl, SelectControl,
Form, Form,
TextControl, TextControl,
@ -361,6 +362,7 @@ class BusinessDetails extends Component {
) )
: ''; : '';
return ( return (
<div className="woocommerce-profile-wizard__footnote">
<Text variant="caption" as="p"> <Text variant="caption" as="p">
{ sprintf( { sprintf(
_n( _n(
@ -373,6 +375,26 @@ class BusinessDetails extends Component {
accountRequiredText accountRequiredText
) } ) }
</Text> </Text>
{ this.bundleInstall && (
<Text variant="caption" as="p">
{ interpolateComponents( {
mixedString: __(
'By installing Jetpack and WooCommerce Services plugins for free you agree to our {{link}}Terms of Service{{/link}}.',
'woocommerce-admin'
),
components: {
link: (
<Link
href="https://wordpress.com/tos/"
target="_blank"
type="external"
/>
),
},
} ) }
</Text>
) }
</div>
); );
} }

View File

@ -133,6 +133,14 @@
display: flex; display: flex;
text-decoration: none; text-decoration: none;
} }
.woocommerce-profile-wizard__footnote {
p {
color: $gray-700;
text-align: left;
margin-bottom: 12px;
}
}
} }
#woocommerce-layout__primary { #woocommerce-layout__primary {