Onboarding: Add TOS note to bundle install. (https://github.com/woocommerce/woocommerce-admin/pull/5096)
This commit is contained in:
parent
3c6483e842
commit
6e419e14ee
|
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue