Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/sherlock/transactions/index.html.haml')
-rw-r--r--app/views/sherlock/transactions/index.html.haml41
1 files changed, 0 insertions, 41 deletions
diff --git a/app/views/sherlock/transactions/index.html.haml b/app/views/sherlock/transactions/index.html.haml
deleted file mode 100644
index a2be6cae1e0..00000000000
--- a/app/views/sherlock/transactions/index.html.haml
+++ /dev/null
@@ -1,41 +0,0 @@
-- page_title t('sherlock.title')
-- header_title t('sherlock.title'), sherlock_transactions_path
-
-.row-content-block
- .float-right
- = link_to(destroy_all_sherlock_transactions_path,
- class: 'gl-button btn btn-danger',
- method: :delete) do
- = sprite_icon('remove')
- = t('sherlock.delete_all_transactions')
- .oneline= t('sherlock.introduction')
-
-- if @transactions.empty?
- .nothing-here-block= t('sherlock.no_transactions')
-- else
- .table-holder
- %table.table
- %thead
- %tr
- %th= t('sherlock.type')
- %th= t('sherlock.path')
- %th= t('sherlock.time')
- %th= t('sherlock.queries')
- %th= t('sherlock.finished_at')
- %th
- %tbody
- - @transactions.each do |trans|
- %tr
- %td= trans.type
- %td
- %span{ title: trans.path }
- = truncate(trans.path, length: 70)
- %td
- = trans.duration.round(2)
- = t('sherlock.seconds')
- %td= trans.queries.length
- %td
- = time_ago_with_tooltip trans.finished_at
- %td
- = link_to(sherlock_transaction_path(trans), class: 'gl-button btn btn-sm') do
- = t('sherlock.view')