Sha256: d053b69fa6f4e45453603a813880775f81dd6ea456e247aca37aefd38950736b
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
<% if rows %> <% if rows.total_count > 50 %> <%= 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 (<%= @report.resource_class.default_per_page %> 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
clark_kent-0.10.1 | app/views/clark_kent/reports/_print_report.html.erb |
clark_kent-0.10.0 | app/views/clark_kent/reports/_print_report.html.erb |