Display full event results on hover in admin
This commit is contained in:
@@ -68,7 +68,9 @@ function sportspress_manage_posts_custom_column( $column, $post_id ) {
|
||||
endif;
|
||||
|
||||
if ( $team_result != null ):
|
||||
echo '<strong class="result">' . $team_result . '</strong> ';
|
||||
unset( $team_results['outcome'] );
|
||||
$team_results = implode( ' | ', $team_results );
|
||||
echo '<a class="result tips" title="' . $team_results . '" href="' . get_edit_post_link( $post_id ) . '">' . $team_result . '</a> ';
|
||||
endif;
|
||||
|
||||
echo $team->post_title;
|
||||
|
||||
@@ -87,8 +87,8 @@
|
||||
margin-bottom: 1px !important;
|
||||
}
|
||||
|
||||
.fixed .column-sp_team strong.result,
|
||||
.sp-calendar-table strong.result {
|
||||
.fixed .column-sp_team .result,
|
||||
.sp-calendar-table .result {
|
||||
background: #888;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
@@ -100,6 +100,12 @@
|
||||
display: inline-block;
|
||||
-webkit-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.fixed .column-sp_team .result:hover,
|
||||
.sp-calendar-table .result:hover {
|
||||
background: #2ea2cc;
|
||||
}
|
||||
|
||||
.fixed .column-sp_format,
|
||||
@@ -452,7 +458,7 @@ table.widefat select.sp-outcome {
|
||||
/* TipTip */
|
||||
|
||||
.tips {
|
||||
cursor: help !important;
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
#tiptip_holder {
|
||||
|
||||
@@ -852,7 +852,9 @@ if ( !function_exists( 'sportspress_edit_calendar_table' ) ) {
|
||||
endif;
|
||||
|
||||
if ( $team_result != null ):
|
||||
echo '<strong class="result">' . $team_result . '</strong> ';
|
||||
unset( $team_results['outcome'] );
|
||||
$team_results = implode( ' | ', $team_results );
|
||||
echo '<a class="result tips" title="' . $team_results . '" href="' . get_edit_post_link( $event->ID ) . '">' . $team_result . '</a> ';
|
||||
endif;
|
||||
|
||||
echo $name . '<br>';
|
||||
|
||||
@@ -152,6 +152,10 @@ SportsPress is currently in beta and is undergoing testing. We are still activel
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.6.1 =
|
||||
* Feature - Display full event results on hover over main team result in admin.
|
||||
* Feature - Add option to choose delimiter to use between team names in event titles.
|
||||
|
||||
= 0.6 =
|
||||
* Feature - New events shortcodes: countdown, events-calendar, and events-list.
|
||||
* Feature - New teams shortcode: league-table.
|
||||
|
||||
Reference in New Issue
Block a user