Project

General

Profile

« Previous | Next » 

Revision 0652c661

Added by Liza Gilman over 6 years ago

Fixes #20448 - display selected hosts counter

View differences:

app/views/hosts/_list.html.erb
<%= javascript "host_checkbox" %>
<% title header ||= "" %>
<span class="pull-right"><%= _("<b class='select_count'>0</b> of <b>#{@hosts.total_entries}</b> selected").html_safe %></span>
<table class="<%= table_css_classes 'table-fixed' %>">
<thead>
<tr>
......
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<%= will_paginate_with_info hosts, :more => " - "+_("<b class='select_count'>0</b> selected") %>
<%= will_paginate_with_info hosts %>

Also available in: Unified diff