Sha256: acfc433ffb36b556d753333d8b32eb12084cda4f3fd6a8d0deaef40a24e612e6
Contents?: true
Size: 1.07 KB
Versions: 41
Compression:
Stored size: 1.07 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.actions = link_to("View", reporting_audit_path(audit)) - if policy(audit).edit? = 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
41 entries across 41 versions & 1 rubygems