Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #40 from dhensby/patch-1

Making Template vars explicit
  • Loading branch information...
commit 0cfd85afb10fd1b2d82a1a2c7a51e57dae354999 2 parents 828d04e + c5592c6
Aram Balakjian authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 templates/Includes/ItemPagination.ss
View
14 templates/Includes/ItemPagination.ss
@@ -1,15 +1,15 @@
-<% 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;
@@ -17,9 +17,9 @@
<% 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 %>
Please sign in to comment.
Something went wrong with that request. Please try again.