Sha256: f3022bae84864fbd96a7e06220e7ce117de90853329fa2f6bbc276f24311b5e4
Contents?: true
Size: 1.09 KB
Versions: 45
Compression:
Stored size: 1.09 KB
Contents
<% if rows %> <% if rows.total_count > rows.count(:id) %> <%= link_to 'Print', 'javascript:void(0)', onclick: "$('#print_report_modal').modal('show');", class: 'btn' %> <div id="print_report_modal" class="modal hide fade"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> </div> <div class="modal-body"> <p> You will only be printing the current page of results (50 of <%= @rows.total_count %> total results). To print all results click the <strong>download full csv</strong> link at the bottom of the page.</p> <div class="row-fluid" > <div class="span8"></div> <div class="span1"> <%= print_button(@rows, true) %> </div> <div class="span1"> <button type="button" class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button> </div> </div> </div> </div> <% else %> <%= print_button(@rows) %> <% end %> <% end %>
Version data entries
45 entries across 45 versions & 1 rubygems