Sha256: 77e5cda1d9d2480cc3761ef6be56cb69a74207c454067f9b7811abce041134c8

Contents?: true

Size: 1.74 KB

Versions: 55

Compression:

Stored size: 1.74 KB

Contents

= link_to(patient_hd_mdm_path(patient), class: "button with-icon secondary") do
  i.fa.fa-group
  = t(".mdm")
= link_to(patient_hd_protocol_path(patient), class: "button with-icon secondary") do
  i.fa.fa-print
  = t(".protocol")
a.button.dropdown.with-icon(href="#"
                            data-dropdown="pd-options"
                            aria-controls="pd-options"
                            aria-expanded="false")
  i.fa.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

55 entries across 55 versions & 1 rubygems

Version Path
renalware-core-2.0.44 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.43 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.42 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.41 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.40 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.39 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.38 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.37 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.36 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.35 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.34 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.33 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.32 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.31 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.30 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.28 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.27 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.26 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.25 app/views/renalware/hd/dashboards/_page_actions.html.slim
renalware-core-2.0.24 app/views/renalware/hd/dashboards/_page_actions.html.slim