debian-mirror-gitlab/app/views/sherlock/queries/_backtrace.html.haml

32 lines
821 B
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
.gl-mt-3
2018-11-08 19:23:39 +05:30
.card
.card-header
2015-11-26 14:37:03 +05:30
%strong
= t('sherlock.application_backtrace')
2018-11-08 19:23:39 +05:30
%ul.content-list
2015-11-26 14:37:03 +05:30
- @query.application_backtrace.each do |location|
%li
%strong
- if defined?(BetterErrors)
= link_to(location.path, BetterErrors.editor[location.path, location.line])
- else
= location.path
2015-11-26 14:37:03 +05:30
%small.light
= t('sherlock.line')
= location.line
2018-11-08 19:23:39 +05:30
.card
.card-header
2015-11-26 14:37:03 +05:30
%strong
= t('sherlock.full_backtrace')
2018-11-08 19:23:39 +05:30
%ul.content-list
2015-11-26 14:37:03 +05:30
- @query.backtrace.each do |location|
%li
- if location.application?
%strong= location.path
- else
= location.path
%small.light
= t('sherlock.line')
= location.line