aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/webapp/apps/frontPageApp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-13 10:14:27 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-13 10:14:27 +0100
commit27d74ce4423d2ec48a9289169c97958526fed77b (patch)
tree38496ea999d9a496729e4a6d07e114876761c265 /src/main/resources/webapp/apps/frontPageApp
parent22cb83183828c7a4828c54e9b30597d276cfd73f (diff)
downloadesper-testing-27d74ce4423d2ec48a9289169c97958526fed77b.tar.gz
esper-testing-27d74ce4423d2ec48a9289169c97958526fed77b.tar.bz2
esper-testing-27d74ce4423d2ec48a9289169c97958526fed77b.tar.xz
esper-testing-27d74ce4423d2ec48a9289169c97958526fed77b.zip
o Adding PagingTableService.showNext()/nextDisabled() for better look when searching.
Diffstat (limited to 'src/main/resources/webapp/apps/frontPageApp')
-rwxr-xr-xsrc/main/resources/webapp/apps/frontPageApp/personList.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/webapp/apps/frontPageApp/personList.html b/src/main/resources/webapp/apps/frontPageApp/personList.html
index 41f2f63..2c14b01 100755
--- a/src/main/resources/webapp/apps/frontPageApp/personList.html
+++ b/src/main/resources/webapp/apps/frontPageApp/personList.html
@@ -46,10 +46,10 @@
</div>
</div>
<ul class="pager">
- <li class="previous" ng-show="persons.startIndex > 0">
+ <li ng-show="persons.showPrev()" class="previous {{{true: 'disabled', false: ''}[persons.prevDisabled()]}}">
<a ng-click="persons.prev()">&larr; Prev</a>
</li>
- <li class="next">
+ <li ng-show="persons.showNext()" class="next {{{true: 'disabled', false: ''}[persons.nextDisabled()]}}">
<a ng-click="persons.next()">Next &rarr;</a>
</li>
</ul>