Skip to content

Commit

Permalink
On single Error URL page, change 'Accepted icon to green checkmark
Browse files Browse the repository at this point in the history
Before, this was the AMP icon.
This was requested to change,
to be like the green checkmark on the
AMP Validation Error Index page.
  • Loading branch information
kienstra committed Sep 25, 2018
1 parent c714c21 commit 22c654d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/validation/class-amp-validation-error-taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@ public static function filter_manage_custom_columns( $content, $column_name, $te
$img_src = 'baseline-error';
break;
case self::VALIDATION_ERROR_ACK_ACCEPTED_STATUS:
$img_src = 'amp-logo-icon';
$img_src = 'baseline-check-circle-green';
break;
case self::VALIDATION_ERROR_ACK_REJECTED_STATUS:
$img_src = 'baseline-error-blue';
Expand All @@ -1718,7 +1718,7 @@ public static function filter_manage_custom_columns( $content, $column_name, $te
<?php endif; ?>
</option>
<?php endif; ?>
<option value="<?php echo esc_attr( self::VALIDATION_ERROR_ACK_ACCEPTED_STATUS ); ?>" <?php selected( self::VALIDATION_ERROR_ACK_ACCEPTED_STATUS, $term->term_group ); ?> data-status-icon="<?php echo esc_url( amp_get_asset_url( 'images/amp-logo-icon.svg' ) ); ?>">
<option value="<?php echo esc_attr( self::VALIDATION_ERROR_ACK_ACCEPTED_STATUS ); ?>" <?php selected( self::VALIDATION_ERROR_ACK_ACCEPTED_STATUS, $term->term_group ); ?> data-status-icon="<?php echo esc_url( amp_get_asset_url( 'images/baseline-check-circle-green.svg' ) ); ?>">
<?php esc_html_e( 'Accepted', 'amp' ); ?>
</option>
<option value="<?php echo esc_attr( self::VALIDATION_ERROR_ACK_REJECTED_STATUS ); ?>" <?php selected( self::VALIDATION_ERROR_ACK_REJECTED_STATUS, $term->term_group ); ?> data-status-icon="<?php echo esc_url( amp_get_asset_url( 'images/baseline-error-blue.svg' ) ); ?>">
Expand Down

0 comments on commit 22c654d

Please sign in to comment.