-%]
[%# The IF-backstop is ugly and I'm not understanding why the res_img lookup does not for for '.' -%]
[%- BLOCK colour ; IF res_imgs.$c.defined ; res_imgs.$c ; ELSE %]/img/t_notdone.gif [% END; END %]
-[%- BLOCK colourbar %]<img src="[% PROCESS colour %]" title="[% st %]" alt="[% c %]" height="16" width="[% w %]" class="inline" align="bottom" />[%- END -%]
+[%- BLOCK colourbar %]<img src=[% PROCESS colour %] title="[% st %]-[% st + w - 1 %]" height=16 width=[% w %] class=inline align=bottom/>[%- END -%]
[% BLOCK stdet %]
<tr [% PROCESS cl bgfor=row.stage %]>
<td>[%- row.when_ago | replace('\s',' ') %] ago </td>