summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_comment.html.haml
blob: 1d8ee4118712085a69a442559016d1e5c3f75fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- # style is super ugly but just for now
%tr
  %td
    - if commenter = User.find(comment.posted_by)
      %b
        = 'Posted by' + (commenter.is_admin? ? ' admin' : '') + ':'
      = commenter.login
    - else
      %b
        Unauthenticated post
    .pull-right
      %b
        Posted at:
      = comment.posted_at.to_s(:short)
    %br
    = comment.body