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.82 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.81 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.80 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.79 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.78 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.77 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.76 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.75 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.74 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.73 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.72 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.71 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.70 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.69 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.68 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.67 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.64 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.63 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.62 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.61 app/views/renalware/hd/historical_profiles/_table.html.slim