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.40 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.39 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.38 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.37 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.36 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.35 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.34 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.33 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.32 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.31 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.30 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.28 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.27 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.26 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.25 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim