lib/stackprof-webnav/views/file.haml in stackprof-webnav-0.1.0 vs lib/stackprof-webnav/views/file.haml in stackprof-webnav-1.0.0

- old
+ new

@@ -3,9 +3,12 @@ %a{:href => '/'} ← Back to overview %br %br -.code_linenums - - @data[:lineinfo].each do |l| - %span= l -!= @data[:code] +- if @data + .code_linenums + - @data[:lineinfo].each do |l| + %span= l + != @data[:code] +- else + %h3 Unable to load file, was the dump captured on another machine?