/views/error.haml

https://github.com/myronmarston/integrity · HAML · 37 lines · 34 code · 3 blank · 0 comment · 0 complexity · dd926e4faa86eb5e10378056e0e2c4a5 MD5 · raw file

  1. .error
  2. %h1
  3. Whatever you do, DON'T PANIC!
  4. %dl
  5. %dt This is what happened:
  6. %dd
  7. %strong&= @error.message
  8. %pre.backtrace= @error.backtrace.join("\n")
  9. %dd
  10. %strong Query parameters:
  11. %pre.query_params= params.inspect
  12. %dt What can I do?
  13. %dd
  14. - if @project
  15. Is your
  16. %a{ :href => project_url(@project, :edit) } config
  17. ok?
  18. Need
  19. %a{ :href => "http://integrityapp.com/configure" } help?
  20. Remember to restart Integrity.
  21. If you think everything is fine,
  22. then drop by our irc channel:
  23. %a{ :href => "irc://irc.freenode.org:6667/integrity" } #integrity
  24. on freenode, and we'll try to help.
  25. %dt
  26. What the hell is
  27. = succeed "?" do
  28. %strong Integrity
  29. %dd
  30. Integrity is your friendly
  31. %a{ :href => "http://en.wikipedia.org/wiki/Continuous_integration" } Continuous Integration
  32. server. If you want to know more about us, check our website at
  33. = succeed "." do
  34. %a{ :href => "http://integrityapp.com" } integrityapp.com