diff --git a/app/views/errs/_table.html.haml b/app/views/errs/_table.html.haml index ebf57f9..cea95cc 100644 --- a/app/views/errs/_table.html.haml +++ b/app/views/errs/_table.html.haml @@ -26,6 +26,12 @@ %td.message = link_to trucated_err_message(problem), app_err_path(problem.app, problem) %em= problem.where + - if problem.comments.any? + - comment = problem.comments.last + %br + .inline_comment + %em.commenter= (Errbit::Config.user_has_username ? comment.user.username : comment.user.email).to_s << ":" + %em= truncate(comment.body, :length => 100, :separator => ' ') %td.latest #{time_ago_in_words(last_notice_at problem)} ago %td.deploy= problem.last_deploy_at ? problem.last_deploy_at.to_s(:micro) : 'n/a' %td.count= link_to problem.notices.count, app_err_path(problem.app, problem) -- libgit2 0.21.2