<% table ||= report_element.table %> <% timestamp = table.created_at %>
<% if defined? export_all and export_all %> <% file_link = @obj_filenames.dig(:tables, table.id, :file) %> <%= file_link&.split('/')&.last %> <% else %> <% if table.name.present? %> <%= truncate(table.name, length: Constants::FILENAME_TRUNCATION_LENGTH) %> <% end %> <% end %>
<%= t("projects.reports.elements.#{table_type}.user_time", timestamp: l(timestamp, format: :full)) %>
<% if defined?(children) %>
<%= children %>
<% end %>