Emphasize team results in admin list

This commit is contained in:
Brian Miyaji
2014-03-13 19:54:08 +11:00
parent 6b8ca8eb20
commit f147020807
2 changed files with 10 additions and 42 deletions

View File

@@ -38,8 +38,6 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
if ( ! $team_id ) continue;
$team = get_post( $team_id );
echo $team->post_title;
$team_results = sportspress_array_value( $results, $team_id, null );
if ( $main_result ):
@@ -54,9 +52,11 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
endif;
if ( $team_result != null ):
echo ' <strong>' . $team_result . '</strong>';
echo '<strong>' . $team_result . '</strong> ';
endif;
echo $team->post_title;
echo '<br>';
endforeach;
elseif ( $post_type == 'sp_player' ):