summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_comment.html.haml
blob: 26794dc7f13e0d5158fa71bb722974a40d7b583c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- # 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
      Unauthenticated post
    .pull-right
      %b
        Posted at:
      = comment.posted_at.to_s(:short)
    %br
    = comment.body