{{$proj.name}} - Ticket #{{$tick.code}}

{{$tick.title}}

Date: {{os.date("%Y-%m-%d", $tick.time)}}

% set author = $users[$tick.user_id]

Author: {{$author.name}}

{{$tick.desc}}

Comments

% for comment in $comments do

Date: {{os.date("%Y-%m-%d", $comment.time)}}

% set author = $users[$comment.user_id]

Author: {{$author.name}}

{{$comment.text}}
% end
add comment