Sha256: e747d3243d4cf6a378f05808fdcbd49cdbdbcb58c5e186c293a2167edca50acf

Contents?: true

Size: 1.39 KB

Versions: 14

Compression:

Stored size: 1.39 KB

Contents

table.apd-regimes
  thead
    tr
      th.col-width-9
      th.col-width-date Started on
      th.col-width-date Ended on
      th.col-width-13 Treatment
      th= t("glucose_volume_low_strength", scope: "renalware.pd.regimes")
      th= t("glucose_volume_medium_strength", scope: "renalware.pd.regimes")
      th= t("glucose_volume_high_strength", scope: "renalware.pd.regimes")
      th.column-6-date Updated on

  tbody
    - apd_regimes.each do |r|
      tr valign="top" data-regime-id=r.id
        td
          - if r.current? && !current_user.has_role?(:read_only)
            = link_to "Update",
                      edit_patient_pd_regime_path(patient, r.id),
                      class: "update-pd-regime"
            = pipe_separator
          = link_to "View",
                    patient_pd_regime_path(patient, r.id),
                    class: "view-pd-regime"
        td valign="top"
          = l r.start_date
        td valign="top"
          = default_for_blank_date(r.end_date, "Pending")
        td valign="top"
          = r.treatment
        td valign="top"
          = "#{default_daily_glucose_average(r.glucose_volume_low_strength)} ml"
        td valign="top"
          = "#{default_daily_glucose_average(r.glucose_volume_medium_strength)} ml"
        td valign="top"
          = "#{default_daily_glucose_average(r.glucose_volume_high_strength)} ml"
        td
          = r.updated_at.to_date

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc13 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc11 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.rc1 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.beta12 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/pd/_apd_regimes.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/pd/_apd_regimes.html.slim