Sha256: 0d50ba3d3519b55301184f14048418d7c2a470d72608fa169d4309732c2898e0

Contents?: true

Size: 1.36 KB

Versions: 32

Compression:

Stored size: 1.36 KB

Contents

article.status-history.secondary
  header
    h3 Status History

    ul
      li= link_to "Update Status",
                  new_patient_transplants_registration_status_path(patient),
                  class: "button"

  table
    thead
      th.col-width-medium
      th.col-width-date Start Date
      th.col-width-date End Date
      th Status
      th By

    tbody
      - registration.statuses.reversed.each do |status|
        tr
          td
            = link_to "Edit",
                edit_patient_transplants_registration_status_path(patient, status)
            = pipe_separator
            = link_to "Delete",
                patient_transplants_registration_status_path(patient, status),
                method: :delete,
                data: { confirm: I18n.t("prompts.confirm_delete") }
            = pipe_separator
            = link_to("Toggle",
                      "#status-quick-preview-#{status.id}",
                      data: { behaviour: "toggler" })
          td= l(status.started_on)
          td= l(status.terminated_on) if status.terminated_on
          td= status.description
          td= status.updated_by.to_s

        = content_tag(:tr, id: "status-quick-preview-#{status.id}", style: "display: none")
          td(colspan=5)
            .quick-preview
              dl.dl-horizontal
                dt Notes
                dd= simple_format status.notes

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
renalware-core-2.0.85 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.84 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.83 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.82 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.81 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.80 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.79 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.78 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.77 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.76 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.75 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.74 app/views/renalware/transplants/registration_statuses/_list.html.slim