2010-01-22 13:31:59 +00:00
|
|
|
[% PROCESS common.tt %]
|
|
|
|
|
2013-02-14 15:53:34 +01:00
|
|
|
[% BLOCK renderNode %]
|
2013-02-20 01:02:18 +01:00
|
|
|
<li>
|
2013-02-14 15:53:34 +01:00
|
|
|
[% IF done.${node.path} %]
|
2025-08-02 18:20:35 +02:00
|
|
|
<tt>[% node.name | html %]</tt> (<a [% HTML.attributes(href => "#" _ done.${node.path}) %]><em>repeated</em></a>)
|
2010-01-22 13:31:59 +00:00
|
|
|
[% ELSE %]
|
2013-02-20 01:28:29 +01:00
|
|
|
[% done.${node.path} = global.nodeId; global.nodeId = global.nodeId + 1; %]
|
2013-02-14 15:53:34 +01:00
|
|
|
[% IF node.refs.size > 0 %]
|
2013-02-20 01:02:18 +01:00
|
|
|
<a href="javascript:" class="tree-toggle"></a>
|
|
|
|
[% END %]
|
2025-08-02 18:20:35 +02:00
|
|
|
<span [% HTML.attributes(id => done.${node.path}) %]><span class="dep-tree-line">
|
2013-02-20 01:28:29 +01:00
|
|
|
[% IF node.buildStep %]
|
2025-08-02 16:56:04 +02:00
|
|
|
<a [% HTML.attributes(href => c.uri_for('/build' node.buildStep.get_column('build'))) %]><tt>[% node.name %]</tt></a> [%
|
2013-08-30 13:53:25 +00:00
|
|
|
IF buildStepLogExists(node.buildStep);
|
2013-02-20 18:15:42 +01:00
|
|
|
INCLUDE renderLogLinks url=c.uri_for('/build' node.buildStep.get_column('build') 'nixlog' node.buildStep.stepnr);
|
2013-02-20 01:28:29 +01:00
|
|
|
END %]
|
|
|
|
[% ELSE %]
|
2025-08-02 18:20:35 +02:00
|
|
|
<tt>[% node.name | html %]</tt> (<em>no info</em>)
|
2013-02-20 01:28:29 +01:00
|
|
|
[% END %]
|
2013-02-20 13:56:41 +01:00
|
|
|
</span></span>
|
2022-08-12 09:46:17 +03:00
|
|
|
[% IF isRoot %]
|
|
|
|
<span class="dep-tree-buttons">
|
|
|
|
(<a href="#" class="tree-collapse-all">collapse all</a>
|
|
|
|
–
|
|
|
|
<a href="#" class="tree-expand-all">expand all</a>)
|
|
|
|
</span>
|
|
|
|
[% END %]
|
2013-02-20 01:02:18 +01:00
|
|
|
[% IF node.refs.size > 0 %]
|
|
|
|
<ul class="subtree">
|
2022-08-12 09:46:17 +03:00
|
|
|
[% FOREACH ref IN node.refs; INCLUDE renderNode node=ref isRoot=0; END %]
|
2013-02-14 15:53:34 +01:00
|
|
|
</ul>
|
|
|
|
[% END %]
|
2010-01-22 13:31:59 +00:00
|
|
|
[% END %]
|
|
|
|
</li>
|
|
|
|
[% END %]
|