show more in search box

This commit is contained in:
Gabriel Bazán 2016-02-22 11:29:27 -03:00
commit aa71a34dec
2 changed files with 40 additions and 22 deletions

View file

@ -280,11 +280,17 @@
<div class="m20t text-center">
<a class="text-gray size-12"
ng-show="index.historyShowMore"
ng-click="index.showMore()">
<span translate>Show more</span> ({{index.completeHistory.length - index.txHistory.length}})
<i class="icon-arrow-down4"></i>
</a>
ng-show="index.historyShowMore && !index.isSearching"
ng-click="index.showMore()" >
{{index.completeHistory.length - index.txHistory.length}}<span translate>more</span>
<i class="icon-arrow-down4"></i>
</a>
<a class="text-gray size-12"
ng-show="index.historyShowMore && index.isSearching"
ng-click="index.showMore()">
{{index.result.length - index.txHistoryToList.length}} <span translate>more</span>
<i class="icon-arrow-down4"></i>
</a>
</div>
</div>