Sha256: 7e65ecbee67a54528274182490c6f11f147d48fc5659adaf0edc90fb3574379e

Contents?: true

Size: 1.14 KB

Versions: 135

Compression:

Stored size: 1.14 KB

Contents

/ This is displayed in pages printed using the browser (i.e. File -> Print), when we want instead to
/ direct the user to print using the provided Print button on the page, which will provide a better
/ printed output (usually via PDF).
/ While its possible of course to format all pages for printing using CSS, there are times when
/ generating a PDF from a custom HTML view guarantees a better experience, for example:
/ - we need a very different layout
/ - we want to control headers and footers
/ - there are table rows which are not displaying correctly in html (perhaps creating orphaned rows)
/   and we need to use for example nested tables to get an acceptable printable page.
/ - its useful for the user to be able to save a hard-copy PDF of the printed output
/
/ Think of custom HTML views turned into PDF using wkhtmltopdf as a pragmatic and quicker half-way
/ house towards creating more sophisticated and controllable printable PDF output using Prawn etc.
.panel.print-only
  h2
    | For best results please print by clicking on the Print button rather than printing
    |  this page directly.
    = image_tag "renalware/print-button-example.png"

Version data entries

135 entries across 135 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.126 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.125 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.124 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.123 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.121 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.120 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.119 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.118 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.117 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.116 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.115 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.113 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.112 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.111 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.110 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.109 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.108 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.106 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.105 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim