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.1.1 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.1.0 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.167 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.166 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.165 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.164 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.163 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.162 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.161 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.160 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.159 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.158 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.157 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.156 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.155 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.153 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.152 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.151 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.149 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim
renalware-core-2.0.148 app/views/renalware/shared/_please_print_using_print_button_warning.html.slim