Skip to content
Browse files

Making Template vars explicit

  • Loading branch information...
1 parent 688984c commit c5592c64c9120fbff0939b9f11cca5bdb8fb4521 @dhensby dhensby committed Oct 23, 2013
Showing with 7 additions and 7 deletions.
  1. +7 −7 templates/Includes/ItemPagination.ss
View
14 templates/Includes/ItemPagination.ss
@@ -1,25 +1,25 @@
-<% if Items.MoreThanOnePage %>
+<% if $Items.MoreThanOnePage %>
<div id="pageNumbers">
<p>
- <% if Items.NotFirstPage %>
+ <% if $Items.NotFirstPage %>
<a class="pages prev" href="$Items.PrevLink" title="View the previous page">Prev</a>
<% end_if %>
- <% loop Items.PaginationSummary(4) %>
- <% if CurrentBool %>
+ <% loop $Items.PaginationSummary(4) %>
+ <% if $CurrentBool %>
<span class="current">$PageNum</span>
<% else %>
- <% if Link %>
+ <% if $Link %>
<a href="$Link" title="View page number $PageNum">$PageNum</a>
<% else %>
&hellip;
<% end_if %>
<% end_if %>
<% end_loop %>
- <% if Items.NotLastPage %>
+ <% if $Items.NotLastPage %>
<a class="pages next" href="$Items.NextLink" title="View the next page">Next</a>
<% end_if %>
</p>
</div>
-<% end_if %>
+<% end_if %>

0 comments on commit c5592c6

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