Sha256: 4451bd184c5a66ea16b7f32a2984ea56f83b4beebd4d328fbd184ee1c96a2f27

Contents?: true

Size: 1.76 KB

Versions: 55

Compression:

Stored size: 1.76 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")

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

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
renalware-core-2.0.101 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.100 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.99 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.98 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.97 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.96 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.95 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.94 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.93 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.92 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.91 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.90 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.89 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.88 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.87 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.86 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.85 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.84 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.83 app/views/renalware/patients/side_menu/_actions.html.slim
renalware-core-2.0.82 app/views/renalware/patients/side_menu/_actions.html.slim