Sha256: ffb3d9a44c7bd5d3ebd0328f15825339e080234d9a5dc63d083933008fe67cb4

Contents?: true

Size: 1.36 KB

Versions: 13

Compression:

Stored size: 1.36 KB

Contents

.summary-part--messages
  article.messages
    header
      h2
        = link_to title, renalware.patient_messaging_internal_messages_path(patient)
      ul
        li= link_to "View All", renalware.patient_messaging_internal_messages_path(patient), class: "button"

    - if messages.any?
      table.toggleable.easy-read data-controller="toggle"
        thead
          tr
            th.togglers.noprint= rows_toggler
            th.col-width-tiny
            th.col-width-date-time Date
            th.col-width-medium Author
            th.col-width-medium Subject
            th
              ' Body
              i(style="font-weight: normal") - toggle to see complete message
        - messages.each do |message|
          tbody
            tr
              td= row_toggler
              - if message.urgent?
                td
                  span.rounded.bg-orange-300.px-2 urgent
              - else
                td
              td= l(message.created_at)
              td= message.author
              td.with-ellipsis= message.subject
              td.with-ellipsis= message.body
            tr
              td
              td
              td(colspan=4)
                p
                  b
                    ' Sent to:
                  span= message.recipients.map(&:to_s).join(" & ")
                p= message.body

    - else
      p.empty-section No messages

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.166 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.165 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.164 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.163 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.162 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.161 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.160 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.159 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.158 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.157 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.156 app/components/renalware/patients/messages_component.html.slim
renalware-core-2.0.155 app/components/renalware/patients/messages_component.html.slim