summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_ticket.html.haml
blob: 7b37652ce0e824efaf1f3dc78a4be50207e4e9d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- updated_at_text = 'updated: ' + ticket.updated_at.to_s(:long)
%tr
  %td
    %b
      = link_to ticket.title, ticket
    - if params[:controller] == 'tickets'
      %br
      %small
        created:
        = ticket.created_at.to_s(:long)
        = updated_at_text
      %small.pull-right
        comments by:
        = ticket.commenters
    - else
      %small
        = updated_at_text