2015-11-04 13:13:19 -05:00
|
|
|
- page_title t('sherlock.title'), t('sherlock.transaction')
|
|
|
|
- header_title t('sherlock.title'), sherlock_transactions_path
|
|
|
|
|
2018-04-19 23:34:20 -04:00
|
|
|
%ul.nav-links.nav.nav-tabs
|
2015-11-04 13:13:19 -05:00
|
|
|
%li.active
|
2016-12-22 07:22:05 -05:00
|
|
|
%a{ href: "#tab-general", data: { toggle: "tab" } }
|
2015-11-04 13:13:19 -05:00
|
|
|
= t('sherlock.general')
|
|
|
|
%li
|
2016-12-22 07:22:05 -05:00
|
|
|
%a{ href: "#tab-queries", data: { toggle: "tab" } }
|
2015-11-04 13:13:19 -05:00
|
|
|
= t('sherlock.queries')
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill
|
2015-11-04 13:13:19 -05:00
|
|
|
#{@transaction.queries.length}
|
|
|
|
%li
|
2016-12-22 07:22:05 -05:00
|
|
|
%a{ href: "#tab-file-samples", data: { toggle: "tab" } }
|
2015-11-04 13:13:19 -05:00
|
|
|
= t('sherlock.file_samples')
|
2018-04-09 12:33:41 -04:00
|
|
|
%span.badge.badge-pill
|
2015-11-04 13:13:19 -05:00
|
|
|
#{@transaction.file_samples.length}
|
|
|
|
|
2016-04-25 16:02:15 -04:00
|
|
|
.row-content-block
|
2018-04-09 13:42:45 -04:00
|
|
|
.float-right
|
2015-11-04 13:13:19 -05:00
|
|
|
= link_to(sherlock_transactions_path, class: 'btn') do
|
|
|
|
%i.fa.fa-arrow-left
|
|
|
|
= 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')
|