Sha256: 5eab49ee330a93cb89139c18bd307f649b49e158e4cbbeafdb27719203c48c78

Contents?: true

Size: 1.47 KB

Versions: 39

Compression:

Stored size: 1.47 KB

Contents

= content_for(:actions) do
  = render "page_actions", patient: dashboard.patient, dashboard: dashboard

= within_patient_layout do

  .row
    - unless dashboard.profile.new_record?
      .medium-6.large-4.xlarge-3.columns
        = render "renalware/hd/current_profile/summary",
                 patient: dashboard.patient,
                 profile: dashboard.profile
        - if dashboard.historical_profile_count > 0
          = render "renalware/hd/historical_profiles/summary",
                   patient: dashboard.patient,
                   historical_profiles: dashboard.historical_profiles,
                   historical_profile_count: dashboard.historical_profile_count

    - if dashboard.access.present?
      .medium-6.large-4.xlarge-3.columns
        = render "renalware/hd/accesses/summary",
                 patient: dashboard.patient,
                 access: dashboard.access

    - unless dashboard.preference_set.new_record?
      .medium-6.large-4.xlarge-6.columns
        = render "renalware/hd/preference_sets/summary",
                 patient: dashboard.patient,
                 preference_set: dashboard.preference_set

    .medium-6.large-4.xlarge-3.end.columns
      = render "renalware/clinical/dry_weights/list",
               patient: dashboard.patient,
               limit: 5

  - if dashboard.sessions.any?
    .row
      .small-12.columns
        = render "renalware/hd/sessions/list",
                 sessions: dashboard.sessions,
                 policy: dashboard

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/hd/dashboards/show.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/hd/dashboards/show.html.slim