<%= query.content.name %>
|
<%= query.content.sql[0..80] %>
<%= "..." if query.content.sql.size > 80 %>
|
<%= render RailsLiveDashboard::QueryDurationBadgeComponent.new(query.content.duration) %>
|
<%= query.created_at.strftime("%Y-%m-%d %H:%M:%S") %>
|
<%= link_to 'Show', query_path(query), class: 'text-indigo-600 hover:text-indigo-900' %>
|
<% end %>