Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _inc/client/components/admin-notices/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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( '<div class="dops-notice__content">' );
$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( '<strong />', { html: this.innerHTML } ); } );
$notice.find( 'p' ).replaceWith( function () { return jQuery( '<div/>', { html: this.innerHTML } ); } );
$notice.prependTo( $adminNotices ).wrapInner( '<div class="dops-notice__content">' ).show();
$notice.prependTo( $adminNotices ).show();
} );
}

Expand Down
2 changes: 1 addition & 1 deletion _inc/client/components/jetpack-notices/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const DevModeNotice = React.createClass( {
return (
<SimpleNotice
showDismiss={ false }
status="is-basic"
status="is-info"
text={ text }
>
<NoticeAction
Expand Down