Sha256: 674c771dc685d69dc1fdb6ea638e075a3ea8e286f3d28190438a15de903aba49

Contents?: true

Size: 1.37 KB

Versions: 42

Compression:

Stored size: 1.37 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, current_user)

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
renalware-core-2.0.132 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.131 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.130 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.129 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.128 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.127 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.126 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.125 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.124 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.123 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.121 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.120 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.119 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.118 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.117 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.116 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.115 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.113 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.112 app/views/renalware/dashboard/dashboards/_content.html.slim
renalware-core-2.0.111 app/views/renalware/dashboard/dashboards/_content.html.slim