BigW Consortium Gitlab

show.html.haml 977 Bytes
Newer Older
1 2 3
- page_title t('sherlock.title'), t('sherlock.transaction')
- header_title t('sherlock.title'), sherlock_transactions_path

4
%ul.nav-links
5
  %li.active
6
    %a{ href: "#tab-general", data: { toggle: "tab" } }
7 8
      = t('sherlock.general')
  %li
9
    %a{ href: "#tab-queries", data: { toggle: "tab" } }
10 11 12 13
      = t('sherlock.queries')
      %span.badge
        #{@transaction.queries.length}
  %li
14
    %a{ href: "#tab-file-samples", data: { toggle: "tab" } }
15 16 17 18
      = t('sherlock.file_samples')
      %span.badge
        #{@transaction.file_samples.length}

19
.row-content-block
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
  .pull-right
    = 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')