Sha256: 5e8831dc80a12efb8e7197c920c1cf08bec825b6dc4a9d0e8ae81a3b4f268088

Contents?: true

Size: 1.28 KB

Versions: 114

Compression:

Stored size: 1.28 KB

Contents

- if patient.ever_been_a_recipient?
  = link_to(patient_transplants_mdm_path(patient), class: "button with-icon secondary") do
    i.fas.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.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.ever_been_a_recipient?
  = render "modality_missing_warning", message: t(".missing_modality_warning")

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.166 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.165 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.164 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.163 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.162 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.161 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.160 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.159 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.158 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.157 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.156 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.155 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.153 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.152 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.151 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.149 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.148 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.147 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim
renalware-core-2.0.146 app/views/renalware/transplants/recipient_dashboards/_page_actions.html.slim