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.60 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.58 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.57 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.56 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.55 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.54 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.53 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.52 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.51 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.50 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.48 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.47 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.46 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.45 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.44 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.43 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.42 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.41 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.40 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.39 app/views/renalware/hd/historical_profiles/_table.html.slim