Don't render machine name if not applicable to step

This commit is contained in:
Eelco Dolstra 2015-08-10 12:53:10 +02:00
parent 593850b956
commit 52ec971154

View file

@ -45,7 +45,7 @@
INCLUDE renderDuration duration = curTime - step.starttime; INCLUDE renderDuration duration = curTime - step.starttime;
END %] END %]
</td> </td>
<td>[% INCLUDE renderMachineName machine=step.machine %]</td> <td>[% IF step.busy == 1 || step.status == 0 || step.status == 1 || step.status == 4 || step.status == 7; INCLUDE renderMachineName machine=step.machine; ELSE; "<em>n/a</em>"; END %]</td>
<td> <td>
[% IF step.busy == 1 %] [% IF step.busy == 1 %]
<strong>Building</strong> <strong>Building</strong>