diff options
Diffstat (limited to 'app/views/sherlock/queries/_general.html.haml')
-rw-r--r-- | app/views/sherlock/queries/_general.html.haml | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/app/views/sherlock/queries/_general.html.haml b/app/views/sherlock/queries/_general.html.haml deleted file mode 100644 index a16314213c4..00000000000 --- a/app/views/sherlock/queries/_general.html.haml +++ /dev/null @@ -1,54 +0,0 @@ -.gl-mt-3 - .card - .card-header - %strong - = t('sherlock.general') - %ul.content-list - %li - %span.light - #{t('sherlock.time')}: - %strong - = @query.duration.round(4) - = t('sherlock.milliseconds') - %li - - frame = @query.last_application_frame - %span.light - #{t('sherlock.origin')}: - %strong - - if defined?(BetterErrors) - = link_to(frame.path, BetterErrors.editor.url(frame.path, frame.line)) - - else - = frame.path - %small.light - = t('sherlock.line') - = frame.line - - .card - .card-header - .float-right - %button.js-clipboard-trigger.gl-button.btn.btn-default.btn-sm{ title: t('sherlock.copy_to_clipboard'), type: :button } - = sprite_icon('copy-to-clipboard') - %pre.hidden - = @query.formatted_query - %strong - = t('sherlock.query') - %ul.content-list - %li - .code.js-syntax-highlight.sherlock-code - :preserve - #{highlight("#{@query.id}.sql", @query.formatted_query, language: 'sql')} - - .card - .card-header - .float-right - %button.js-clipboard-trigger.gl-button.btn.btn-default.btn-sm{ title: t('sherlock.copy_to_clipboard'), type: :button } - = sprite_icon('copy-to-clipboard') - %pre.hidden - = @query.explain - %strong - = t('sherlock.query_plan') - %ul.content-list - %li - .code.js-syntax-highlight.sherlock-code - %pre - %code= @query.explain |