[% PROCESS common.tt %]
[% BLOCK renderNode %]
[% IF done.${node.path} %]
[% node.name %] (repeated)
[% ELSE %]
[% done.${node.path} = global.nodeId; global.nodeId = global.nodeId + 1; %]
[% IF node.refs.size > 0 %]
[% END %]
[% IF node.buildStep %]
[% node.name %] [%
IF log_exists(node.buildStep.drvpath);
INCLUDE renderLogLinks url=c.uri_for('/build' node.buildStep.get_column('build') 'nixlog' node.buildStep.stepnr);
END %]
[% ELSE %]
[% node.name %] (no info)
[% END %]
[% IF node.refs.size > 0 %]
[% FOREACH ref IN node.refs; INCLUDE renderNode node=ref; END %]
[% END %]
[% END %]
[% END %]