diff --git a/src/root/deps.tt b/src/root/deps.tt
index 08a160c1..241d2e11 100644
--- a/src/root/deps.tt
+++ b/src/root/deps.tt
@@ -2,27 +2,30 @@
[% PROCESS common.tt %]
[% USE HTML %]
-[% project = build.project %]
-[% jobset = build.jobset %]
-[% job = build.job %]
+[% project = build.project;
+ jobset = build.jobset;
+ job = build.job;
+ global.nodeId = 1 %]
[% BLOCK renderNode %]
[% IF done.${node.path} %]
- [% node.name %] (repeated)
+ [% node.name %]
[% ELSE %]
- [% done.${node.path} = 1 %]
+ [% 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 %]
- [% 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 %]
diff --git a/src/root/static/css/hydra.css b/src/root/static/css/hydra.css
index ea0e523d..8d1868c9 100644
--- a/src/root/static/css/hydra.css
+++ b/src/root/static/css/hydra.css
@@ -24,3 +24,8 @@ table.productList {
border-collapse: separate;
border-spacing: 0em 1em;
}
+
+span.dep-tree-line:target {
+ background-color: #f8f8e0;
+ font-style: italic;
+}