Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Making Template vars explicit #40

Merged
merged 1 commit into from

2 participants

@dhensby
Collaborator

No description provided.

@arambalakjian arambalakjian merged commit 0cfd85a into arambalakjian:master
@dhensby dhensby deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 23, 2013
  1. @dhensby

    Making Template vars explicit

    dhensby authored
This page is out of date. Refresh to see the latest.
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 %>
Something went wrong with that request. Please try again.