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.62 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.61 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.60 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.58 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.57 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.56 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.55 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.54 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.53 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.52 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.51 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.50 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.48 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.47 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.46 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.45 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.44 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.43 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.42 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.41 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim