| @@ 604-614 (lines=11) @@ | ||
| 601 | give_get_payment_status( $payment, true ) |
|
| 602 | ); |
|
| 603 | ||
| 604 | if ( $payment->mode == 'test' ) { |
|
| 605 | $value .= Give()->tooltips->render_span( array( |
|
| 606 | 'label' => __( 'This donation was made in test mode.', 'give' ), |
|
| 607 | 'tag_content' => __( 'Test', 'give' ), |
|
| 608 | 'attributes' => array( |
|
| 609 | 'class' => 'give-item-label give-item-label-orange give-test-mode-transactions-label', |
|
| 610 | ), |
|
| 611 | ||
| 612 | ||
| 613 | ) ); |
|
| 614 | } |
|
| 615 | ||
| 616 | if ( true === $payment->import && true === (bool) apply_filters( 'give_payment_show_importer_label', false ) ) { |
|
| 617 | $value .= sprintf( |
|
| @@ 87-95 (lines=9) @@ | ||
| 84 | ||
| 85 | $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>'; |
|
| 86 | ||
| 87 | if ( $payment->mode == 'test' ) { |
|
| 88 | $value .= Give()->tooltips->render_span( array( |
|
| 89 | 'label' => __( 'This donation was made in test mode.', 'give' ), |
|
| 90 | 'tag_content' => __( 'Test', 'give' ), |
|
| 91 | 'attributes' => array( |
|
| 92 | 'class' => 'give-item-label give-item-label-orange give-test-mode-transactions-label', |
|
| 93 | ), |
|
| 94 | ) ); |
|
| 95 | } |
|
| 96 | ||
| 97 | return $value; |
|
| 98 | ||