Sha256: d7798258fb1c208ba88ac073a0e6d73381da1b74eec7ea037d1f2d1ceafdf929

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

= within_admin_layout(title: "Audits") do

  table.audits
    thead
      tr
        th.col-width-small
        th.col-width-medium Name
        th Postgres view name
        th Materialized
        th Schedule
        th.col-width-date-time Updated on
        th.col-width-date-time Data last refreshed
        th.col-width-small
    tbody
      - audits.each do |audit|
        tr
          td
            = link_to("View", reporting_audit_path(audit))
            = pipe_separator
            = link_to("Edit", edit_reporting_audit_path(audit))
          td= audit.name
          td= audit.view_name
          td= yes_no audit.materialized?
          td= audit.refresh_schedule
          td= l(audit.updated_at)
          td= l(audit.refreshed_at)
          td
            -if audit.materialized?
              = link_to("Refresh Data",
                        reporting_audit_refreshments_path(audit_id: audit.id),
                        remote: true,
                        method: :post,
                        class: "button compact warning")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/reporting/audits/index.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/reporting/audits/index.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/reporting/audits/index.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/reporting/audits/index.html.slim