<!-- BEGIN result/section_header.tt -->
<div class="aftericon" id="toggle[% sectionName %]">
<span class="title">[% section %]</span>
[% IF active_tests.size %]
<strong>[[% active_tests.size %]]</strong>:
[% FOREACH entry IN active_tests; # PROCESS dumper.tt dump = entry;
IF this_section.panel.item(entry);
test_type = 'panel';
ELSE;
test_type = 'test';
END; # PROCESS dumper.tt dump = test_type;
# PROCESS dumper.tt dump = this_section.item(test_type).item(entry);
test_status = this_section.item(test_type).item(entry).status;
IF test_status.match('complete');
display = this_section.item(test_type).item(entry).user.username | upper;
class = 'normal';
ELSE;
display = test_status;
class = 'red';
END;
%]
<span class="[% class %]">[% # DON'T WRAP THIS: %]
[% entry %] ([% display %])</span>[% UNLESS loop.last; ','; END %]
[% END %]
[% END %]
</div>
<!-- END result/section_header.tt -->