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.105 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.104 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.103 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.102 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.101 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.100 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.99 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.98 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.97 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.96 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.95 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.94 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.93 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.92 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.91 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.90 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.89 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.88 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.87 app/views/renalware/transplants/registration_statuses/_list.html.slim
renalware-core-2.0.86 app/views/renalware/transplants/registration_statuses/_list.html.slim