Indicate event status in logo block section

This commit is contained in:
Brian Miyaji
2016-09-01 22:41:34 +10:00
parent 9fd6ed0d51
commit 49a039cf13

View File

@@ -52,6 +52,9 @@
<h5 class="sp-event-results"> <h5 class="sp-event-results">
<?php echo '<span class="sp-result">' . apply_filters( 'sportspress_event_blocks_team_result_or_time', sp_get_time( $id ), $id ) . '</span>'; ?> <?php echo '<span class="sp-result">' . apply_filters( 'sportspress_event_blocks_team_result_or_time', sp_get_time( $id ), $id ) . '</span>'; ?>
</h5> </h5>
<span class="sp-event-status">
<?php _e( 'Preview', 'sportspress' ); ?>
</span>
<?php <?php
} }
@@ -60,6 +63,9 @@
<h5 class="sp-event-results"> <h5 class="sp-event-results">
<?php echo '<span class="sp-result">' . implode( '</span> - <span class="sp-result">', apply_filters( 'sportspress_event_blocks_team_result_or_time', $results, $id ) ) . '</span>'; ?> <?php echo '<span class="sp-result">' . implode( '</span> - <span class="sp-result">', apply_filters( 'sportspress_event_blocks_team_result_or_time', $results, $id ) ) . '</span>'; ?>
</h5> </h5>
<span class="sp-event-status">
<?php _e( 'Full Time', 'sportspress' ); ?>
</span>
<?php <?php
} }
?> ?>