Sha256: 6ef4a9a654bed08808f5239f24a589da657af38d274e28abc025e617061934d3

Contents?: true

Size: 1.36 KB

Versions: 45

Compression:

Stored size: 1.36 KB

Contents

.dashboard-content
  article.letters
    header
      h2 Letters in Progress
    - if dashboard.letters_in_progress.any?
      #letters-in-progress
        = render "renalware/dashboard/letters/table", letters: dashboard.letters_in_progress
    - else
      p.empty-section= t(".letters.in_progress.none").html_safe

  article.bookmarks
    header
      h2.title= "Bookmarked Patients"
      ul
        li= link_to "View All", bookmarks_path, class: "button"

    - if dashboard.bookmarks.any?
      #bookmarks
        = render "renalware/dashboard/bookmarks/table", bookmarks: dashboard.bookmarks
    - else
      p.empty-section= t(".bookmarks.none")

  article.messages
    header
      h2 Messages
      ul
        li= render "renalware/messaging/shared/key"
    - if dashboard.unread_messages_receipts.any?
      .unread-messages
        = render "renalware/messaging/internal/receipts/table",
                 receipts: dashboard.unread_messages_receipts
    - else
      p.empty-section= t(".messages.none")

  article.electonic_ccs
    header
      h2 Electronic CCs
    - if dashboard.unread_electronic_ccs.any?
      = render "renalware/letters/electronic_receipts/table",
               receipts: dashboard.unread_electronic_ccs
    - else
      p.empty-section= t(".electronic_ccs.none")

  - if current_user_is_admin?
    = render Renalware::Admin::Users::SummaryPart.new(nil)

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
renalware-core-2.0.87 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.86 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.85 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.84 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.83 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.82 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.81 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.80 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.79 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.78 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.77 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.76 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.75 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.74 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.73 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.72 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.71 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.70 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.69 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.68 app/views/renalware/dashboard/dashboards/_content.html.slim