Sha256: 0b68a7dc7be50c7a25462d0ec369aff7f2a69fe8d7fdbbe30167046d30c416d6

Contents?: true

Size: 948 Bytes

Versions: 149

Compression:

Stored size: 948 Bytes

Contents

/ Use by Pathology::ObservationsDiff renderer
.row
  - diff.to_h.to_a.in_groups_of(11, false) do |group|
    .columns.medium-6.large-4.end
      table.table.pathology-observation-diff.columns
        thead
          tr
            th.col-width-tiny(rowspan=2) Code
            th.col-width-medium(colspan=2) Currently Used
            th.col-width-medium(colspan=2) Newer
          tr
            th.col-width-tiny Result
            th.col-width-datetime Date
            th.col-width-tiny Result
            th.col-width-datetime Date

        tbody
          - group.each do |arr|
            - if arr.present?
              - code = arr[0]
              - curr = arr[1][0]
              - poss = arr[1][1]
              tr
                th= code
                th= curr&.result
                td.col-width-date= l(curr&.observed_at&.to_date)
                td= poss&.result
                td.col-width-date= l(poss&.observed_at&.to_date)

Version data entries

149 entries across 149 versions & 1 rubygems

Version Path
renalware-core-2.0.149 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.148 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.147 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.146 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.145 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.144 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.143 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.142 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.141 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.140 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.139 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.138 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.137 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.136 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.135 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.134 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.133 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.132 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.131 app/views/renalware/pathology/observations/_diff.html.slim
renalware-core-2.0.130 app/views/renalware/pathology/observations/_diff.html.slim