diff options
Diffstat (limited to 'app/views/sherlock/transactions/_queries.html.haml')
-rw-r--r-- | app/views/sherlock/transactions/_queries.html.haml | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app/views/sherlock/transactions/_queries.html.haml b/app/views/sherlock/transactions/_queries.html.haml deleted file mode 100644 index afe23d61bcd..00000000000 --- a/app/views/sherlock/transactions/_queries.html.haml +++ /dev/null @@ -1,24 +0,0 @@ -- if @transaction.queries.empty? - .nothing-here-block - = t('sherlock.no_queries') -- else - .table-holder - %table.table#sherlock-queries - %thead - %tr - %th= t('sherlock.time') - %th= t('sherlock.query') - %th - %tbody - - @transaction.sorted_queries.each do |query| - %tr - %td - = query.duration.round(2) - = t('sherlock.milliseconds') - %td - .code.js-syntax-highlight.sherlock-code - = highlight("#{query.id}.sql", query.formatted_query, language: 'sql') - %td - = link_to(t('sherlock.view'), - sherlock_transaction_query_path(@transaction, query), - class: 'gl-button btn btn-sm') |