diff options
Diffstat (limited to 'torrus/templates/default-rrd.html')
-rw-r--r-- | torrus/templates/default-rrd.html | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/torrus/templates/default-rrd.html b/torrus/templates/default-rrd.html index cfbdbce8d..496410a33 100644 --- a/torrus/templates/default-rrd.html +++ b/torrus/templates/default-rrd.html @@ -1,9 +1,15 @@ [% PROCESS 'html-incblocks.txt' %] [% INCLUDE setdate %] -[% INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1 %] - [% parentComment = nodeParam(parent(token),'comment') %] -[% IF parentComment %]<H1>Graphs for [% xmlnorm(parentComment) %]</H1>[% END %] +[% IF parentComment; + INCLUDE htmlstart title='Graphs for ' _ xmlnorm(parentComment); + ELSE; + INCLUDE htmlstart title='Graphs for ' _ path(token) printpath=1; + END; +%] + + + %]<H1>Graphs for [% xmlnorm(parentComment) %]</H1>[% END %] [% INCLUDE variables %] |