Sha256: 025083cd2b440f5124c1b8f2baf7bd48e39587dd03689e43d73edf92460abe96

Contents?: true

Size: 1.88 KB

Versions: 52

Compression:

Stored size: 1.88 KB

Contents

- bookmark = find_user_bookmark_for_patient(patient)

/ Don't cache fragments that contain a form
/- 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") }

/ Don't cache fragments that contain a form
/- 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: "2018-01-01")
  li.link.action
    = link_to "Debug: MPI", patients_abridgements_path("search[criteria]" => patient.local_patient_id)

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

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
renalware-core-2.0.147 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.146 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.145 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.144 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.143 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.142 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.141 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.140 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.139 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.138 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.137 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.136 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.135 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.134 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.133 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.132 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.131 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.130 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.129 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.128 app/views/renalware/patients/side_menu/_actions.html.slim