Sha256: 6bb2c93e433e944a614aca71c685c83eb3da72ad8bb893d47423e35948448d3c
Contents?: true
Size: 1.09 KB
Versions: 82
Compression:
Stored size: 1.09 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)) - if policy(audit).edit? = 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? && policy(audit).refresh? = link_to("Refresh Data", reporting_audit_refreshments_path(audit_id: audit.id), remote: true, method: :post, class: "button compact warning")
Version data entries
82 entries across 82 versions & 1 rubygems