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.70 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.69 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.68 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.67 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.64 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.63 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.62 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.61 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.60 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.58 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.57 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.56 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.55 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.54 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.53 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.52 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.51 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.50 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.48 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.47 app/views/renalware/hd/dashboards/_page_actions.html.slim