[%# Display a list of comments #%] [% USE AutomagicLinks %] [% USE FormatWhitespace tabwidth = tabwidth %] [% PROCESS viewtopicheader.html.tmpl version = version help = "x602.html" topicview = 0 topicproperties = 0 topiccomments = 1 topicinfo = 0 closehead = 1 %]

Comments:    
[% IF metrics != '' %] [% FOREACH metric = metrics %] [% IF loop.index() % 4 == 0 %][% END %] [% END %] [% END %]
Show authored by:   with
 [% END %] [% metric.name %]:      [% IF loop.index() % 4 == 3 || loop.last() %]

[% last_fileline = -999 %] [% last_filenumber = -999 %] [% FOREACH comment = comments %] [% FLUSH IF loop.count() % 10 == 1 %] [% IF comment.fileline != last_fileline || comment.filenumber != last_filenumber %] [%# Display the comment thread information #%] [%# Now display the metric dropdowns #%] [% IF metrics != '' %] [% FOREACH metric = metrics %] [% IF loop.index() % 4 == 0 %][% END %] [% END %] [% END %] [% IF comment.context != '' %] [% END %] [% last_fileline = comment.fileline %] [% last_filenumber = comment.filenumber %] [% END %] [% END %]
[% IF comment.filename != '' %] [% comment.filename %][% IF comment.fileline != -1 %]:[% comment.fileline %][% ELSE %] (File Level)[% END %] [% IF allow_repositories != 0 %] | Parallel [% END %] [% ELSIF comment.fileline == -1 && comment.filenumber == -1 %] Topic Level [% ELSE %] Line: [% comment.line %] [% END %] [%# Check to see if the topic is open or not #%] [% IF topic_readonly == 0 %] | Add comment [% END %]
[% END %] [% SET metric_name = metric.name %] [% metric_name %]:      [% IF loop.index() % 4 == 3 || loop.last() %]
[% comment.context %]
[% comment.author | html_entity %] [% comment.date | html_entity %]
[% comment.data | html_entity | $FormatWhitespace | $AutomagicLinks %]

[%# Check to see if the topic is open or not #%] [% IF topic_readonly == 0 %]

[% END %]

[% PROCESS trailer.html.tmpl %]