<!-- BEGIN result/panels.tt -->
    <div class="[% div_class %]">
      <table class="results">
        <tr>
          [% count = 1 %]
            
        [% FOREACH entry IN this_section.panel; # PROCESS dumper.tt dump = entry;
           NEXT IF entry.value.has_results.match('yes'); # processed in individual tests           
           NEXT UNLESS entry.value.is_active.match('yes');
           # get td background 'color' (expects 'test_data'):
           PROCESS result/colour.tt test_data = entry.value;
        %]
  
          <td align="right" width="170" >
            <span style="color: [% clr %]; background: [% bgclr %]; padding: 2px">
            [% IF entry.value.status; user = entry.value.user; %]
              <span class="acronym"
                 title="[% user.first_name _ ' ' _ user.last_name %]">
               [% entry.key %]
              </span>
            [% ELSE %]
              [% entry.key %]
            [% END %]
            </span>
          </td>
  
          <td>[% # count %]
            [% IF is_locked %]
                <img src="/images/checkbox.png" title="locked" />
            [% ELSE %]
                <input type="checkbox" name="test_id" value="[% entry.value.id %]" />
            [% END %]
          </td>
                
        [% UNLESS loop.last OR # don't start new table unless multiple of 4:
          ( this_section.panel.size > 4 AND count % 4 ) %]
          </tr>
        </table>
        <table class="results">
          <tr>
        [% END %]
             
        [% count = count + 1 %]
      [% END %]
            
        </tr>
      </table>            
    </div>
<!-- END result/panels.tt -->
