Sha256: ecb1435a62f7bcfd6e2ebb4229d1c5caa3791c10955dc913c4ab9968010f5e90

Contents?: true

Size: 978 Bytes

Versions: 40

Compression:

Stored size: 978 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 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

40 entries across 40 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.166 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.165 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.164 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.163 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.162 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.161 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.160 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.159 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.158 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.157 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.156 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.155 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.153 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.152 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.151 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.149 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.148 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.147 app/views/renalware/hd/historical_profiles/_table.html.slim
renalware-core-2.0.146 app/views/renalware/hd/historical_profiles/_table.html.slim