mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-20 10:03:43 +03:00
Style the email status indicator
This commit is contained in:
parent
f32d26ef47
commit
da76512d55
|
@ -32,6 +32,14 @@
|
|||
line-height: 1;
|
||||
}
|
||||
|
||||
.pledge-form .form-field__agree label {
|
||||
margin-bottom: 0;
|
||||
.pledge-form .form-field .email-status {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.pledge-form .email-status.is-confirmed {
|
||||
color: #297531;
|
||||
}
|
||||
|
||||
.pledge-form .email-status.is-unconfirmed {
|
||||
color: #c92c2c;
|
||||
}
|
||||
|
|
|
@ -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…
Reference in a new issue