mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 18:35:46 +03:00
Style the email status indicator
This commit is contained in:
parent
f32d26ef47
commit
da76512d55
2 changed files with 18 additions and 6 deletions
|
@ -31,11 +31,15 @@ use WP_Post;
|
|||
|
||||
<?php if ( is_admin() ) : ?>
|
||||
<?php if ( $data['pledge-email-confirmed'] ) : ?>
|
||||
<span class="dashicons dashicons-yes-alt" aria-hidden="true"></span>
|
||||
<?php esc_html_e( 'Confirmed', 'wporg' ); ?>
|
||||
<p class="email-status is-confirmed">
|
||||
<span class="dashicons dashicons-yes-alt" aria-hidden="true"></span>
|
||||
<?php esc_html_e( 'Confirmed', 'wporg' ); ?>
|
||||
</p>
|
||||
<?php else : ?>
|
||||
<span class="dashicons dashicons-warning" aria-hidden="true"></span>
|
||||
<?php esc_html_e( 'Unconfirmed', 'wporg' ); ?>
|
||||
<p class="email-status is-unconfirmed">
|
||||
<span class="dashicons dashicons-warning" aria-hidden="true"></span>
|
||||
<?php esc_html_e( 'Unconfirmed', 'wporg' ); ?>
|
||||
</p>
|
||||
<?php submit_button(
|
||||
'Resend Confirmation',
|
||||
'secondary',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue