Sha256: 8be8b104394a91a38f1b5392200c0edfd87fcdfa4d116c7d3cd26b4517d2df8d

Contents?: true

Size: 641 Bytes

Versions: 21

Compression:

Stored size: 641 Bytes

Contents

ruby:
  klasses = []
  klasses << "covid_19" if alert.covid_19?
  klasses << "urgent" if alert.urgent?
  title = "Alert:"
  title = "COVID-19 (CONFIRMED) Alert:" if alert.covid_19?
li.patient-alert(class=(klasses.join(" ")) id="alert-#{alert.id}")
  i.fas.fa-exclamation-triangle
  span.title= title
  span.body= alert.notes
  span.author= alert.created_by.username
  span.date= l(alert.created_at.to_date)
  span.actions
    = link_to(patient_alert_path(alert.patient, alert),
              remote: true,
              method: :delete,
              data: { confirm: "Are you sure you want to remove this alert?" }) do
      i.fas.fa-trash

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.1.0 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.167 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.166 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.165 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.164 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.163 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.162 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.161 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.160 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.159 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.158 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.157 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.156 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.155 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.153 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.152 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.151 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.149 app/views/renalware/patients/alerts/_alert.html.slim
renalware-core-2.0.148 app/views/renalware/patients/alerts/_alert.html.slim