Sha256: 3999e7856831a64f6b4b0b34fe6ede1d7d650841cee4a1e48e652f5b751de177

Contents?: true

Size: 824 Bytes

Versions: 164

Compression:

Stored size: 824 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= sent_receipt.recipient
  td= l(sent_receipt.read_at)
  td= default_patient_link(patient)
  td= patient.nhs_number
  td= message.patient.hospital_identifier
  td.col-width-medium-with-ellipsis= message.subject
  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=8)
    .message-preview
      .subject= message.subject
      .body= message.body

Version data entries

164 entries across 164 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.166 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.165 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.164 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.163 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.162 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.161 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.160 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.159 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.158 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.157 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.156 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.155 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.153 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.152 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.151 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.149 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.148 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.147 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim
renalware-core-2.0.146 app/views/renalware/messaging/internal/receipts/_sent_receipt.html.slim