% asset ||= @asset %>
<% is_image = asset.image? %>
<% timestamp = asset.created_at %>
<% icon_class = 'fas ' + (is_image ? 'fa-image' : 'fa-file') %>
" data-icon-class="<%= icon_class %>">
<% if is_image %>
<% if defined?(export_all) && export_all %>
<% else %>
<%= report_image_asset_url(asset) %>
<% end %>
<% end %>
<%= children if (defined? children and children.present?) %>