Skip to content
Browse files

Bug #27075 Fix past view and pagination broken in 30abfa8

  • Loading branch information...
1 parent 34bca1b commit 7296dc138af59a53cac906e4a307f5ecd45b4a58 @faction23 faction23 committed Apr 27, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 views/list/nav.php
View
6 views/list/nav.php
@@ -18,7 +18,7 @@
<ul class="tribe-events-sub-nav">
<!-- Left Navigation -->
<?php if( tribe_is_past() ) : ?>
- <li class="tribe-events-nav-previous tribe-events-nav-left tribe-events-past">
+ <li class="tribe-events-nav-next tribe-events-nav-left tribe-events-past">
<?php if( get_next_posts_link() ) : ?>
<a href="<?php tribe_get_past_link() ?>"><?php _e( '<span>&laquo;</span> Previous Events', 'tribe-events-calendar' ) ?></a>
<?php endif; ?>
@@ -37,10 +37,10 @@
<!-- Right Navigation -->
<?php if( tribe_is_past() ) : ?>
<?php if( get_query_var( 'paged' ) > 1 ) : ?>
- <li class="tribe-events-nav-next tribe-events-nav-right tribe-events-past">
+ <li class="tribe-events-nav-previous tribe-events-nav-right tribe-events-past">
<a href="<?php echo tribe_get_past_link() ?>" rel="next"><?php _e( 'Next Events <span>&raquo;</span>', 'tribe-events-calendar' ) ?></a>
<?php elseif( !get_previous_posts_link() ) : ?>
- <li class="tribe-events-nav-next tribe-events-nav-right">
+ <li class="tribe-events-nav-previous tribe-events-nav-right">
<a href="<?php echo tribe_get_upcoming_link() ?>" rel="next"><?php _e( 'Next Events <span>&raquo;</span>', 'tribe-events-calendar' ) ?></a>
<?php endif; ?>
</li><!-- .tribe-events-nav-previous -->

0 comments on commit 7296dc1

Please sign in to comment.
Something went wrong with that request. Please try again.