| @@ -360,9 +360,9 @@ | ||
| 360 | 360 | |
| 361 | 361 | } |
| 362 | 362 | |
| 363 | 363 | if( current_user_can( gamipress_get_manager_capability() ) ) { |
| 364 | - $columns['action'] = __( 'Action', 'gamipress' ); | |
| 364 | + $columns['action'] = __( 'Actions', 'gamipress' ); | |
| 365 | 365 | } |
| 366 | 366 | |
| 367 | 367 | return $columns; |
| 368 | 368 | } |
| @@ -685,8 +685,14 @@ | ||
| 685 | 685 | ) ); |
| 686 | 686 | ?> |
| 687 | 687 | |
| 688 | 688 | <span class="delete"><a class="error gamipress-revoke-user-earning" href="<?php echo esc_url( wp_nonce_url( $revoke_url, 'gamipress_revoke_achievement' ) ); ?>"><?php _e( 'Revoke Award', 'gamipress' ); ?></a></span> |
| 689 | + | |
| 690 | + <?php if( gamipress_is_achievement( $user_earning->post_id ) || gamipress_is_rank( $user_earning->post_id ) ) : ?> | |
| 691 | + <?php $credential_url = gamipress_get_credential_url( $user_earning ); ?> | |
| 692 | + <br> | |
| 693 | + <a class="gamipress-credential-link" href="<?php echo esc_url( $credential_url ); ?>" target="_blank"><?php _e( 'View Credential', 'gamipress' ); ?></a> | |
| 694 | + <?php endif; ?> | |
| 689 | 695 | |
| 690 | 696 | <?php |
| 691 | 697 | break; |
| 692 | 698 | } |