Display current team as check icon

This commit is contained in:
Brian Miyaji
2014-03-08 23:02:41 +11:00
parent ebc45d1452
commit 8d561f5639

View File

@@ -80,7 +80,7 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
$team = get_post( $team_id );
echo $team->post_title;
if ( $team_id == $current_team ):
echo ' (' . __( 'Current Team', 'sportspress' ) . ')';
echo '<span class="dashicons dashicons-yes" title="' . __( 'Current Team', 'sportspress' ) . '"></span>';
endif;
echo '<br>';
endforeach;