Sha256: 0dcbca4ff6775cd724a51b057f6624b56573b7b23ab8d9d68e671a54226cccfd

Contents?: true

Size: 1.74 KB

Versions: 62

Compression:

Stored size: 1.74 KB

Contents

= link_to(patient_hd_mdm_path(patient), class: "button with-icon secondary") do
  i.fas.fa-users
  = t(".mdm")
= link_to(patient_hd_protocol_path(patient), class: "button with-icon secondary") do
  i.fas.fa-print
  = t(".protocol")
a.button.dropdown.with-icon(href="#"
                            data-dropdown="pd-options"
                            aria-controls="pd-options"
                            aria-expanded="false")
  i.fas.fa-plus
  | Add
br
ul.f-dropdown#pd-options(data-dropdown-content aria-hidden="true")

  = dropdown_btn_item enabled: dashboard.can_add_hd_profile?,
                      title: t(".add_hd_profile"),
                      url: edit_patient_hd_current_profile_path(patient)

  = dropdown_btn_item enabled: dashboard.can_add_access_profile?,
                      title: t(".add_access_profile"),
                      url: new_patient_accesses_profile_path(patient)

  = dropdown_btn_item enabled: dashboard.can_add_preference_set?,
                      title: t(".add_preferences"),
                      url: edit_patient_hd_preference_set_path(patient)

  = dropdown_btn_item enabled: dashboard.can_add_session?,
                      title: t(".add_session"),
                      url: new_patient_hd_session_path(patient)

  = dropdown_btn_item enabled: dashboard.can_add_dna_session?,
                      title: t(".add_dna_session"),
                      url: new_patient_hd_session_path(@patient, type: :dna)

  = dropdown_btn_item enabled: policy(Renalware::Clinical::DryWeight).new?,
                      title: t(".add_dry_weight"),
                      url: new_patient_clinical_dry_weight_path(@patient)

- unless dashboard.has_ever_been_on_hd?
  = render "modality_missing_warning", message: t(".missing_modality_warning")

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
renalware-core-2.0.111 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.110 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.109 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.108 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.106 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.105 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.104 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.103 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.102 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.101 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.100 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.99 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.98 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.97 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.96 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.95 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.94 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.93 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.92 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.91 app/views/renalware/hd/dashboards/_page_actions.html.slim