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.0.pre.rc7 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.0.pre.beta4 app/views/renalware/hd/historical_profiles/_table.html.slim