| @@ 88-96 (lines=9) @@ | ||
| 85 | ||
| 86 | $value = '<div class="give-donation-status status-' . sanitize_title( give_get_payment_status( $payment, true ) ) . '"><span class="give-donation-status-icon"></span> ' . give_get_payment_status( $payment, true ) . '</div>'; |
|
| 87 | ||
| 88 | if ( $payment->mode == 'test' ) { |
|
| 89 | $value .= Give()->tooltips->render_span( array( |
|
| 90 | 'label' => __( 'This donation was made in test mode.', 'give' ), |
|
| 91 | 'tag_content' => __( 'Test', 'give' ), |
|
| 92 | 'attributes' => array( |
|
| 93 | 'class' => 'give-item-label give-item-label-orange give-test-mode-transactions-label', |
|
| 94 | ), |
|
| 95 | ) ); |
|
| 96 | } |
|
| 97 | ||
| 98 | return $value; |
|
| 99 | ||
| @@ 632-642 (lines=11) @@ | ||
| 629 | give_get_payment_status( $payment, true ) |
|
| 630 | ); |
|
| 631 | ||
| 632 | if ( $payment->mode == 'test' ) { |
|
| 633 | $value .= Give()->tooltips->render_span( array( |
|
| 634 | 'label' => __( 'This donation was made in test mode.', 'give' ), |
|
| 635 | 'tag_content' => __( 'Test', 'give' ), |
|
| 636 | 'attributes' => array( |
|
| 637 | 'class' => 'give-item-label give-item-label-orange give-test-mode-transactions-label', |
|
| 638 | ), |
|
| 639 | ||
| 640 | ||
| 641 | ) ); |
|
| 642 | } |
|
| 643 | ||
| 644 | if ( true === $payment->import && true === (bool) apply_filters( 'give_payment_show_importer_label', false ) ) { |
|
| 645 | $value .= sprintf( |
|