Sha256: 3bb63599ed8f81910f39fd562f2e4ae5f88329780babdcbbc54d4bf8dc0f2800

Contents?: true

Size: 1.7 KB

Versions: 15

Compression:

Stored size: 1.7 KB

Contents

- bookmark = find_user_bookmark_for_patient(patient)

- cache([patient, current_user, bookmark || "bookmarks/"]) do
  - if bookmark.present?
    li.link.action= render partial: "renalware/patients/bookmarks/delete",
                    locals: { bookmark: bookmark, link_text: t(".delete_bookmark") }
  - else
    li.link.action= render partial: "renalware/patients/bookmarks/new",
                    locals: { patient: patient, link_text: t(".create_bookmark") }

- cache([patient, patient.worry || "worries/"]) do
  - if patient.worry.present?
    li.link.action= render partial: "renalware/patients/worries/delete",
                    locals: { patient: patient }
  - else
    li.link.action= render partial: "renalware/patients/worries/new",
                    locals: { patient: patient }

- cache([patient, "send_message_link"]) do
  li.link.action= render partial: "renalware/messaging/internal/messages/send_message_link",
                  locals: { patient: patient, link_text: t(".send_message") }


li.link.action= render partial: "renalware/admissions/requests/create_request_link",
                locals: { patient: patient, link_text: t(".request_admission") }

li.link.action
  - cache([patient, "alerts/"]) do
    = render partial: "renalware/patients/alerts/create_alert_link",
             locals: { patient: patient, link_text: t(".create_alert") }
    = render "renalware/patients/alerts/modal_dialog_placeholder"

- if policy(patient).debug?
  li.link.action
    = link_to "Debug: UKRDC XML", api_ukrdc_patient_path(patient, changes_since: "2000-01-01")

- cache do
  = render "renalware/admissions/requests/modal_dialog_placeholder"
  = render "renalware/messaging/internal/messages/modal_dialog_placeholder"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
renalware-core-2.0.15 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.14 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.13 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.12 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.11 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.9 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.8 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.7 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.5 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.4 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.3 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.2 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.1 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.0 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.0.pre.rc13 app/views/renalware/patients/side_menu/_actions.html.slim