summaryrefslogtreecommitdiff
path: root/app/views/sherlock/queries/show.html.haml
blob: 413130a290751b26e16feecab4d8145c6c019f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- page_title t('sherlock.title'), t('sherlock.transaction'), t('sherlock.query')
- header_title t('sherlock.title'), sherlock_transactions_path

%ul.nav-links.nav.nav-tabs
  %li.active
    %a{ href: "#tab-general", data: { toggle: "tab" } }
      = t('sherlock.general')
  %li
    %a{ href: "#tab-backtrace", data: { toggle: "tab" } }
      = t('sherlock.backtrace')

.row-content-block
  .float-right
    = link_to(sherlock_transaction_path(@transaction), class: 'btn') do
      %i.fa.fa-arrow-left
      = t('sherlock.transaction')
  .oneline
    = t('sherlock.query')
    = @query.id

.tab-content
  .tab-pane.active#tab-general
    = render(partial: 'general')

  .tab-pane#tab-backtrace
    = render(partial: 'backtrace')