mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX #2391: Removed pagination header when there are no records.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80227 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2bd8782cdd
commit
836ab09fc8
@ -1,3 +1,4 @@
|
||||
<% if TotalCount %>
|
||||
<div class="PageControls">
|
||||
<input name="MemberListStart" id="MemberListStart" type="hidden" value="$MemberListStart" />
|
||||
<% if LastLink %><a class="Last" href="$LastLink" title="<% _t('VIEWLAST', 'View last') %> $PageSize <% _t('LASTMEMBERS', 'members') %>"><img src="cms/images/pagination/record-last.png" alt="View last $PageSize members" /></a>
|
||||
@ -13,3 +14,4 @@
|
||||
<% else %><img class="Next" src="cms/images/pagination/record-next-g.png" alt="<% _t('VIEWNEXT', 'View next') %> $PageSize <% _t('NEXTMEMBERS', 'members') %>" /><% end_if %>
|
||||
|
||||
</div>
|
||||
<% end_if %>
|
Loading…
Reference in New Issue
Block a user