mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-02 01:01:18 +03:00
Use the alt
class to get the correct style
This commit is contained in:
parent
b32fa5a0af
commit
985521b4da
|
@ -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 we’ve 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 : ?>
|
||||
|
|
Loading…
Reference in a new issue