projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove out-of-date repeat author info
[freeside.git]
/
torrus
/
templates
/
default-rrd.html
diff --git
a/torrus/templates/default-rrd.html
b/torrus/templates/default-rrd.html
index
cfbdbce
..
e51c3c0
100644
(file)
--- a/
torrus/templates/default-rrd.html
+++ b/
torrus/templates/default-rrd.html
@@
-1,9
+1,12
@@
[% PROCESS 'html-incblocks.txt' %]
[% INCLUDE setdate %]
[% PROCESS 'html-incblocks.txt' %]
[% INCLUDE setdate %]
-[% INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1 %]
-
[% parentComment = nodeParam(parent(token),'comment') %]
[% parentComment = nodeParam(parent(token),'comment') %]
-[% IF parentComment %]<H1>Graphs for [% xmlnorm(parentComment) %]</H1>[% END %]
+[% IF parentComment;
+ INCLUDE htmlstart title='Graphs for ' _ xmlnorm(parentComment) printpath=1;
+ ELSE;
+ INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1;
+ END;
+%]
[% INCLUDE variables %]
[% INCLUDE variables %]