Sha256: 62744b88961643b9365b410d771cc9d207d78ffc0382564014058248e8bd4152

Contents?: true

Size: 793 Bytes

Versions: 1

Compression:

Stored size: 793 Bytes

Contents

- message = sent_receipt.message
- patient = Renalware::PatientPresenter.new(message.patient)

tr(class="#{ "urgent" if message.urgent?}" id=message.html_identifier)
  td=l(message.sent_at)
  td= default_patient_link(patient)
  td= patient.nhs_number
  td= message.patient.hospital_identifier
  td.col-width-medium-with-ellipsis= message.subject
  td= sent_receipt.recipient
  td
    = link_to "View",
              "##{message.html_preview_identifier}",
              data: { behaviour: "toggler" },
              class: :right
= content_tag(:tr,
              id: "#{message.html_preview_identifier}",
              style: "display: none",
              class: "#{ 'urgent' if message.urgent?}")
  td(colspan=6)
    .message-preview
      .subject= message.subject
      .body= message.body

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim