Add result count #2122

This commit is contained in:
Martin Lensment 2015-07-30 18:14:05 +03:00
parent 6ddaf2a09e
commit 82221da674
2 changed files with 5 additions and 1 deletions

View file

@ -75,8 +75,11 @@
%td= l(x.valid_to, format: :short)
%td= link_to(x.registrar, admin_registrar_path(x.registrar)) if x.registrar
.row
.col-md-12
.col-md-6
= paginate @domains
.col-md-6.text-right
.pagination
= t(:result_count, count: @domains.total_count)
:coffee
$(".js-reset-form").on "click", (e) ->

View file

@ -892,3 +892,4 @@ en:
contact_ident: 'Contact ident'
results_per_page: 'Results per page'
nameserver_hostname: 'Nameserver hostname'
result_count: '%{count} results'