Sha256: 57d66800115080f57367e8da9ee9733615fa95d177e717be05eb9c626b9aab21

Contents?: true

Size: 993 Bytes

Versions: 135

Compression:

Stored size: 993 Bytes

Contents

- compact = local_assigns[:compact] == true

table
    thead
      tr
        th.col-width-tiny
        - if compact
          th.col-width-date Started
          th.col-width-date Stopped
        - else
          th.col-width-date-time Started
          th.col-width-date-time.at-least Stopped
        th.col-width-tiny Type
        th.col-width-tiny Time
        - unless compact
          th.col-width-medium Schedule
          th Site

    - historical_profiles.each do |profile|
      tbody
        tr
          td= link_to("View", patient_hd_historical_profile_path(patient, profile))
          - if compact
            td= l(profile.created_at&.to_date)
            td= l(profile.deactivated_at&.to_date)
          - else
            td= l(profile.created_at)
            td= l(profile.deactivated_at)
          td= profile.hd_type
          td= profile.formatted_prescribed_time
          - unless compact
            td= profile.current_schedule
            td= profile.hospital_unit

Version data entries

135 entries across 135 versions & 1 rubygems

Version Path
renalware-core-2.0.102 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.101 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.100 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.99 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.98 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.97 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.96 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.95 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.94 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.93 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.92 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.91 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.90 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.89 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.88 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.87 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.86 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.85 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.84 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.83 app/views/renalware/hd/historical_profiles/_table.html.slim