BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
fbd2169f
Commit
fbd2169f
authored
Jun 06, 2016
by
Alejandro Rodríguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use better_errors editor links in sherlock
Remember to configure your `better_errors` editor to point to your program of preference
parent
740a6ecb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
_backtrace.html.haml
app/views/sherlock/queries/_backtrace.html.haml
+5
-1
_general.html.haml
app/views/sherlock/queries/_general.html.haml
+6
-2
No files found.
app/views/sherlock/queries/_backtrace.html.haml
View file @
fbd2169f
...
...
@@ -6,7 +6,11 @@
%ul
.well-list
-
@query
.
application_backtrace
.
each
do
|
location
|
%li
=
location
.
path
%strong
-
if
defined?
(
BetterErrors
)
=
link_to
(
location
.
path
,
BetterErrors
.
editor
[
location
.
path
,
location
.
line
])
-
else
=
location
.
path
%small
.light
=
t
(
'sherlock.line'
)
=
location
.
line
...
...
app/views/sherlock/queries/_general.html.haml
View file @
fbd2169f
...
...
@@ -11,13 +11,17 @@
=
@query
.
duration
.
round
(
4
)
=
t
(
'sherlock.milliseconds'
)
%li
-
frame
=
@query
.
last_application_frame
%span
.light
#{
t
(
'sherlock.origin'
)
}
:
%strong
=
@query
.
last_application_frame
.
path
-
if
defined?
(
BetterErrors
)
=
link_to
(
frame
.
path
,
BetterErrors
.
editor
[
frame
.
path
,
frame
.
line
])
-
else
=
frame
.
path
%small
.light
=
t
(
'sherlock.line'
)
=
@query
.
last_application_
frame
.
line
=
frame
.
line
.panel.panel-default
.panel-heading
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment