Don't generate clashing IDs

This commit is contained in:
Eelco Dolstra 2013-02-20 18:26:26 +01:00
parent d1e983dfc6
commit b5273eed7a
3 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
[% PROCESS deps.tt %]
[% global.nodeId = 10000 %]
<div class="dep-tree">
<ul class="tree">
[% INCLUDE renderNode node=buildTimeGraph %]

View file

@ -1,7 +1,5 @@
[% PROCESS common.tt %]
[% global.nodeId = 1 %]
[% BLOCK renderNode %]
<li>
[% IF done.${node.path} %]

View file

@ -1,5 +1,7 @@
[% PROCESS deps.tt %]
[% global.nodeId = 1 %]
<div class="dep-tree">
<ul class="tree">
[% FOREACH node IN runtimeGraph; INCLUDE renderNode; END %]