${_("Create New Ticket")} # if preview_mode and ticket.type: (${ticket.type}) # endif
# endif # if ticket.exists: # with preview_mode = change_preview.fields # include 'ticket_box.html' # endwith ## # Do not show attachments for old versions of this ticket ## # or for new tickets. # if not version and version != 0 and ticket.exists: # with alist = attachments, foldable = True # include 'list_of_attachments.html' # endwith # endif${_("Change History")} (${len(changes)})
# for change in changes:
# set latest = change['comment_history'] | max
# set change_date = change['comment_history'][latest]['date']
# endfor