summaryrefslogtreecommitdiff
path: root/app/views/sherlock/queries/show.html.haml
blob: eea13d105d816ba60c575c25f966ad779582e678 (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 gl-button btn-default') do
      = sprite_icon('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')