Sha256: e87ac348b7cfae657b547f64982a784e566c61280653fbd6855431c7da3a7be7

Contents?: true

Size: 1.29 KB

Versions: 42

Compression:

Stored size: 1.29 KB

Contents

- if patient.has_ever_been_a_recipient?
  = link_to(patient_transplants_mdm_path(patient), class: "button with-icon secondary") do
    i.fa.fa-group
    = t(".mdm")

a.button.dropdown(href="#"
                  data-dropdown="tx-recip-options"
                  aria-controls="tx-recip-options"
                  aria-expanded="false")
  | Add
br

ul.f-dropdown#tx-recip-options(data-dropdown-content aria-hidden="true")
  = dropdown_btn_item enabled: policy(recipient_workup).new?,
                      title: t(".add_recipient_workup"),
                      url: edit_patient_transplants_recipient_workup_path(patient)

  = dropdown_btn_item enabled: policy(registration).new?,
                      title: t(".add_waitlist_registration"),
                      url: edit_patient_transplants_registration_path(patient)

  = dropdown_btn_item enabled: patient.has_ever_been_a_recipient?,
                      title: t(".add_recipient_operation"),
                      url: new_patient_transplants_recipient_operation_path(patient)

  = dropdown_btn_item enabled: true,
                      title: t(".add_investigation"),
                      url: new_patient_investigation_path(patient)

- unless patient.has_ever_been_a_recipient?
  = render "modality_missing_warning", message: t(".missing_modality_warning")

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
renalware-core-2.0.39 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.38 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.37 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.36 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.35 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.34 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.33 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.32 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.31 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.30 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.28 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.27 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.26 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.25 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.24 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.23 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.22 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.21 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.20 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.18 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim