Skip to content

Commit

Permalink
Put back pagination in html output
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome.gasperi@gmail.com committed May 8, 2014
1 parent 7dfa34d commit b44a684
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions themes/default/templates/getCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,26 @@
</div>
</div>
-->



<div class="row">
<div class="large-12 columns">
<ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-4 resto-pagination center"></ul>
</div>
</div>

<!-- Search result -->
<div class="row">
<div class="large-12 columns">
<ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-4 resto-content center"></ul>
</div>
</div>

<div class="row">
<div class="large-12 columns">
<ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-4 resto-pagination center"></ul>
</div>
</div>

<!-- Footer -->
<div class="row">
<div class="small-12 columns">
Expand Down
2 changes: 1 addition & 1 deletion themes/default/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
pagination += self.translate('_multipleResult', [json.totalResults]);
}

pagination += json.startIndex ? '&nbsp;|&nbsp;' + first + previous + self.translate('_pagination', [json.startIndex, json.lastIndex]) + next + last : '';
pagination += json.startIndex ? first + previous + self.translate('_pagination', [json.startIndex, json.lastIndex]) + next + last : '';

}

Expand Down

0 comments on commit b44a684

Please sign in to comment.