[% BLOCK render_issue # issue={} %]
Posted on [% issue.created | date -%] [%- IF issue.user_id %] by [% issue.author | html %][% END %]. [% IF issue.seconds_spent %][% issue.seconds_spent | time %] spent.[% END %] [% IF issue.status %][% issue.status | html %][% END %] [% IF issue.has_solution %] Solution proposed [% END %]
[% issue.body # no HTML protection - it's after markdown %]
[% IF issue.tags_alpha.size %] [% END %]
[% END %] [% BLOCK render_comment # item={}, show_issue=1 %]
#[% item.activity_id %] User [% item.user_name | html %] [% IF item.fix_estimate %] proposed fix in [% item.fix_estimate | time %] [% ELSIF item.seconds %] spent [% item.seconds | time %] [% ELSE %] commented [% END %] [% IF show_issue %] on #[% item.issue_id%][% IF item.summary %] - [% item.summary | html %] [% END %] [% END %] on [% item.created | date %] [%- IF session.user_id == item.user_id && !fix_estimate -%] edit [%- END -%].
[% IF item.note %]
[% item.note | render %]
[% END %]
[% END %] [% BLOCK render_link # item= %]
#[% item.issue_id %] - [% item.summary | html %]
Posted on [% item.created | date -%] [%- IF item.author_name %] by [% item.author_name | html %][% END %]. [% IF item.time_spent %][% item.time_spent | time %] spent.[% END %] [% IF item.status %][% item.status | html %][% END %] [% IF item.has_solution %] [% item.best_estimate | time %] to fix [% END %]
[% IF item.snippets %]
[% FOREACH snip IN item.snippets %] [% snip.0 | html %][% snip.1 | html %][% snip.2 | html %]... [% END %]
[% END %]
[% END %] [% BLOCK render_tag # item = %] [% item.name | html %] [% END %] [% BLOCK render_stat # item = %] [% IF item.tag_id %] [% item.name | html %] [% ELSE %] Total [% END %] [% item.issues | html %] [% item.watchers | html %] [% item.participants | html %] [% item.time_spent | time %] [% END %]