debian-mirror-gitlab/app/views/sherlock/transactions/show.html.haml

37 lines
1,021 B
Text
Raw Normal View History

2015-11-26 14:37:03 +05:30
- page_title t('sherlock.title'), t('sherlock.transaction')
- header_title t('sherlock.title'), sherlock_transactions_path
2018-11-08 19:23:39 +05:30
%ul.nav-links.nav.nav-tabs
2015-11-26 14:37:03 +05:30
%li.active
2017-08-17 22:00:37 +05:30
%a{ href: "#tab-general", data: { toggle: "tab" } }
2015-11-26 14:37:03 +05:30
= t('sherlock.general')
%li
2017-08-17 22:00:37 +05:30
%a{ href: "#tab-queries", data: { toggle: "tab" } }
2015-11-26 14:37:03 +05:30
= t('sherlock.queries')
2018-11-08 19:23:39 +05:30
%span.badge.badge-pill
2015-11-26 14:37:03 +05:30
#{@transaction.queries.length}
%li
2017-08-17 22:00:37 +05:30
%a{ href: "#tab-file-samples", data: { toggle: "tab" } }
2015-11-26 14:37:03 +05:30
= t('sherlock.file_samples')
2018-11-08 19:23:39 +05:30
%span.badge.badge-pill
2015-11-26 14:37:03 +05:30
#{@transaction.file_samples.length}
2016-06-02 11:05:42 +05:30
.row-content-block
2018-11-08 19:23:39 +05:30
.float-right
2015-11-26 14:37:03 +05:30
= link_to(sherlock_transactions_path, class: 'btn') do
2020-11-24 15:15:51 +05:30
= sprite_icon('arrow-left')
2015-11-26 14:37:03 +05:30
= t('sherlock.all_transactions')
.oneline
= t('sherlock.transaction')
= @transaction.id
.tab-content
.tab-pane.active#tab-general
= render(partial: 'general')
.tab-pane#tab-queries
= render(partial: 'queries')
.tab-pane#tab-file-samples
= render(partial: 'file_samples')