Use the alt class to get the correct style

This commit is contained in:
Kelly Dwan 2019-10-08 17:18:06 -04:00
parent b32fa5a0af
commit 985521b4da
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D

View file

@ -13,18 +13,22 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
<?php if ( ! empty( $messages ) ) : ?>
<div class="notice notice-error notice-alt">
<?php foreach ( $messages as $message ) : ?>
<div class="notice notice-error">
<?php echo wp_kses_post( $message ); ?>
</div>
<p><?php echo wp_kses_post( $message ); ?></p>
<?php endforeach; ?>
</div>
<?php endif; ?>
<?php if ( true === $complete ) : ?>
<div class="notice notice-info">
<?php esc_html_e( 'Thank you for your submission. You will receive an email confirmation.', 'wporg' ); ?>
<div class="notice notice-success notice-alt">
<p><?php esc_html_e( 'Thanks for pledging Five for the Future! Your new pledge profile has been created, and weve emailed you a link you can use to edit your pledge in the future. Your contributors have also been emailed a link to confirm their contributions with your organization.', 'wporg' ); ?></p>
<p><?php esc_html_e( 'Once your pledge has been approved by a moderator, it will appear in the pledges list.', 'wporg' ); ?></p>
<p><?php esc_html_e( 'Want to hire additional employees to contribute to WordPress? Post a job listing on jobs.wordpress.net.', 'wporg' ); ?></p>
</div>
<?php else : ?>