import torrus 1.0.9
[freeside.git] / torrus / templates / expanded-dir.html
1 [% PROCESS 'html-incblocks.txt' %]
2 [% INCLUDE setdate %]
3 [% thepath=path(token) %]
4 [% INCLUDE htmlstart title=thepath printpath=1 %]
5
6 <H1>[% xmlnorm(nodeParam(token,'comment')) %]</H1>
7
8 [% INCLUDE variables %]
9
10 [% INCLUDE legend %]
11
12 <H2>Leaf nodes:</H2>
13 [%
14   FOREACH child = sortTokens(children(token));
15     IF isLeaf(child);
16       INCLUDE shortgraph
17         token=child
18         nodename=nodeName(child)
19         comment=nodeParam(child,'comment',1);
20     ELSIF isAlias(child);
21       atoken=isAlias(child);
22       IF isLeaf(atoken);
23         INCLUDE shortgraph
24           token=atoken
25           nodename=nodeName(atoken)
26           comment=path(atoken);
27       END;
28     END;
29   END;
30 %]
31
32 <DIV CLASS="BottomShortcuts">
33 [%
34   IF global.hwpredict;
35     IF variables.NOHW;
36       INCLUDE shortcut url=url(token, view, 'NOHW', '')
37                        text="Enable Holt-Winters"
38                        title="Switch Holt-Winters prediction boundaries";
39     ELSE;
40       INCLUDE shortcut url=url(token, view, 'NOHW', 1)
41                        text="Disable Holt-Winters"
42                        title="Switch Holt-Winters prediction boundaries";
43     END;
44   END
45 %]
46
47 [% INCLUDE shortcut url=url(token) text="Default view"
48                     title="Restore default subtree view" %]
49 </DIV>
50
51 [% INCLUDE bottomline %]
52 [% INCLUDE htmlend %]