This commit is contained in:
R. Tyler Croy 2017-10-04 11:12:31 -07:00
parent ae45baa18f
commit 64d81f269c
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,4 @@
- require 'cgi'
.container
.row
.col-md-12
@ -61,10 +62,10 @@
%span.badge{:class => "badge-#{badge}"}
= event.count
%strong
= event.title
= CGI.escapeHTML(event.title)
.mb-2.text-muted
= event.culprit
= CGI.escapeHTML(event.culprit)
%p
%a{:href => "issue/#{event.id}"}

View File

@ -1,3 +1,4 @@
- require 'cgi'
.container
.row
.col-md-12
@ -5,9 +6,9 @@
Something went wrong when rendering this page :(
- else
%h3
= issue.title
= CGI.escapeHTML(issue.title)
%h4.text-muted
= issue.culprit
= CGI.escapeHTML(issue.culprit)
- event = events.first
.row
@ -36,9 +37,9 @@
.container.p-1
%blockquote.blockquote
- if entry['data']['formatted']
= entry['data']['formatted']
= CGI.escapeHTML(entry['data']['formatted']
- else
= entry['data']['message']
= CGI.escapeHTML(entry['data']['message'])
- if entry['type'] == 'exception'
%h5