From 7ae61c13240abffcca8c630df2384d81c5e100e6 Mon Sep 17 00:00:00 2001 From: Elio Rivero Date: Thu, 2 Feb 2017 17:50:46 -0300 Subject: [PATCH 1/2] Settings UI: update markup to adapt to changes in notices markup in dops --- _inc/client/components/admin-notices/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_inc/client/components/admin-notices/index.jsx b/_inc/client/components/admin-notices/index.jsx index de3deb56d6b8a..c5781b4e3ff39 100644 --- a/_inc/client/components/admin-notices/index.jsx +++ b/_inc/client/components/admin-notices/index.jsx @@ -11,11 +11,12 @@ const AdminNotices = React.createClass( { if ( $vpNotice.length > 0 ) { $vpNotice.each( function () { let $notice = jQuery( this ).addClass( 'dops-notice is-warning' ).removeClass( 'wrap vp-notice' ); + $notice.wrapInner( '
' ); $notice.find( 'a' ).addClass( 'dops-notice__action' ).appendTo( $notice ); $notice.find( '.vp-message' ).removeClass( 'vp-message' ).addClass( 'dops-notice__text' ); $notice.find( 'h3' ).replaceWith( function () { return jQuery( '', { html: this.innerHTML } ); } ); $notice.find( 'p' ).replaceWith( function () { return jQuery( '
', { html: this.innerHTML } ); } ); - $notice.prependTo( $adminNotices ).wrapInner( '
' ).show(); + $notice.prependTo( $adminNotices ).show(); } ); } From 7844b95aff1fbe4899282a7f9b1d641d88cbd292 Mon Sep 17 00:00:00 2001 From: Elio Rivero Date: Wed, 15 Feb 2017 16:16:45 -0300 Subject: [PATCH 2/2] Settings UI: restore status 'is-info' property --- _inc/client/components/jetpack-notices/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_inc/client/components/jetpack-notices/index.jsx b/_inc/client/components/jetpack-notices/index.jsx index 604cddaafd52b..5250f9a4f000c 100644 --- a/_inc/client/components/jetpack-notices/index.jsx +++ b/_inc/client/components/jetpack-notices/index.jsx @@ -120,7 +120,7 @@ export const DevModeNotice = React.createClass( { return (