<% title @report.name %>

Table: <%= link_to @report.table.name, table_path(@report.table) %>

<% if @report.file_exists? %>
URL: <%= link_to @report.url(root_url), @report.url(root_url) %>
<% else %>
URL: <%= @report.url(root_url) %>
<% end %>
User: <%= "#{@report.user.email}" %>
Running time: <%= report_time_run(@report) %>
Last updated: <%= report_time_ago(@report) %>
Next updated: <%= report_time_next(@report) %>
<%= button_to "Queue Update Now", generate_table_report_path(@report.table, @report) if permitted_to? :generate, @report %> <%= content_tag(:p, link_to("Edit", edit_table_report_path(@report.table, @report))) if permitted_to? :edit, @report %> <%= formatter_display(@report) %> <%= transform_display(@report) %>
<%= report_error_html(@report) %>